| /netbsd-src/external/bsd/unbound/dist/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 | 330 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument 333 return sldns_wire2str_rdata_scan(&rdata, &rdata_len, &str, &str_len, in sldns_wire2str_rdata_buf() 1132 uint8_t i, str_len = *dp++; in sldns_wire2str_svcparam_alpn2str() local 1134 if (str_len > --data_len) in sldns_wire2str_svcparam_alpn2str() 1137 for (i = 0; i < str_len; i++) { in sldns_wire2str_svcparam_alpn2str() 1150 dp += str_len; in sldns_wire2str_svcparam_alpn2str() 1151 if ((data_len -= str_len)) in sldns_wire2str_svcparam_alpn2str() 2398 size_t* str_len, uint8_t* pkt, size_t pktlen) in sldns_wire2str_edns_scan() argument 2403 w += sldns_str_print(str, str_len, "; EDNS:"); in sldns_wire2str_edns_scan() 2408 data, data_len, str, str_len); in sldns_wire2str_edns_scan() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/mpn/generic/ |
| H A D | set_str.c | 69 mpn_set_str (mp_ptr rp, const unsigned char *str, size_t str_len, int base) in mpn_set_str() argument 86 for (s = str + str_len - 1; s >= str; s--) in mpn_set_str() 105 if (BELOW_THRESHOLD (str_len, SET_STR_PRECOMPUTE_THRESHOLD)) in mpn_set_str() 106 return mpn_bc_set_str (rp, str, str_len, base); in mpn_set_str() 122 un = str_len / chars_per_limb + 1; /* FIXME: scalar integer division */ in mpn_set_str() 131 size = mpn_dc_set_str (rp, str, str_len, pt, tp); in mpn_set_str() 139 mpn_dc_set_str (mp_ptr rp, const unsigned char *str, size_t str_len, in mpn_dc_set_str() argument 148 if (str_len <= len_lo) in mpn_dc_set_str() 150 if (BELOW_THRESHOLD (str_len, SET_STR_DC_THRESHOLD)) in mpn_dc_set_str() 151 return mpn_bc_set_str (rp, str, str_len, powtab->base); in mpn_dc_set_str() [all …]
|
| /netbsd-src/lib/libc/rpc/ |
| H A D | svc_auth_unix.c | 79 size_t str_len, gid_len, i; in _svcauth_unix() local 93 str_len = (size_t)IXDR_GET_U_INT32(buf); in _svcauth_unix() 94 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix() 98 memmove(aup->aup_machname, buf, str_len); in _svcauth_unix() 99 aup->aup_machname[str_len] = 0; in _svcauth_unix() 100 str_len = RNDUP(str_len); in _svcauth_unix() 101 buf += str_len / sizeof (int32_t); in _svcauth_unix() 118 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 120 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
| /netbsd-src/external/bsd/unbound/dist/testcode/ |
| H A D | readzone.c | 64 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()
|
| /netbsd-src/external/lgpl3/gmp/dist/tune/ |
| H A D | set_strp.c | 36 mpn_pre_set_str (mp_ptr wp, unsigned char *str, size_t str_len, powers_t *powtab, mp_ptr tp) in mpn_pre_set_str() argument 38 if (BELOW_THRESHOLD (str_len, set_str_dc_threshold)) in mpn_pre_set_str() 39 mpn_bc_set_str (wp, str, str_len, powtab->base); in mpn_pre_set_str() 41 mpn_dc_set_str (wp, str, str_len, powtab, tp); in mpn_pre_set_str()
|
| /netbsd-src/external/lgpl3/mpfr/dist/src/ |
| H A D | vasprintf.c | 1204 size_t str_len; in regular_ab() local 1208 str_len = strlen (str); in regular_ab() 1209 ptr = str + str_len - 1; /* points to the end of str */ in regular_ab() 1214 while (*ptr == '0' && str_len != 0) in regular_ab() 1217 --str_len; in regular_ab() 1221 if (str_len != 0) in regular_ab() 1225 np->fp_size = str_len; in regular_ab() 1227 if (spec.prec > 0 && str_len < spec.prec) in regular_ab() 1229 np->fp_trailing_zeros = spec.prec - str_len; in regular_ab() 1322 size_t str_len; in regular_eg() local [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/global/ |
| H A D | is_header.c | 48 ssize_t is_header_buf(const char *str, ssize_t str_len) in is_header_buf() argument 68 if (str_len != IS_HEADER_NULL_TERMINATED && str_len-- <= 0) in is_header_buf()
|
| H A D | haproxy_srvr.c | 331 static const char *haproxy_srvr_parse_v2_hdr(const char *str, ssize_t *str_len, in haproxy_srvr_parse_v2_hdr() argument 341 if (*str_len < PP2_HEADER_LEN) in haproxy_srvr_parse_v2_hdr() 348 if (*str_len < PP2_HEADER_LEN + ntohs(hdr_v2->len)) in haproxy_srvr_parse_v2_hdr() 410 *str_len = PP2_HEADER_LEN + ntohs(hdr_v2->len); in haproxy_srvr_parse_v2_hdr() 419 *str_len = PP2_HEADER_LEN + ntohs(hdr_v2->len); in haproxy_srvr_parse_v2_hdr() 428 const char *haproxy_srvr_parse(const char *str, ssize_t *str_len, in haproxy_srvr_parse() argument 451 char *saved_str = mystrndup(str, *str_len); in haproxy_srvr_parse() 475 *str_len = beyond_header - saved_str; in haproxy_srvr_parse() 486 return (haproxy_srvr_parse_v2_hdr(str, str_len, non_proxy, in haproxy_srvr_parse()
|
| /netbsd-src/external/lgpl3/mpc/dist/tests/ |
| H A D | tstrtoc.c | 39 size_t str_len = 255; in check_file() local 57 str = (char *) malloc (str_len); in check_file() 89 str_len = read_string (fp, &str, str_len, "number string"); in check_file()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/ |
| H A D | bi.c | 64 int str_len = strlen( strings); in retrieve_byte_array() local 70 *len = ( str_len >> 1); in retrieve_byte_array() 73 printf("[retrieve_byte_array] strlen=%d len=%d\n", str_len, *len); in retrieve_byte_array() 80 if( (str_len & 1) ==1) { in retrieve_byte_array() 91 while( index_str < str_len) { in retrieve_byte_array()
|
| /netbsd-src/usr.bin/make/ |
| 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()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_debugfs.c | 91 uint8_t str_len = 0; in dp_link_settings_read() local 103 str_len = strlen("Current: %d %d %d "); in dp_link_settings_read() 104 snprintf(rd_buf_ptr, str_len, "Current: %d %d %d ", in dp_link_settings_read() 108 rd_buf_ptr += str_len; in dp_link_settings_read() 110 str_len = strlen("Verified: %d %d %d "); in dp_link_settings_read() 111 snprintf(rd_buf_ptr, str_len, "Verified: %d %d %d ", in dp_link_settings_read() 115 rd_buf_ptr += str_len; in dp_link_settings_read() 117 str_len = strlen("Reported: %d %d %d "); in dp_link_settings_read() 118 snprintf(rd_buf_ptr, str_len, "Reported: %d %d %d ", in dp_link_settings_read() 122 rd_buf_ptr += str_len; in dp_link_settings_read() [all …]
|
| /netbsd-src/sys/external/bsd/acpica/dist/os_specific/service_layers/ |
| H A D | osunixdir.c | 140 int str_len; in AcpiOsGetNextFilename() local 154 str_len = strlen (dir_entry->d_name) + in AcpiOsGetNextFilename() 157 temp_str = calloc (str_len, 1); in AcpiOsGetNextFilename()
|
| /netbsd-src/lib/libpam/modules/pam_login_access/ |
| H A D | login_access.c | 208 size_t str_len; in from_match() local 224 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match() 225 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
|
| /netbsd-src/external/mit/libuv/dist/src/win/ |
| H A D | fs-event.c | 408 size_t str_len; in file_info_cmp() local 413 str_len = wcslen(str); in file_info_cmp() 419 if (str_len != (file_name_len / sizeof(WCHAR))) in file_info_cmp() 422 return _wcsnicmp(str, file_name, str_len); in file_info_cmp()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/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()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | enc.c | 424 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()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/kafs/ |
| H A D | afssys.c | 177 size_t str_len = strlen (str); in map_syscall_name_to_number() local 186 if (strncmp (str, buf, str_len) == 0) { in map_syscall_name_to_number() 187 char *begptr = buf + str_len; in map_syscall_name_to_number()
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| H A D | strtab.c | 188 hp->str_len = len; in strtab_insert() 248 for (len = hp->str_len; len != 0; len -= n) { in strtab_print()
|
| H A D | strtab.h | 42 size_t str_len; /* length in bytes of this string */ member
|
| /netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| H A D | dt_strtab.h | 42 size_t str_len; /* length in bytes of this string */ member
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | write-mo.c | 280 size_t str_len; in write_table() local 287 str_len = strlen (msgctid) + 1; in write_table() 292 str_len = mp->msgstr_len; in write_table() 341 pre->segments[i].segsize = str_len - lastpos; in write_table()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | rdata.c | 775 uint8_t i, str_len = *dp++; in rdata_svcparam_alpn_to_string() local 777 if (str_len > --val_len) in rdata_svcparam_alpn_to_string() 780 for (i = 0; i < str_len; i++) { in rdata_svcparam_alpn_to_string() 793 dp += str_len; in rdata_svcparam_alpn_to_string() 794 if ((val_len -= str_len)) in rdata_svcparam_alpn_to_string()
|
| /netbsd-src/external/gpl3/gcc/dist/include/ |
| H A D | btf.h | 49 uint32_t str_len; /* Length of string section, in bytes. */ member
|