Home
last modified time | relevance | path

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

/openbsd/usr.sbin/unbound/sldns/
H A Dwire2str.h128 size_t str_len);
150 size_t* str_len);
222 size_t* str_len);
373 size_t str_len);
389 size_t str_len);
407 size_t str_len);
540 size_t* str_len);
553 size_t* str_len);
566 size_t* str_len);
579 size_t* str_len);
[all …]
H A Dwire2str.c330 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument
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()
2408 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2411 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2419 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2446 w += sldns_str_print(str, str_len, in sldns_wire2str_edns_scan()
[all …]
H A Dstr2wire.c1481 size_t str_len; in sldns_str2wire_svcbparam_alpn_value() local
1493 str_len = (next_str = sldns_str2wire_svcbparam_parse_next_unescaped_comma(val)) in sldns_str2wire_svcbparam_alpn_value()
1496 if (str_len > 255) { in sldns_str2wire_svcbparam_alpn_value()
1500 key_len = sldns_str2wire_svcbparam_parse_copy_unescaped(dst + 1, val, str_len); in sldns_str2wire_svcbparam_alpn_value()
1553 size_t str_len; in sldns_str2wire_svcparam_value() local
1604 str_len = strlen(val); in sldns_str2wire_svcparam_value()
1605 if (*rd_len < 4 + str_len) in sldns_str2wire_svcparam_value()
1608 sldns_write_uint16(rd + 2, str_len); in sldns_str2wire_svcparam_value()
1609 memcpy(rd + 4, val, str_len); in sldns_str2wire_svcparam_value()
1610 *rd_len = 4 + str_len; in sldns_str2wire_svcparam_value()
/openbsd/sbin/unwind/libunbound/sldns/
H A Dwire2str.h128 size_t str_len);
150 size_t* str_len);
222 size_t* str_len);
373 size_t str_len);
389 size_t str_len);
407 size_t str_len);
540 size_t* str_len);
553 size_t* str_len);
566 size_t* str_len);
579 size_t* str_len);
[all …]
H A Dwire2str.c330 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument
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()
2408 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2411 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2419 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
2446 w += sldns_str_print(str, str_len, in sldns_wire2str_edns_scan()
[all …]
H A Dstr2wire.c1481 size_t str_len; in sldns_str2wire_svcbparam_alpn_value() local
1493 str_len = (next_str = sldns_str2wire_svcbparam_parse_next_unescaped_comma(val)) in sldns_str2wire_svcbparam_alpn_value()
1496 if (str_len > 255) { in sldns_str2wire_svcbparam_alpn_value()
1500 key_len = sldns_str2wire_svcbparam_parse_copy_unescaped(dst + 1, val, str_len); in sldns_str2wire_svcbparam_alpn_value()
1553 size_t str_len; in sldns_str2wire_svcparam_value() local
1604 str_len = strlen(val); in sldns_str2wire_svcparam_value()
1605 if (*rd_len < 4 + str_len) in sldns_str2wire_svcparam_value()
1608 sldns_write_uint16(rd + 2, str_len); in sldns_str2wire_svcparam_value()
1609 memcpy(rd + 4, val, str_len); in sldns_str2wire_svcparam_value()
1610 *rd_len = 4 + str_len; in sldns_str2wire_svcparam_value()
/openbsd/lib/libc/rpc/
H A Dsvc_auth_unix.c63 u_int str_len, gid_len; in _svcauth_unix() local
75 str_len = IXDR_GET_U_LONG(buf); in _svcauth_unix()
76 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
80 memcpy(aup->aup_machname, (caddr_t)buf, (u_int)str_len); in _svcauth_unix()
81 aup->aup_machname[str_len] = 0; in _svcauth_unix()
82 str_len = RNDUP(str_len); in _svcauth_unix()
83 buf += str_len / sizeof (int32_t); in _svcauth_unix()
99 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
/openbsd/usr.sbin/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()
H A Dtestpkts.c1385 size_t str_len = strlen(str); in ignore_edns_lines() local
1393 memmove(edns, n+1, str_len-(n-str)); in ignore_edns_lines()
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c193 uint8_t str_len = 0; in dp_link_settings_read() local
210 rd_buf_ptr += str_len; in dp_link_settings_read()
217 rd_buf_ptr += str_len; in dp_link_settings_read()
224 rd_buf_ptr += str_len; in dp_link_settings_read()
1481 rd_buf_ptr += str_len; in dp_dsc_clock_en_read()
1671 rd_buf_ptr += str_len; in dp_dsc_slice_width_read()
1859 rd_buf_ptr += str_len; in dp_dsc_slice_height_read()
2043 rd_buf_ptr += str_len; in dp_dsc_bits_per_pixel_read()
2222 rd_buf_ptr += str_len; in dp_dsc_pic_width_read()
2280 rd_buf_ptr += str_len; in dp_dsc_pic_height_read()
[all …]
/openbsd/lib/libcrypto/evp/
H A Dp_lib.c206 size_t i, str_len; in EVP_PKEY_asn1_find_str() local
214 str_len = strlen(str); in EVP_PKEY_asn1_find_str()
216 str_len = len; in EVP_PKEY_asn1_find_str()
222 if (strlen(ameth->pem_str) != str_len) in EVP_PKEY_asn1_find_str()
224 if (strncasecmp(ameth->pem_str, str, str_len) == 0) in EVP_PKEY_asn1_find_str()
/openbsd/gnu/llvm/lldb/examples/python/
H A Dbsd.py29 def read_str(file, str_len): argument
30 return file.read(str_len).rstrip('\0 ')
32 def read_int(file, str_len, base): argument
33 return int(read_str(file, str_len), base)
H A Dgdbremote.py517 str_len = len(self.str)
521 while n < str_len and self.str[n] in string.hexdigits:
524 if n > str_len:
/openbsd/gnu/llvm/lldb/source/Utility/
H A DStringList.cpp49 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()
/openbsd/usr.sbin/nsd/
H A Drdata.c775 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()
H A Dzonec.c1075 size_t str_len; in zparser_conv_svcbparam_alpn_value() local
1086 str_len = (next_str = parse_alpn_next_unescaped_comma(val)) in zparser_conv_svcbparam_alpn_value()
1089 if (str_len > 255) { in zparser_conv_svcbparam_alpn_value()
1094 dst_len = parse_alpn_copy_unescaped(dst + 1, val, str_len); in zparser_conv_svcbparam_alpn_value()
/openbsd/gnu/llvm/lldb/include/lldb/Utility/
H A DStringList.h44 void AppendString(const char *str, size_t str_len);
/openbsd/gnu/llvm/llvm/utils/gdb-scripts/
H A Dprettyprinters.py232 str_len = entry['keyLength']
236 …string_ref = gdb.Value(struct.pack('PN', int(str_data), int(str_len)), gdb.lookup_type('llvm::Stri…
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atom.c1390 unsigned short str_len; in atom_find_str_in_rom() local
1393 str_len = strnlen(str, maxlen); in atom_find_str_in_rom()
1397 for (str_off = 0; str_off < str_len; ++str_off) { in atom_find_str_in_rom()
1402 if (str_off == str_len || str[str_off] == 0) in atom_find_str_in_rom()
/openbsd/usr.sbin/unbound/daemon/
H A Dworker.c958 size_t i, numtag, str_len = 255; in chaos_trustanchor() local
960 str = (char*)regional_alloc(w->scratchpad, str_len); in chaos_trustanchor()
973 (void)sldns_wire2str_dname_buf(ta->name, ta->namelen, str, str_len); in chaos_trustanchor()
974 str_len -= strlen(str); str += strlen(str); in chaos_trustanchor()
977 snprintf(str, str_len, " %u", (unsigned)tags[i]); in chaos_trustanchor()
978 str_len -= strlen(str); str += strlen(str); in chaos_trustanchor()
/openbsd/usr.sbin/unbound/edns-subnet/
H A Dsubnetmod.c727 size_t str_len = sizeof(buf); in subnet_log_print() local
732 (void)sldns_wire2str_edns_subnet_print(&str, &str_len, in subnet_log_print()
/openbsd/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp1080 size_t str_len = strlen(src) + 1; in __dfso_strcpy() local
1081 dfsan_mem_origin_transfer(dest, src, str_len); in __dfso_strcpy()
1082 dfsan_mem_shadow_transfer(dest, src, str_len); in __dfso_strcpy()
/openbsd/gnu/usr.bin/perl/pod/
H A Dperlreguts.pod170 U8 str_len; /* overrides flags */
202 to calculate the size of an C<EXACT> node based on its C<str_len> field.
/openbsd/gnu/usr.bin/perl/ext/XS-APItest/
H A DAPItest.xs7398 STRLEN str_len; in siphash24() local
7399 U8 *str_pv= (U8*)SvPV(str_sv,str_len); in siphash24()
7423 RETVAL= S_perl_hash_siphash_1_3_with_state_64(state_pv,str_pv,str_len); in siphash24()
7425 RETVAL= S_perl_hash_siphash_2_4_with_state_64(state_pv,str_pv,str_len); in siphash24()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def657 /// int __sprintf_chk(char *str, int flags, size_t str_len,