| /freebsd-12.1/contrib/unbound/sldns/ |
| H A D | wire2str.h | 126 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); 526 size_t* str_len); 539 size_t* str_len); 552 size_t* str_len); 565 size_t* str_len); [all …]
|
| H A D | wire2str.c | 266 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument 2022 size_t* str_len, uint8_t* pkt, size_t pktlen) in sldns_wire2str_edns_scan() argument 2027 w += sldns_str_print(str, str_len, "; EDNS:"); in sldns_wire2str_edns_scan() 2032 data, data_len, str, str_len); in sldns_wire2str_edns_scan() 2035 data, data_len, str, str_len); in sldns_wire2str_edns_scan() 2043 data, data_len, str, str_len); in sldns_wire2str_edns_scan() 2053 w += sldns_str_print(str, str_len, " version: %u;", in sldns_wire2str_edns_scan() 2055 w += sldns_str_print(str, str_len, " flags:"); in sldns_wire2str_edns_scan() 2057 w += sldns_str_print(str, str_len, " do"); in sldns_wire2str_edns_scan() 2070 w += sldns_str_print(str, str_len, in sldns_wire2str_edns_scan() [all …]
|
| /freebsd-12.1/lib/libc/rpc/ |
| H A D | svc_auth_unix.c | 73 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-12.1/sys/rpc/ |
| H A D | svc_auth_unix.c | 74 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-12.1/contrib/wpa/src/wps/ |
| H A D | wps_dev_attr.c | 246 size_t str_len) in wps_process_manufacturer() argument 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 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 313 dev->serial_number = dup_binstr(str, str_len); in wps_process_serial_number() 322 size_t str_len) in wps_process_dev_name() argument [all …]
|
| /freebsd-12.1/sys/cam/ |
| H A D | cam.c | 226 while (*pattern != '\0' && str_len > 0) { in cam_strmatch() 235 str_len--; in cam_strmatch() 236 } while (str_len > 0); in cam_strmatch() 245 str_len--; in cam_strmatch() 271 str_len--; in cam_strmatch() 277 str_len--; in cam_strmatch() 291 while (str_len > 0 && *str == ' ') { in cam_strmatch() 293 str_len--; in cam_strmatch() 296 return (str_len); in cam_strmatch() 350 || (str_len <= 0)) in cam_error_string() [all …]
|
| H A D | cam.h | 384 int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len); 388 char * cam_error_string(union ccb *ccb, char *str, int str_len, 397 int str_len, cam_error_string_flags flags,
|
| /freebsd-12.1/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-12.1/lib/libpam/modules/pam_login_access/ |
| H A D | login_access.c | 203 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()
|
| /freebsd-12.1/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-12.1/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-12.1/contrib/apr-util/buckets/ |
| H A D | apr_brigade.c | 234 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-12.1/contrib/libucl/src/ |
| H A D | ucl_parser.c | 1569 int str_len; in ucl_parse_value() local 1602 str_len = chunk->pos - c - 2; in ucl_parse_value() 1606 &obj->value.sv, str_len, need_unescape, false, in ucl_parse_value() 1610 obj->len = str_len; in ucl_parse_value() 1679 &obj->value.sv, str_len - 1, false, in ucl_parse_value() 1683 obj->len = str_len; in ucl_parse_value() 1722 str_len = chunk->pos - c - stripped_spaces; in ucl_parse_value() 1723 if (str_len <= 0) { in ucl_parse_value() 1734 if ((str_len = ucl_copy_or_store_ptr (parser, c, in ucl_parse_value() 1736 &obj->value.sv, str_len, need_unescape, in ucl_parse_value() [all …]
|
| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_scsi_all.c | 156 int str_len) in ctl_scsi_sense_string() argument 160 sbuf_new(&sb, str, str_len, 0); in ctl_scsi_sense_string()
|
| H A D | ctl_util.h | 109 char *ctl_io_string(union ctl_io *io, char *str, int str_len); 112 int str_len);
|
| H A D | ctl_scsi_all.h | 52 int str_len);
|
| /freebsd-12.1/usr.bin/systat/ |
| H A D | ifstat.c | 358 int str_len = 0, pad_len = 0; in right_align_string() local 365 str_len = strlen(ifp->if_mib.ifmd_name)+1; in right_align_string() 366 pad_len = IF_NAMESIZE-(str_len); in right_align_string() 372 str_len); in right_align_string()
|
| /freebsd-12.1/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-12.1/crypto/openssl/apps/ |
| H A D | enc.c | 423 size_t str_len = strlen(str); in enc_main() local 472 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main() 485 (unsigned char *)str, str_len, in enc_main() 498 OPENSSL_cleanse(str, str_len); in enc_main()
|
| /freebsd-12.1/contrib/opencsd/decoder/include/opencsd/c_api/ |
| H A D | ocsd_c_api_types.h | 93 … void (* FnDefLoggerPrintStrCB)(const void *p_context, const char *psz_msg_str, const int str_len);
|
| /freebsd-12.1/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-12.1/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-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | StringList.cpp | 48 void StringList::AppendString(const char *str, size_t str_len) { in AppendString() argument 50 m_strings.push_back(std::string(str, str_len)); in AppendString()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | StringList.h | 44 void AppendString(const char *str, size_t str_len);
|