Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-13.1/contrib/unbound/sldns/
H A Dwire2str.h126 size_t str_len);
148 size_t* str_len);
220 size_t* str_len);
371 size_t str_len);
387 size_t str_len);
405 size_t str_len);
538 size_t* str_len);
551 size_t* str_len);
564 size_t* str_len);
577 size_t* str_len);
[all …]
H A Dwire2str.c296 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument
1098 uint8_t i, str_len = *dp++; in sldns_wire2str_svcparam_alpn2str() local
1100 if (str_len > --data_len) in sldns_wire2str_svcparam_alpn2str()
1103 for (i = 0; i < str_len; i++) { in sldns_wire2str_svcparam_alpn2str()
1116 dp += str_len; in sldns_wire2str_svcparam_alpn2str()
1117 if ((data_len -= str_len)) in sldns_wire2str_svcparam_alpn2str()
2322 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2325 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2333 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2360 w += sldns_str_print(str, str_len, in sldns_wire2str_edns_scan()
[all …]
/freebsd-13.1/lib/libc/rpc/
H A Dsvc_auth_unix.c73 size_t str_len, gid_len; in _svcauth_unix() local
88 str_len = (size_t)IXDR_GET_U_INT32(buf); in _svcauth_unix()
89 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
93 memmove(aup->aup_machname, buf, str_len); in _svcauth_unix()
94 aup->aup_machname[str_len] = 0; in _svcauth_unix()
95 str_len = RNDUP(str_len); in _svcauth_unix()
96 buf += str_len / sizeof (int32_t); in _svcauth_unix()
112 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
114 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
/freebsd-13.1/contrib/unbound/testcode/
H A Dreadzone.c64 size_t str_len = sizeof(str); in main() local
130 rr, rr_len, str, str_len); in main()
133 rr, rr_len, str, str_len); in main()
135 if (written > str_len) { in main()
136 while (written > str_len) in main()
137 str_len *= 2; in main()
139 if (!(str = malloc(str_len))) { in main()
147 rr, rr_len, str, str_len); in main()
150 rr, rr_len, str, str_len); in main()
/freebsd-13.1/sys/rpc/
H A Dsvc_auth_unix.c74 size_t str_len, gid_len; in _svcauth_unix() local
84 str_len = (size_t)IXDR_GET_UINT32(buf); in _svcauth_unix()
85 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
89 str_len = RNDUP(str_len); in _svcauth_unix()
90 buf += str_len / sizeof (int32_t); in _svcauth_unix()
113 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
115 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
/freebsd-13.1/contrib/wpa/src/wps/
H A Dwps_dev_attr.c261 size_t str_len) in wps_process_manufacturer() argument
271 dev->manufacturer = dup_binstr(str, str_len); in wps_process_manufacturer()
280 size_t str_len) in wps_process_model_name() argument
287 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name()
290 dev->model_name = dup_binstr(str, str_len); in wps_process_model_name()
299 size_t str_len) in wps_process_model_number() argument
309 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number()
318 const u8 *str, size_t str_len) in wps_process_serial_number() argument
328 dev->serial_number = dup_binstr(str, str_len); in wps_process_serial_number()
337 size_t str_len) in wps_process_dev_name() argument
[all …]
/freebsd-13.1/sys/cam/
H A Dcam.c207 while (*pattern != '\0' && str_len > 0) { in cam_strmatch()
216 str_len--; in cam_strmatch()
217 } while (str_len > 0); in cam_strmatch()
226 str_len--; in cam_strmatch()
252 str_len--; in cam_strmatch()
258 str_len--; in cam_strmatch()
272 while (str_len > 0 && *str == ' ') { in cam_strmatch()
274 str_len--; in cam_strmatch()
277 return (str_len); in cam_strmatch()
330 || (str_len <= 0)) in cam_error_string()
[all …]
H A Dcam.h385 int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len);
389 char * cam_error_string(union ccb *ccb, char *str, int str_len,
398 int str_len, cam_error_string_flags flags,
/freebsd-13.1/contrib/bmake/
H A Dstr.c119 size_t str_len; in Substring_Words() local
133 str_len = strlen(str); in Substring_Words()
134 words_buf = bmake_malloc(str_len + 1); in Substring_Words()
136 words_cap = str_len / 5 > 50 ? str_len / 5 : 50; in Substring_Words()
/freebsd-13.1/contrib/ofed/infiniband-diags/src/
H A Ddump_fts.c228 int dump_lid(char *str, int str_len, int lid, int valid, in dump_lid() argument
250 return snprintf(str, str_len, in dump_lid()
254 return snprintf(str, str_len, in dump_lid()
259 return snprintf(str, str_len, in dump_lid()
269 return snprintf(str, str_len, ": (illegal port)"); in dump_lid()
275 return snprintf(str, str_len, ": (node info not available fabric scan)"); in dump_lid()
294 rc = snprintf(str, str_len, ": (%s portguid %s: '%s')", in dump_lid()
/freebsd-13.1/crypto/heimdal/appl/login/
H A Dlogin_access.c232 int str_len; in from_match() local
248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/freebsd-13.1/crypto/heimdal/appl/rsh/
H A Dlogin_access.c232 int str_len; in from_match() local
248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/freebsd-13.1/contrib/apr-util/buckets/
H A Dapr_brigade.c234 apr_size_t str_len; in apr_brigade_flatten() local
237 status = apr_bucket_read(b, &str, &str_len, APR_BLOCK_READ); in apr_brigade_flatten()
243 if (str_len + actual > *len) { in apr_brigade_flatten()
244 str_len = *len - actual; in apr_brigade_flatten()
252 memcpy(c, str, str_len); in apr_brigade_flatten()
254 c += str_len; in apr_brigade_flatten()
255 actual += str_len; in apr_brigade_flatten()
/freebsd-13.1/contrib/libucl/src/
H A Ducl_parser.c1676 ssize_t str_len; in ucl_parse_value() local
1709 str_len = chunk->pos - c - 2; in ucl_parse_value()
1718 obj->len = str_len; in ucl_parse_value()
1735 str_len = chunk->pos - c - 2; in ucl_parse_value()
1746 obj->len = str_len; in ucl_parse_value()
1833 &obj->value.sv, str_len - 1, false, in ucl_parse_value()
1837 obj->len = str_len; in ucl_parse_value()
1877 str_len = chunk->pos - c - stripped_spaces; in ucl_parse_value()
1878 if (str_len <= 0) { in ucl_parse_value()
1901 &obj->value.sv, str_len, need_unescape, in ucl_parse_value()
[all …]
/freebsd-13.1/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c251 int str_len; in from_match() local
267 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
268 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/freebsd-13.1/sys/cam/ctl/
H A Dctl_scsi_all.c155 int str_len) in ctl_scsi_sense_string() argument
159 sbuf_new(&sb, str, str_len, 0); in ctl_scsi_sense_string()
H A Dctl_util.h109 char *ctl_io_string(union ctl_io *io, char *str, int str_len);
112 int str_len);
H A Dctl_scsi_all.h52 int str_len);
/freebsd-13.1/tools/build/cross-build/include/linux/
H A Dstring.h54 char *strnstr(const char *str, const char *find, size_t str_len);
/freebsd-13.1/crypto/heimdal/lib/kafs/
H A Dafssys.c140 size_t str_len = strlen (str); in map_syscall_name_to_number() local
149 if (strncmp (str, buf, str_len) == 0) { in map_syscall_name_to_number()
150 char *begptr = buf + str_len; in map_syscall_name_to_number()
/freebsd-13.1/contrib/opencsd/decoder/include/opencsd/c_api/
H A Docsd_c_api_types.h94 … void (* FnDefLoggerPrintStrCB)(const void *p_context, const char *psz_msg_str, const int str_len);
/freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.h42 size_t str_len; /* length in bytes of this string */ member
H A Dstrtab.c184 hp->str_len = len; in strtab_insert()
244 for (len = hp->str_len; len != 0; len -= n) { in strtab_print()
/freebsd-13.1/crypto/openssl/apps/
H A Denc.c424 size_t str_len = strlen(str); in enc_main() local
473 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main()
486 (unsigned char *)str, str_len, in enc_main()
499 OPENSSL_cleanse(str, str_len); in enc_main()
/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.h42 size_t str_len; /* length in bytes of this string */ member

123