Home
last modified time | relevance | path

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

12

/NextBSD/contrib/unbound/sldns/
HDwire2str.h124 size_t str_len);
146 size_t* str_len);
160 size_t* str_len, uint8_t* pkt, size_t pktlen);
174 size_t* str_len, uint8_t* pkt, size_t pktlen);
188 size_t* str_len, uint8_t* pkt, size_t pktlen);
202 int sldns_wire2str_rr_comment_print(char** str, size_t* str_len, uint8_t* rr,
215 size_t* str_len);
232 size_t* str_len, uint16_t rrtype, uint8_t* pkt, size_t pktlen);
244 char** str, size_t* str_len);
258 size_t* str_len, uint8_t* pkt, size_t pktlen);
[all …]
HDwire2str.c233 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument
236 return sldns_wire2str_rdata_scan(&rdata, &rdata_len, &str, &str_len, in sldns_wire2str_rdata_buf()
1912 size_t* str_len, uint8_t* pkt, size_t pktlen) in sldns_wire2str_edns_scan() argument
1917 w += sldns_str_print(str, str_len, "; EDNS:"); in sldns_wire2str_edns_scan()
1922 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
1925 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
1933 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
1943 w += sldns_str_print(str, str_len, " version: %u;", in sldns_wire2str_edns_scan()
1945 w += sldns_str_print(str, str_len, " flags:"); in sldns_wire2str_edns_scan()
1947 w += sldns_str_print(str, str_len, " do"); in sldns_wire2str_edns_scan()
[all …]
/NextBSD/lib/libc/rpc/
HDsvc_auth_unix.c71 size_t str_len, gid_len; in _svcauth_unix() local
86 str_len = (size_t)IXDR_GET_U_INT32(buf); in _svcauth_unix()
87 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
91 memmove(aup->aup_machname, buf, str_len); in _svcauth_unix()
92 aup->aup_machname[str_len] = 0; in _svcauth_unix()
93 str_len = RNDUP(str_len); in _svcauth_unix()
94 buf += str_len / sizeof (int32_t); in _svcauth_unix()
110 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
112 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
/NextBSD/sys/rpc/
HDsvc_auth_unix.c72 size_t str_len, gid_len; in _svcauth_unix() local
82 str_len = (size_t)IXDR_GET_UINT32(buf); in _svcauth_unix()
83 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
87 str_len = RNDUP(str_len); in _svcauth_unix()
88 buf += str_len / sizeof (int32_t); in _svcauth_unix()
111 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
113 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
/NextBSD/contrib/wpa/src/wps/
HDwps_dev_attr.c246 size_t str_len) in wps_process_manufacturer() argument
253 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer()
256 dev->manufacturer = dup_binstr(str, str_len); in wps_process_manufacturer()
265 size_t str_len) in wps_process_model_name() argument
272 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name()
275 dev->model_name = dup_binstr(str, str_len); in wps_process_model_name()
284 size_t str_len) in wps_process_model_number() argument
291 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Number", str, str_len); in wps_process_model_number()
294 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number()
303 const u8 *str, size_t str_len) in wps_process_serial_number() argument
[all …]
/NextBSD/sys/cam/
HDcam.c217 cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len) in cam_strmatch() argument
220 while (*pattern != '\0'&& str_len > 0) { in cam_strmatch()
231 str_len--; in cam_strmatch()
233 while (str_len > 0 && *str == ' ') { in cam_strmatch()
235 str_len--; in cam_strmatch()
237 if (str_len > 0 && *str == 0) in cam_strmatch()
238 str_len = 0; in cam_strmatch()
240 return (str_len); in cam_strmatch()
279 cam_error_string(union ccb *ccb, char *str, int str_len, in cam_error_string() argument
285 int str_len, cam_error_string_flags flags, in cam_error_string()
[all …]
HDcam.h382 int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len);
386 char * cam_error_string(union ccb *ccb, char *str, int str_len,
395 int str_len, cam_error_string_flags flags,
HDcam_xpt.h104 size_t str_len);
/NextBSD/lib/libpam/modules/pam_login_access/
HDlogin_access.c203 int str_len; in from_match() local
219 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
220 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/NextBSD/crypto/heimdal/appl/rsh/
HDlogin_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()
/NextBSD/crypto/heimdal/appl/login/
HDlogin_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()
/NextBSD/contrib/apr-util/buckets/
HDapr_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()
/NextBSD/contrib/libucl/src/
HDucl_parser.c1485 int str_len; in ucl_parse_value() local
1514 str_len = chunk->pos - c - 2; in ucl_parse_value()
1516 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, in ucl_parse_value()
1518 &obj->value.sv, str_len, need_unescape, false, in ucl_parse_value()
1522 obj->len = str_len; in ucl_parse_value()
1580 if ((str_len = ucl_parse_multiline_string (parser, chunk, c, in ucl_parse_value()
1589 if ((str_len = ucl_copy_or_store_ptr (parser, c, in ucl_parse_value()
1591 &obj->value.sv, str_len - 1, false, in ucl_parse_value()
1595 obj->len = str_len; in ucl_parse_value()
1634 str_len = chunk->pos - c - stripped_spaces; in ucl_parse_value()
[all …]
/NextBSD/sys/cam/ctl/
HDctl_scsi_all.c154 int str_len) in ctl_scsi_sense_string() argument
158 sbuf_new(&sb, str, str_len, 0); in ctl_scsi_sense_string()
HDctl_util.h105 char *ctl_io_string(union ctl_io *io, char *str, int str_len);
108 int str_len);
HDctl_scsi_all.h50 int str_len);
HDctl_util.c811 ctl_io_string(union ctl_io *io, char *str, int str_len) in ctl_io_string() argument
815 sbuf_new(&sb, str, str_len, SBUF_FIXEDLEN); in ctl_io_string()
823 char *str, int str_len) in ctl_io_error_string() argument
827 sbuf_new(&sb, str, str_len, SBUF_FIXEDLEN); in ctl_io_error_string()
/NextBSD/usr.bin/systat/
HDifstat.c355 int str_len = 0, pad_len = 0; in right_align_string() local
362 str_len = strlen(ifp->if_mib.ifmd_name)+1; in right_align_string()
363 pad_len = IF_NAMESIZE-(str_len); in right_align_string()
369 str_len); in right_align_string()
/NextBSD/crypto/heimdal/lib/kafs/
HDafssys.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()
/NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/
HDstrtab.h42 size_t str_len; /* length in bytes of this string */ member
HDstrtab.c184 hp->str_len = len; in strtab_insert()
244 for (len = hp->str_len; len != 0; len -= n) { in strtab_print()
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_strtab.h42 size_t str_len; /* length in bytes of this string */ member
HDdt_strtab.c249 hp->str_len = len; in dt_strtab_insert()
/NextBSD/contrib/llvm/tools/lldb/source/Core/
HDStringList.cpp65 StringList::AppendString (const char *str, size_t str_len) in AppendString() argument
68 m_strings.push_back (std::string (str, str_len)); in AppendString()
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/
HDStringList.h44 AppendString (const char *str, size_t str_len);

12