Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 3760) sorted by relevance

12345678910>>...151

/titanic_50/usr/src/common/crypto/ecc/
H A Decl_curve.c71 ret->text = kmem_alloc(strlen(params->text) + 1, kmflag); in ECCurveParams_dup()
72 bcopy(params->text, ret->text, strlen(params->text) + 1); in ECCurveParams_dup()
81 ret->irr = kmem_alloc(strlen(params->irr) + 1, kmflag); in ECCurveParams_dup()
82 bcopy(params->irr, ret->irr, strlen(params->irr) + 1); in ECCurveParams_dup()
89 ret->curvea = kmem_alloc(strlen(params->curvea) + 1, kmflag); in ECCurveParams_dup()
90 bcopy(params->curvea, ret->curvea, strlen(params->curvea) + 1); in ECCurveParams_dup()
97 ret->curveb = kmem_alloc(strlen(params->curveb) + 1, kmflag); in ECCurveParams_dup()
98 bcopy(params->curveb, ret->curveb, strlen(params->curveb) + 1); in ECCurveParams_dup()
105 ret->genx = kmem_alloc(strlen(params->genx) + 1, kmflag); in ECCurveParams_dup()
106 bcopy(params->genx, ret->genx, strlen(params->genx) + 1); in ECCurveParams_dup()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_rights.c351 seccontacls[0] = (char *)malloc(strlen(security_container[i][0]) +
352 strlen(serviceobjdn) +
353 strlen(security_container[i][1]) + 1);
384 krbcontacls[0] = (char *)malloc(strlen(kerberos_container[i][0]) + strlen(serviceobjdn)
385 + strlen(kerberos_container[i][1]) + 1);
413 realmdn = (char *)malloc(strlen("cn=") + strlen(realmname) +
414 strlen(ldap_context->krbcontainer->DN) + 2);
426 realmacls[0] = (char *)malloc(strlen(kdcrights_realmcontainer[i][0])
427 + strlen(serviceobjdn) +
428 strlen(kdcrights_realmcontainer[i][1]) + 1);
[all …]
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dauth-options.c80 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
83 opts += strlen(cp); in auth_parse_options()
87 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
90 opts += strlen(cp); in auth_parse_options()
94 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
97 opts += strlen(cp); in auth_parse_options()
101 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
104 opts += strlen(cp); in auth_parse_options()
108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
109 opts += strlen(cp); in auth_parse_options()
[all …]
/titanic_50/usr/src/lib/libc/port/threads/
H A Dassfail.c111 len1 = strlen(msg); in common_panic()
112 len2 = strlen(why); in common_panic()
116 len1 = strlen(msg); in common_panic()
211 ultos((uint64_t)(uintptr_t)cv, 16, buf + strlen(buf)); in lock_error()
214 ultos((uint64_t)(uintptr_t)mp, 16, buf + strlen(buf)); in lock_error()
223 ultos((uint64_t)mcopy.mutex_rcount, 10, buf + strlen(buf)); in lock_error()
228 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf)); in lock_error()
230 ultos((uint64_t)lwpid, 10, buf + strlen(buf)); in lock_error()
237 ultos((uint64_t)mcopy.mutex_owner, 16, buf + strlen(buf)); in lock_error()
240 ultos((uint64_t)pid, 10, buf + strlen(buf)); in lock_error()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_solarnet.c105 line += strlen(line); in interpret_solarnet_fw()
111 line += strlen(line); in interpret_solarnet_fw()
114 line += strlen(line); in interpret_solarnet_fw()
116 if (strlen(buff) != 0) { in interpret_solarnet_fw()
118 line += strlen(line); in interpret_solarnet_fw()
126 line += strlen(line); in interpret_solarnet_fw()
132 op[strlen(op)-1] = '\0'; in interpret_solarnet_fw()
134 line += strlen(line); in interpret_solarnet_fw()
140 line += strlen(line); in interpret_solarnet_fw()
145 op[strlen(op)-1] = '\0'; in interpret_solarnet_fw()
[all …]
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c175 totlen += strlen(k) + 2; in set_keys()
178 totlen += strlen(attrtype) + strlen(k) + 3; in set_keys()
181 len = keyfilter ? strlen(keyfilter) : 0; in set_keys()
238 totlen += strlen(k) + 2; in set_keys_publickey()
245 totlen += strlen(k) + strlen(attrtype) + 3; in set_keys_publickey()
252 len = pre_filter ? strlen(pre_filter) : 0; in set_keys_publickey()
273 len = strlen(pre_filter) + 4; in set_keys_publickey()
311 filterlen = strlen(maplist[PUBLICKEY].objectclass) + 13; in set_filter_publickey()
325 filterlen = strlen(maplist[PUBLICKEY].objectclass) + in set_filter_publickey()
326 strlen(keyfilter) + 18; in set_filter_publickey()
[all …]
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_hw.c218 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
229 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
240 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
251 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
262 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
273 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
284 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
296 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
309 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
313 snprintf(buf + strlen(buf), (sizeof(buf) - strlen(buf)), in BnxeHwReqPhyMediumSettings()
[all …]
/titanic_50/usr/src/cmd/sendmail/libsm/
H A Dstrl.c68 return strlen(src);
75 return i + strlen(src + i);
113 o = strlen(dst);
115 return o + strlen(src);
123 return j + strlen(src + i);
159 o = strlen(dst);
163 return o + strlen(src1) + strlen(src2);
176 return j + strlen(src1 + i) + strlen(src2);
188 return j + strlen(src2 + i);
233 i += strlen(SM_VA_ARG(ap, char *));
[all …]
/titanic_50/usr/src/cmd/listen/
H A Dlsdbf.c239 i = strlen(svc_code_p);
258 if (!NLPS_proc && (strlen(private_p) == 0) && !(sflags & DFLAG))
266 i = strlen(private_p);
284 cmd_p += strlen(svc_code_p) + 1; /* +1 for null */
287 cmd_p += strlen(cmd_line_p) + 1;
290 cmd_p += strlen(id_p) + 1;
293 cmd_p += strlen(res1_p) + 1;
296 cmd_p += strlen(res2_p) + 1;
299 cmd_p += strlen(res3_p) + 1;
300 if (strlen(private_p) != 0) {
[all …]
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c106 size = strlen(str) + 2 * sizeof (char); in sip_add_aquot_to_str()
112 (void) strncat(new_str, str, strlen(str)); in sip_add_aquot_to_str()
142 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize; in sip_add_empty_hdr()
186 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_2strs_to_msg()
187 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg()
188 strlen(SIP_CRLF); in sip_add_2strs_to_msg()
190 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_2strs_to_msg()
191 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg()
192 csize + strlen(plist) + strlen(SIP_CRLF); in sip_add_2strs_to_msg()
256 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_str_to_msg()
[all …]
H A Dsip_uri_ui.c432 strlen("Error : No URI")); in sip_uri_errflags_to_str()
433 err_info[strlen("Error : No URI")] = '\0'; in sip_uri_errflags_to_str()
437 (void) strncpy(err_info, "Error(s) in", strlen("Error(s) in")); in sip_uri_errflags_to_str()
438 err_info[strlen("Error(s) in")] = '\0'; in sip_uri_errflags_to_str()
440 (void) strncat(err_info, " SCHEME,", strlen(" SCHEME,")); in sip_uri_errflags_to_str()
442 (void) strncat(err_info, " USER,", strlen(" USER,")); in sip_uri_errflags_to_str()
444 (void) strncat(err_info, " PASSWORD,", strlen(" PASSWORD,")); in sip_uri_errflags_to_str()
446 (void) strncat(err_info, " HOST,", strlen(" HOST,")); in sip_uri_errflags_to_str()
448 (void) strncat(err_info, " PORT,", strlen(" PORT,")); in sip_uri_errflags_to_str()
451 strlen(" PARAMETERS,")); in sip_uri_errflags_to_str()
[all …]
/titanic_50/usr/src/lib/nsswitch/ldap/common/
H A Dgetauthattr.c84 (strlen(name[0]) < 1)) { in _nss_ldap_auth2str()
89 if (res1 == NULL || res1[0] == NULL || (strlen(res1[0]) < 1)) in _nss_ldap_auth2str()
95 if (res2 == NULL || res2[0] == NULL || (strlen(res2[0]) < 1)) in _nss_ldap_auth2str()
101 if (sdes == NULL || sdes[0] == NULL || (strlen(sdes[0]) < 1)) in _nss_ldap_auth2str()
107 if (ldes == NULL || ldes[0] == NULL || (strlen(ldes[0]) < 1)) in _nss_ldap_auth2str()
113 if (attr == NULL || attr[0] == NULL || (strlen(attr[0]) < 1)) in _nss_ldap_auth2str()
118 len = strlen(name[0]) + strlen(res1_str) + strlen(res2_str) + in _nss_ldap_auth2str()
119 strlen(sdes_str) + strlen(ldes_str) + strlen(attr_str) + 6; in _nss_ldap_auth2str()
138 be->buflen = strlen(be->buffer); in _nss_ldap_auth2str()
H A Dgetprofattr.c82 (strlen(name[0]) < 1)) { in _nss_ldap_prof2str()
87 if (res1 == NULL || res1[0] == NULL || (strlen(res1[0]) < 1)) in _nss_ldap_prof2str()
93 if (res2 == NULL || res2[0] == NULL || (strlen(res2[0]) < 1)) in _nss_ldap_prof2str()
99 if (des == NULL || des[0] == NULL || (strlen(des[0]) < 1)) in _nss_ldap_prof2str()
105 if (attr == NULL || attr[0] == NULL || (strlen(attr[0]) < 1)) in _nss_ldap_prof2str()
110 len = strlen(name[0]) + strlen(res1_str) + strlen(res2_str) + in _nss_ldap_prof2str()
111 strlen(des_str) + strlen(attr_str) + 6; in _nss_ldap_prof2str()
129 be->buflen = strlen(be->buffer); in _nss_ldap_prof2str()
H A Dgetuserattr.c82 (strlen(name[0]) < 1)) { in _nss_ldap_user2str()
88 if (qu == NULL || qu[0] == NULL || (strlen(qu[0]) < 1)) in _nss_ldap_user2str()
94 if (res1 == NULL || res1[0] == NULL || (strlen(res1[0]) < 1)) in _nss_ldap_user2str()
100 if (res2 == NULL || res2[0] == NULL || (strlen(res2[0]) < 1)) in _nss_ldap_user2str()
106 if (attr == NULL || attr[0] == NULL || (strlen(attr[0]) < 1)) in _nss_ldap_user2str()
111 len = strlen(name[0]) + strlen(res1_str) + strlen(res2_str) + in _nss_ldap_user2str()
112 strlen(qu_str) + strlen(attr_str) + 5; in _nss_ldap_user2str()
130 be->buflen = strlen(be->buffer); in _nss_ldap_user2str()
/titanic_50/usr/src/cmd/backup/restore/
H A Dinteractive.c101 if (strncmp(cmd, "add", strlen(cmd)) != 0) in runcmdshell()
116 if (strncmp(cmd, "cd", strlen(cmd)) != 0) in runcmdshell()
137 if (strncmp(cmd, "delete", strlen(cmd)) != 0) in runcmdshell()
153 if (strncmp(cmd, "extract", strlen(cmd)) != 0) in runcmdshell()
167 if (strncmp(cmd, "help", strlen(cmd)) != 0) in runcmdshell()
195 if ((strncmp(cmd, "ls", strlen(cmd)) != 0) && in runcmdshell()
196 (strncmp(cmd, "marked", strlen(cmd)) != 0)) in runcmdshell()
209 if (strlen(cmd) < 2) in runcmdshell()
211 if (strncmp(cmd, "pwd", strlen(cmd)) == 0) { in runcmdshell()
217 } else if (strncmp(cmd, "paginate", strlen(cmd)) == 0) { in runcmdshell()
[all …]
/titanic_50/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_msg.c222 len = strlen(fmt); in ap_err()
238 len += strlen(cmd) + strlen(target); in ap_err()
247 len += strlen(cmd) + strlen(target); in ap_err()
252 len += strlen(target); in ap_err()
262 len += strlen(option); in ap_err()
267 len += strlen(value); in ap_err()
275 len += strlen(cmd) + strlen(target); in ap_err()
279 len += strlen(rstate) + strlen(ostate); in ap_err()
287 len += strlen(cmd) + strlen(target); in ap_err()
291 len += strlen(rinfostr); in ap_err()
[all …]
/titanic_50/usr/src/lib/libtnfprobe/
H A Dtrace_funcs.c128 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
143 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
150 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
152 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
161 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
186 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
193 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
203 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
239 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
296 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
[all …]
/titanic_50/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c81 const int crypt_alg_magic_len = strlen(crypt_alg_magic); in crypt_genhash_impl()
100 MD5Update(&ctx, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl()
103 MD5Update(&ctx, (uchar_t *)crypt_alg_magic, strlen(crypt_alg_magic)); in crypt_genhash_impl()
110 MD5Update(&ctx1, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl()
112 MD5Update(&ctx1, (uchar_t *)plaintext, strlen(plaintext)); in crypt_genhash_impl()
114 for (pl = strlen(plaintext); pl > 0; pl -= 16) in crypt_genhash_impl()
121 for (i = strlen(plaintext); i; i >>= 1) { in crypt_genhash_impl()
145 strlen(plaintext)); in crypt_genhash_impl()
154 strlen(plaintext)); in crypt_genhash_impl()
160 strlen(plaintext)); in crypt_genhash_impl()
[all …]
/titanic_50/usr/src/lib/krb5/ss/
H A Dutils.c66 size += strlen(var_name)+8; /* "quux, " */
67 size += strlen(func_name)+8; /* "foo, " */
68 size += strlen(info_string)+8; /* "\"Info!\", " */
70 size += strlen(numbuf)+5; /* " }," + NL + NUL */
90 symbol = malloc((strlen(name)+6) * sizeof(char));
101 int size_a = strlen(a);
102 int size_b = strlen(b);
103 int size_c = strlen(c);
118 len = strlen(string)+1;
132 register int len = strlen(s) + 1;
/titanic_50/usr/src/cmd/allocate/
H A Dadd_allocatable.c191 if (strlen(devinfo->devexec) == 0) { in process_args()
206 if (strlen(devinfo->devlist) == 0) { in process_args()
221 if (strlen(devinfo->devname) == 0) { in process_args()
256 if (strlen(devinfo->devtype) == 0) { in process_args()
440 nlen = strlen(DAOPT_MINLABEL) + strlen(KV_ASSIGN) + in check_args()
441 strlen(defmin) + strlen(KV_TOKEN_DELIMIT) + in check_args()
442 strlen(DAOPT_MAXLABEL) + strlen(KV_ASSIGN) + in check_args()
443 strlen(defmax) + 1; /* +1 for terminator */ in check_args()
456 nlen = strlen(devinfo->devopts) + in check_args()
457 strlen(KV_TOKEN_DELIMIT) + in check_args()
[all …]
/titanic_50/usr/src/cmd/svc/startd/
H A Denv.c70 glob_envp[0] = startd_alloc((unsigned)(strlen(DEF_PATH)+2)); in init_env()
87 length = strlen(line); in init_env()
95 (wslength = strspn(line, " \t\n")) == strlen(line) || in init_env()
130 length = strlen(tokp); in init_env()
221 strncmp(*p, DEF_PATH, strlen(DEF_PATH)) != 0) { in find_dup()
276 sz = strlen(path) + 1; in set_smf_env()
283 sz = sizeof ("SMF_FMRI=") + strlen(inst->ri_i.i_fmri); in set_smf_env()
291 sz = sizeof ("SMF_METHOD=") + strlen(method); in set_smf_env()
298 sz = sizeof ("SMF_RESTARTER=") + strlen(SCF_SERVICE_STARTD); in set_smf_env()
304 sz = sizeof ("SMF_ZONENAME=") + strlen(zonename); in set_smf_env()
[all …]
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dclnt_perror.c155 str += strlen(str); in clnt_sperror()
160 str += strlen(str); in clnt_sperror()
164 str += strlen(str); in clnt_sperror()
174 str += strlen(str); in clnt_sperror()
179 str += strlen(str); in clnt_sperror()
187 str += strlen(str); in clnt_sperror()
193 str += strlen(str); in clnt_sperror()
201 str += strlen(str); in clnt_sperror()
208 str += strlen(str); in clnt_sperror()
214 str += strlen(str); in clnt_sperror()
[all …]
/titanic_50/usr/src/lib/krb5/kadm5/
H A Dchpass_util.c224 strncat(msg_ret, " ", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
225 strncat(msg_ret, string_text(CHPASS_UTIL_GET_PRINC_INFO), msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
226 strncat(msg_ret, "\n", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
227 strncat(msg_ret, error_message(code), msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
228 strncat(msg_ret, " ", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
230 msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
231 strncat(msg_ret, "\n\n", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
233 msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
234 strncat(msg_ret, "\n", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
240 strncpy(msg_ret, error_message(code), msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.substr.d68 command[i].index = strlen(str) - 1;
72 command[i].index = strlen(str);
76 command[i].index = strlen(str) + 1;
89 command[i].length = strlen(str) - command[i].index + 1;
93 command[i].length = strlen(str) - command[i].index + 2;
144 command[i].index = -2 * strlen(str);
145 command[i].length = 2 * strlen(str);
148 command[i].index = -2 * strlen(str);
149 command[i].length = strlen(str);
152 command[i].index = -2 * strlen(str);
[all …]
/titanic_50/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c68 len = strlen(str); in read_id()
136 if (strncmp(str, PK11_URI_PREFIX, strlen(PK11_URI_PREFIX)) != 0) in pkcs11_parse_uri()
139 if ((str2 = strdup(str + strlen(PK11_URI_PREFIX))) == NULL) in pkcs11_parse_uri()
148 (strlen(str2) > 0 && str2[strlen(str2) - 1] == ';')) in pkcs11_parse_uri()
168 if (strlen(l2) > 32) in pkcs11_parse_uri()
176 if (strlen(l2) > 32) in pkcs11_parse_uri()
184 if (strlen(l2) > 16) in pkcs11_parse_uri()
192 if (strlen(l2) > 16) in pkcs11_parse_uri()
205 if (strlen(l2) > PK11_MAX_ID_LEN * 2 + in pkcs11_parse_uri()
219 if (strlen(l2) > PK11_MAX_OBJECT_LEN) in pkcs11_parse_uri()
[all …]

12345678910>>...151