Home
last modified time | relevance | path

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

12345678910>>...137

/illumos-gate/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()
159 kmem_free(params->text, strlen(params->text) + 1); in EC_FreeCurveParams()
165 kmem_free(params->irr, strlen(params->irr) + 1); in EC_FreeCurveParams()
171 kmem_free(params->curvea, strlen(params->curvea) + 1); in EC_FreeCurveParams()
177 kmem_free(params->curveb, strlen(params->curveb) + 1); in EC_FreeCurveParams()
183 kmem_free(params->genx, strlen(params->genx) + 1); in EC_FreeCurveParams()
189 kmem_free(params->geny, strlen(params->geny) + 1); in EC_FreeCurveParams()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_rights.c352 strlen(serviceobjdn) +
384 krbcontacls[0] = (char *)malloc(strlen(kerberos_container[i][0]) + strlen(serviceobjdn)
413 realmdn = (char *)malloc(strlen("cn=") + strlen(realmname) +
519 strlen(serviceobjdn) +
549 + strlen(serviceobjdn)
579 + strlen(serviceobjdn)
697 realmdn = (char *) malloc(strlen("cn=") + strlen(realmname) +
765 + strlen(serviceobjdn)
804 + strlen(serviceobjdn)
833 + strlen(serviceobjdn)
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dassfail.c97 len1 = strlen(msg); in common_panic()
98 len2 = strlen(why); in common_panic()
102 len1 = strlen(msg); in common_panic()
233 (void) __write(2, buf, strlen(buf)); in lock_error()
305 buf + strlen(buf)); in rwlock_error()
309 buf + strlen(buf)); in rwlock_error()
314 buf + strlen(buf)); in rwlock_error()
322 (void) __write(2, buf, strlen(buf)); in rwlock_error()
370 (void) __write(2, buf, strlen(buf)); in thread_error()
435 (void) __write(2, buf, strlen(buf)); in __assfail()
[all …]
/illumos-gate/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()
118 line += strlen(line); in interpret_solarnet_fw()
126 line += strlen(line); in interpret_solarnet_fw()
134 line += strlen(line); in interpret_solarnet_fw()
140 line += strlen(line); in interpret_solarnet_fw()
147 line += strlen(line); in interpret_solarnet_fw()
157 line += strlen(line); in interpret_solarnet_fw()
167 line += strlen(line); in interpret_solarnet_fw()
[all …]
/illumos-gate/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()
238 totlen += strlen(k) + 2; in set_keys_publickey()
245 totlen += strlen(k) + strlen(attrtype) + 3; in set_keys_publickey()
273 len = strlen(pre_filter) + 4; in set_keys_publickey()
326 strlen(keyfilter) + 18; in set_filter_publickey()
327 udatalen = strlen(keyfilter) + 8; in set_filter_publickey()
351 udatalen = strlen(keyfilter) + 8; in set_filter_publickey()
457 strlen(keyfilter); in set_filter()
618 filterlen = strlen(keyfilter) + 1; in set_filter()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/listen/
H A Dlsdbf.c237 i = strlen(svc_code_p);
264 i = strlen(private_p);
288 cmd_p += strlen(id_p) + 1;
291 cmd_p += strlen(res1_p) + 1;
294 cmd_p += strlen(res2_p) + 1;
297 cmd_p += strlen(res3_p) + 1;
298 if (strlen(private_p) != 0) {
455 if (!strlen(bp))
705 … *cmd_line_p, strlen(*svc_code_p)+strlen(*id_p)+strlen(*res1_p)+strlen(*res2_p)+strlen(*res3_p)+st…
710 …return(strlen(*svc_code_p)+strlen(*id_p)+strlen(*res1_p)+strlen(*res2_p)+strlen(*res3_p)+strlen(*p…
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c185 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg()
189 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg()
190 csize + strlen(plist) + strlen(SIP_CRLF); in sip_add_2strs_to_msg()
255 SIP_SPACE_LEN + + strlen(str) + strlen(SIP_CRLF); in sip_add_str_to_msg()
313 SIP_SPACE_LEN + strlen(digit_str) + strlen(SIP_CRLF); in sip_add_int_to_msg()
317 strlen(plist) + strlen(SIP_CRLF); in sip_add_int_to_msg()
381 csize + strlen(plist) + strlen(SIP_CRLF); in sip_add_intstr_to_msg()
436 plen = strlen(SIP_TAG) + strlen(tags) + 1; in sip_add_name_aspec()
1075 strlen(sip_methods[method].name) + strlen(SIP_CRLF); in sip_add_rack()
1337 strlen(sent_by_host) + strlen(SIP_CRLF); in sip_create_via_hdr()
[all …]
H A Dsip_uri_ui.c430 strlen("Error : No URI")); in sip_uri_errflags_to_str()
431 err_info[strlen("Error : No URI")] = '\0'; in sip_uri_errflags_to_str()
436 err_info[strlen("Error(s) in")] = '\0'; in sip_uri_errflags_to_str()
440 (void) strncat(err_info, " USER,", strlen(" USER,")); in sip_uri_errflags_to_str()
444 (void) strncat(err_info, " HOST,", strlen(" HOST,")); in sip_uri_errflags_to_str()
446 (void) strncat(err_info, " PORT,", strlen(" PORT,")); in sip_uri_errflags_to_str()
449 strlen(" PARAMETERS,")); in sip_uri_errflags_to_str()
456 (void) strncat(err_info, " QUERY,", strlen(" QUERY,")); in sip_uri_errflags_to_str()
458 (void) strncat(err_info, " PATH,", strlen(" PATH,")); in sip_uri_errflags_to_str()
461 if (strlen(err_info) == strlen("Error(s) in")) { in sip_uri_errflags_to_str()
[all …]
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dcvcompiler.c218 FinalLineToken[strlen(FinalLineToken)-1] = 0; in CvProcessComment()
271 UtLocalCacheCalloc (strlen (CommentString) + in CvProcessComment()
346 strlen (CommentString) + 3 + 1); in CvProcessCommentType2()
360 strlen (CommentString) + 3] = 0; in CvProcessCommentType2()
408 TotalCommentLength += strlen (Op->Asl.Filename) + 3; in CvCalculateCommentLengths()
422 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
435 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
445 CommentLength = strlen (Op->Asl.InlineComment)+3; in CvCalculateCommentLengths()
453 CommentLength = strlen(Op->Asl.EndNodeComment)+3; in CvCalculateCommentLengths()
945 Size = strlen (ToAdd); in CvAppendInlineComment()
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c191 if (strlen(cmd) < 2) in runcmdshell()
262 if (strlen(cmd) < 4) in runcmdshell()
343 name[strlen(name) + 1] = '\0'; in getcmd()
399 name[strlen(name) + 1] = '\0'; in getcmd()
435 name[strlen(name) + 1] = '\0'; in getcmd()
557 len = strlen(np); in canon()
571 len = strlen(np); in canon()
766 len = strlen(fmtentry(fp)); in formatf()
784 w = strlen(cp); in formatf()
837 dp = &fmtres[strlen(fmtres)]; in fmtentry()
[all …]
/illumos-gate/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()
/illumos-gate/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()
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()
342 len += strlen(syserr) + strlen(sysrsrc); in ap_err()
346 len += strlen(rsep); in ap_err()
[all …]
/illumos-gate/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()
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()
323 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_alloc()
340 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_end()
358 (void) write(2, tmp_buf, strlen(tmp_buf)); in tnf_trace_commit()
[all …]
/illumos-gate/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()
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()
164 p = ctbuffer + strlen(ctbuffer); in crypt_genhash_impl()
[all …]
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c440 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()
456 nlen = strlen(devinfo->devopts) + in check_args()
457 strlen(KV_TOKEN_DELIMIT) + in check_args()
458 strlen(ntok) + strlen(KV_ASSIGN) + in check_args()
459 strlen(nstr) + 1; in check_args()
472 nlen = strlen(devinfo->devopts) + in check_args()
473 strlen(KV_TOKEN_DELIMIT) + in check_args()
474 strlen(ntok) + strlen(KV_ASSIGN) + in check_args()
[all …]
/illumos-gate/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;
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c87 length = 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()
304 sz = sizeof ("SMF_ZONENAME=") + strlen(zonename); in set_smf_env()
312 sz = strlen(*p) + 1; in set_smf_env()
327 startd_free(*dup_pos, strlen(*dup_pos) + 1); in set_smf_env()
328 sz = strlen(*p) + 1; in set_smf_env()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dchpass_util.c224 strncat(msg_ret, " ", 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()
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()
241 strncat(msg_ret, " ", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
243 msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
244 strncat(msg_ret, "\n\n", msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util()
[all …]
/illumos-gate/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;
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);
153 command[i].length = strlen(str) + 1;
156 command[i].index = -1 * strlen(str);
[all …]
/illumos-gate/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>>...137