/freebsd/contrib/unbound/sldns/ |
H A D | wire2str.h | 128 size_t str_len); 150 size_t* str_len); 165 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop); 180 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop); 195 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop); 209 int sldns_wire2str_rr_comment_print(char** str, size_t* str_len, uint8_t* rr, 222 size_t* str_len); 240 size_t* str_len, uint16_t rrtype, uint8_t* pkt, size_t pktlen, 253 char** str, size_t* str_len); 274 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop); [all …]
|
H A D | wire2str.c | 335 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument 338 return sldns_wire2str_rdata_scan(&rdata, &rdata_len, &str, &str_len, in sldns_wire2str_rdata_buf() 1137 uint8_t i, str_len = *dp++; in sldns_wire2str_svcparam_alpn2str() local 1139 if (str_len > --data_len) in sldns_wire2str_svcparam_alpn2str() 1142 for (i = 0; i < str_len; i++) { in sldns_wire2str_svcparam_alpn2str() 1155 dp += str_len; in sldns_wire2str_svcparam_alpn2str() 1156 if ((data_len -= str_len)) in sldns_wire2str_svcparam_alpn2str() 2404 size_t* str_len, uint8_t* pkt, size_t pktlen) in sldns_wire2str_edns_scan() argument 2409 w += sldns_str_print(str, str_len, "; EDNS:"); in sldns_wire2str_edns_scan() 2414 data, data_len, str, str_len); in sldns_wire2str_edns_scan() [all …]
|
/freebsd/lib/libc/rpc/ |
H A D | svc_auth_unix.c | 66 size_t str_len, gid_len; in _svcauth_unix() local 81 str_len = (size_t)IXDR_GET_U_INT32(buf); in _svcauth_unix() 82 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix() 86 memmove(aup->aup_machname, buf, str_len); in _svcauth_unix() 87 aup->aup_machname[str_len] = 0; in _svcauth_unix() 88 str_len = RNDUP(str_len); in _svcauth_unix() 89 buf += str_len / sizeof (int32_t); in _svcauth_unix() 105 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 107 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
/freebsd/sys/rpc/ |
H A D | svc_auth_unix.c | 68 size_t str_len, gid_len; in _svcauth_unix() local 78 str_len = (size_t)IXDR_GET_UINT32(buf); in _svcauth_unix() 79 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix() 83 str_len = RNDUP(str_len); in _svcauth_unix() 84 buf += str_len / sizeof (int32_t); in _svcauth_unix() 107 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 109 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 261 size_t str_len) in wps_process_manufacturer() argument 268 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer() 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 306 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Number", str, str_len); in wps_process_model_number() 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 [all …]
|
/freebsd/sys/cam/ |
H A D | cam.c | 205 cam_strmatch(const uint8_t *str, const uint8_t *pattern, int str_len) in cam_strmatch() argument 208 while (*pattern != '\0' && str_len > 0) { in cam_strmatch() 214 if (cam_strmatch(str, pattern, str_len) == 0) in cam_strmatch() 217 str_len--; in cam_strmatch() 218 } while (str_len > 0); in cam_strmatch() 227 str_len--; in cam_strmatch() 253 str_len--; in cam_strmatch() 259 str_len--; in cam_strmatch() 273 while (str_len > 0 && *str == ' ') { in cam_strmatch() 275 str_len--; in cam_strmatch() [all …]
|
H A D | cam.h | 392 int cam_strmatch(const uint8_t *str, const uint8_t *pattern, int str_len); 396 char * cam_error_string(union ccb *ccb, char *str, int str_len, 405 int str_len, cam_error_string_flags flags,
|
/freebsd/contrib/bmake/ |
H A D | str.c | 123 size_t str_len; in Substring_Words() local 137 str_len = strlen(str); in Substring_Words() 138 words_buf = bmake_malloc(str_len + 1); in Substring_Words() 140 words_cap = str_len / 5 > 50 ? str_len / 5 : 50; in Substring_Words()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | dump_fts.c | 228 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/crypto/heimdal/appl/login/ |
H A D | login_access.c | 232 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/crypto/heimdal/appl/rsh/ |
H A D | login_access.c | 232 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/contrib/libucl/src/ |
H A D | ucl_parser.c | 1676 ssize_t str_len; in ucl_parse_value() local 1709 str_len = chunk->pos - c - 2; in ucl_parse_value() 1711 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, in ucl_parse_value() 1713 &obj->value.sv, str_len, need_unescape, false, in ucl_parse_value() 1718 obj->len = str_len; in ucl_parse_value() 1735 str_len = chunk->pos - c - 2; in ucl_parse_value() 1739 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, in ucl_parse_value() 1741 &obj->value.sv, str_len, need_unescape, false, in ucl_parse_value() 1746 obj->len = str_len; in ucl_parse_value() 1822 if ((str_len = ucl_parse_multiline_string (parser, chunk, c, in ucl_parse_value() [all …]
|
/freebsd/lib/libpam/modules/pam_login_access/ |
H A D | login_access.c | 248 int str_len; in from_match() local 264 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match() 265 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_scsi_all.c | 152 int str_len) in ctl_scsi_sense_string() argument 156 sbuf_new(&sb, str, str_len, 0); in ctl_scsi_sense_string()
|
H A D | ctl_util.h | 108 char *ctl_io_string(union ctl_io *io, char *str, int str_len); 111 int str_len);
|
H A D | ctl_scsi_all.h | 49 int str_len);
|
/freebsd/crypto/heimdal/lib/kafs/ |
H A D | afssys.c | 140 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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_printf.cpp | 342 uptr str_len = internal_strlen(str); in Append() local 343 buffer_.resize(prev_len + str_len + 1); in Append() 344 internal_memcpy(buffer_.data() + prev_len, str, str_len + 1); in Append()
|
/freebsd/crypto/openssl/apps/ |
H A D | enc.c | 440 size_t str_len = strlen(str); in enc_main() local 500 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main() 513 (unsigned char *)str, str_len, in enc_main() 526 OPENSSL_cleanse(str, str_len); in enc_main()
|
/freebsd/tools/build/cross-build/include/linux/ |
H A D | string.h | 55 char *strnstr(const char *str, const char *find, size_t str_len);
|
/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/ |
H A D | ocsd_c_api_types.h | 95 … void (* FnDefLoggerPrintStrCB)(const void *p_context, const char *psz_msg_str, const int str_len);
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | strtab.h | 42 size_t str_len; /* length in bytes of this string */ member
|
H A D | strtab.c | 184 hp->str_len = len; in strtab_insert() 244 for (len = hp->str_len; len != 0; len -= n) { in strtab_print()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_strtab.h | 42 size_t str_len; /* length in bytes of this string */ member
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | StringList.cpp | 49 void StringList::AppendString(const char *str, size_t str_len) { in AppendString() argument 51 m_strings.push_back(std::string(str, str_len)); in AppendString()
|