/openbsd-src/usr.sbin/nsd/ |
H A D | region-allocator.c | 55 struct region struct 57 size_t total_allocated; 58 size_t small_objects; 59 size_t large_objects; 60 size_t chunk_count; 61 size_t unused_space; /* Unused space due to alignment, etc. */ 63 size_t allocated; 64 char *initial_data; 88 static region_type * argument 185 region_destroy(region_type *region) in region_destroy() [all …]
|
H A D | zonec.c | 67 alloc_rdata(region_type *region, size_t size) in alloc_rdata() 75 alloc_rdata_init(region_type *region, const void *data, size_t size) in alloc_rdata_init() 87 zparser_conv_hex(region_type *region, const char *hex, size_t len) in zparser_conv_hex() 130 zparser_conv_hex_length(region_type *region, const char *hex, size_t len) in zparser_conv_hex_length() 171 zparser_conv_time(region_type *region, const char *time) in zparser_conv_time() 188 zparser_conv_services(region_type *region, const char *protostr, in zparser_conv_services() 251 zparser_conv_serial(region_type *region, const char *serialstr) in zparser_conv_serial() 268 zparser_conv_period(region_type *region, const char *periodstr) in zparser_conv_period() 287 zparser_conv_short(region_type *region, const char *text) in zparser_conv_short() 303 zparser_conv_byte(region_type *region, const char *text) in zparser_conv_byte() [all …]
|
H A D | dname.c | 26 dname_make(region_type *region, const uint8_t *name, int normalize) in dname_make() 93 dname_make_from_packet(region_type *region, buffer_type *packet, in dname_make_from_packet() 175 dname_parse(region_type *region, const char *name) in dname_parse() 260 dname_copy(region_type *region, const dname_type *dname) in dname_copy() 268 dname_partial_copy(region_type *region, const dname_type *dname, uint8_t label_count) in dname_partial_copy() 285 dname_origin(region_type *region, const dname_type *dname) in dname_origin() 448 dname_make_from_label(region_type *region, in dname_make_from_label() 464 dname_concatenate(region_type *region, in dname_concatenate() 480 dname_replace(region_type* region, in dname_replace()
|
H A D | radtree.c | 19 struct radtree* radix_tree_create(struct region* region) in radix_tree_create() 35 static void radnode_del_postorder(struct region* region, struct radnode* n) in radnode_del_postorder() 184 radnode_array_grow(struct region* region, struct radnode* n, unsigned want) in radnode_array_grow() 207 radnode_array_space(struct region* region, struct radnode* n, uint8_t byte) in radnode_array_space() 264 radsel_str_create(struct region* region, struct radsel* r, uint8_t* k, in radsel_str_create() 319 radsel_prefix_remainder(struct region* region, radstrlen_type plen, in radsel_prefix_remainder() 341 radsel_split(struct region* region, struct radsel* r, uint8_t* k, in radsel_split() 613 static void radnode_delete(struct region* region, struct radnode* n) in radnode_delete() 627 radnode_cleanup_onechild(struct region* region, struct radnode* n, in radnode_cleanup_onechild() 668 radnode_array_clean_all(struct region* region, struct radnode* n) in radnode_array_clean_all() [all …]
|
/openbsd-src/usr.sbin/unbound/services/cache/ |
H A D | dns.c | 80 struct regional* region, time_t qstarttime) in store_rrsets() argument 148 dns_cache_store_msg(struct module_env * env,struct query_info * qinfo,hashvalue_type hash,struct reply_info * rep,time_t leeway,int pside,struct reply_info * qrep,uint32_t flags,struct regional * region,time_t qstarttime) dns_cache_store_msg() argument 260 addr_to_additional(struct ub_packed_rrset_key * rrset,struct regional * region,struct dns_msg * msg,time_t now) addr_to_additional() argument 298 find_add_addrs(struct module_env * env,uint16_t qclass,struct regional * region,struct delegpt * dp,time_t now,struct dns_msg ** msg) find_add_addrs() argument 352 cache_fill_missing(struct module_env * env,uint16_t qclass,struct regional * region,struct delegpt * dp) cache_fill_missing() argument 410 find_add_ds(struct module_env * env,struct regional * region,struct dns_msg * msg,struct delegpt * dp,time_t now) find_add_ds() argument 444 dns_msg_create(uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,struct regional * region,size_t capacity) dns_msg_create() argument 476 dns_msg_authadd(struct dns_msg * msg,struct regional * region,struct ub_packed_rrset_key * rrset,time_t now) dns_msg_authadd() argument 487 dns_msg_ansadd(struct dns_msg * msg,struct regional * region,struct ub_packed_rrset_key * rrset,time_t now) dns_msg_ansadd() argument 500 dns_cache_find_delegation(struct module_env * env,uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,struct regional * region,struct dns_msg ** msg,time_t now,int noexpiredabove,uint8_t * expiretop,size_t expiretoplen) dns_cache_find_delegation() argument 549 gen_dns_msg(struct regional * region,struct query_info * q,size_t num) gen_dns_msg() argument 578 tomsg(struct module_env * env,struct query_info * q,struct reply_info * r,struct regional * region,time_t now,int allow_expired,struct regional * scratch) tomsg() argument 664 dns_msg_deepcopy_region(struct dns_msg * origin,struct regional * region) dns_msg_deepcopy_region() argument 687 rrset_msg(struct ub_packed_rrset_key * rrset,struct regional * region,time_t now,struct query_info * q) rrset_msg() argument 718 synth_dname_msg(struct ub_packed_rrset_key * rrset,struct regional * region,time_t now,struct query_info * q,enum sec_status * sec_status) synth_dname_msg() argument 814 fill_any(struct module_env * env,uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,struct regional * region) fill_any() argument 879 dns_cache_lookup(struct module_env * env,uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,uint16_t flags,struct regional * region,struct regional * scratch,int no_partial,uint8_t * dpname,size_t dpnamelen) dns_cache_lookup() argument 1047 dns_cache_store(struct module_env * env,struct query_info * msgqinf,struct reply_info * msgrep,int is_referral,time_t leeway,int pside,struct regional * region,uint32_t flags,time_t qstarttime) dns_cache_store() argument [all...] |
/openbsd-src/sbin/unwind/libunbound/services/cache/ |
H A D | dns.c | 80 struct regional* region, time_t qstarttime) in store_rrsets() argument 148 dns_cache_store_msg(struct module_env * env,struct query_info * qinfo,hashvalue_type hash,struct reply_info * rep,time_t leeway,int pside,struct reply_info * qrep,uint32_t flags,struct regional * region,time_t qstarttime) dns_cache_store_msg() argument 260 addr_to_additional(struct ub_packed_rrset_key * rrset,struct regional * region,struct dns_msg * msg,time_t now) addr_to_additional() argument 298 find_add_addrs(struct module_env * env,uint16_t qclass,struct regional * region,struct delegpt * dp,time_t now,struct dns_msg ** msg) find_add_addrs() argument 352 cache_fill_missing(struct module_env * env,uint16_t qclass,struct regional * region,struct delegpt * dp) cache_fill_missing() argument 410 find_add_ds(struct module_env * env,struct regional * region,struct dns_msg * msg,struct delegpt * dp,time_t now) find_add_ds() argument 444 dns_msg_create(uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,struct regional * region,size_t capacity) dns_msg_create() argument 476 dns_msg_authadd(struct dns_msg * msg,struct regional * region,struct ub_packed_rrset_key * rrset,time_t now) dns_msg_authadd() argument 487 dns_msg_ansadd(struct dns_msg * msg,struct regional * region,struct ub_packed_rrset_key * rrset,time_t now) dns_msg_ansadd() argument 500 dns_cache_find_delegation(struct module_env * env,uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,struct regional * region,struct dns_msg ** msg,time_t now,int noexpiredabove,uint8_t * expiretop,size_t expiretoplen) dns_cache_find_delegation() argument 549 gen_dns_msg(struct regional * region,struct query_info * q,size_t num) gen_dns_msg() argument 578 tomsg(struct module_env * env,struct query_info * q,struct reply_info * r,struct regional * region,time_t now,int allow_expired,struct regional * scratch) tomsg() argument 664 dns_msg_deepcopy_region(struct dns_msg * origin,struct regional * region) dns_msg_deepcopy_region() argument 687 rrset_msg(struct ub_packed_rrset_key * rrset,struct regional * region,time_t now,struct query_info * q) rrset_msg() argument 718 synth_dname_msg(struct ub_packed_rrset_key * rrset,struct regional * region,time_t now,struct query_info * q,enum sec_status * sec_status) synth_dname_msg() argument 814 fill_any(struct module_env * env,uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,struct regional * region) fill_any() argument 879 dns_cache_lookup(struct module_env * env,uint8_t * qname,size_t qnamelen,uint16_t qtype,uint16_t qclass,uint16_t flags,struct regional * region,struct regional * scratch,int no_partial,uint8_t * dpname,size_t dpnamelen) dns_cache_lookup() argument 1047 dns_cache_store(struct module_env * env,struct query_info * msgqinf,struct reply_info * msgrep,int is_referral,time_t leeway,int pside,struct regional * region,uint32_t flags,time_t qstarttime) dns_cache_store() argument [all...] |
/openbsd-src/usr.sbin/unbound/util/data/ |
H A D | msgreply.c | 78 struct query_info* qinf, struct regional* region) in parse_create_qinfo() 97 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, in construct_reply_info_base() 140 struct regional* region) in parse_create_repinfo() 152 struct regional* region) in reply_info_alloc_rrset_keys() 175 make_new_reply_info(const struct reply_info* rep, struct regional* region, in make_new_reply_info() 356 struct packed_rrset_data** data, struct regional* region) in parse_create_rrset() 423 struct rrset_parse *pset, struct regional* region, in parse_copy_decompress_rrset() 466 struct reply_info* rep, struct regional* region) in parse_copy_decompress() 495 struct reply_info** rep, struct regional* region) in parse_create_msg() 515 struct regional* region, struct edns_data* edns) in reply_info_parse() [all …]
|
/openbsd-src/sbin/unwind/libunbound/util/data/ |
H A D | msgreply.c | 78 struct query_info* qinf, struct regional* region) in parse_create_qinfo() 97 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, in construct_reply_info_base() 140 struct regional* region) in parse_create_repinfo() 152 struct regional* region) in reply_info_alloc_rrset_keys() 175 make_new_reply_info(const struct reply_info* rep, struct regional* region, in make_new_reply_info() 356 struct packed_rrset_data** data, struct regional* region) in parse_create_rrset() 423 struct rrset_parse *pset, struct regional* region, in parse_copy_decompress_rrset() 466 struct reply_info* rep, struct regional* region) in parse_copy_decompress() 495 struct reply_info** rep, struct regional* region) in parse_create_msg() 515 struct regional* region, struct edns_data* edns) in reply_info_parse() [all …]
|
/openbsd-src/usr.bin/dig/lib/dns/rdata/generic/ |
H A D | doa_259.c | 23 isc_region_t region; in totext_doa() local 76 isc_region_t region; in fromwire_doa() local 107 isc_region_t region; in towire_doa() local
|
H A D | uri_256.c | 24 isc_region_t region; in totext_uri() local 60 isc_region_t region; in fromwire_uri() local 85 isc_region_t region; in towire_uri() local
|
H A D | ipseckey_45.c | 26 isc_region_t region; in totext_ipseckey() local 113 isc_region_t region; in fromwire_ipseckey() local 160 isc_region_t region; in towire_ipseckey() local
|
H A D | hip_55.c | 28 isc_region_t region; in totext_hip() local 96 isc_region_t region, rr; in fromwire_hip() local 135 isc_region_t region; in towire_hip() local
|
H A D | cname_5.c | 26 isc_region_t region; in totext_cname() local 64 isc_region_t region; in towire_cname() local 80 isc_region_t region; in tostruct_cname() local
|
H A D | ns_2.c | 26 isc_region_t region; in totext_ns() local 64 isc_region_t region; in towire_ns() local 80 isc_region_t region; in tostruct_ns() local
|
/openbsd-src/usr.sbin/unbound/testcode/ |
H A D | unitverify.c | 85 struct regional* region, sldns_buffer* pkt, struct query_info* qi, in entry_to_repinfo() argument 109 struct regional* region, sldns_buffer* pkt) in extract_keys() argument 207 verifytest_entry(struct entry * e,struct alloc_cache * alloc,struct regional * region,sldns_buffer * pkt,struct ub_packed_rrset_key * dnskey,struct module_env * env,struct val_env * ve) verifytest_entry() argument 247 dstest_entry(struct entry * e,struct alloc_cache * alloc,struct regional * region,sldns_buffer * pkt,struct module_env * env) dstest_entry() argument 297 struct regional* region = regional_create(); verifytest_file() local 342 struct regional* region = regional_create(); dstest_file() local 421 nsec3_hash_test_entry(struct entry * e,rbtree_type * ct,struct alloc_cache * alloc,struct regional * region,sldns_buffer * buf) nsec3_hash_test_entry() argument 477 struct regional* region = regional_create(); nsec3_hash_test() local [all...] |
/openbsd-src/usr.sbin/unbound/iterator/ |
H A D | iter_delegpt.c | 54 delegpt_create(struct regional* region) in delegpt_create() 64 struct delegpt* delegpt_copy(struct delegpt* dp, struct regional* region) in delegpt_copy() 97 delegpt_set_name(struct delegpt* dp, struct regional* region, uint8_t* name) in delegpt_set_name() 106 delegpt_add_ns(struct delegpt* dp, struct regional* region, uint8_t* name, in delegpt_add_ns() 174 delegpt_add_target(struct delegpt* dp, struct regional* region, in delegpt_add_target() 201 delegpt_add_addr(struct delegpt* dp, struct regional* region, in delegpt_add_addr() 412 delegpt_from_message(struct dns_msg* msg, struct regional* region) in delegpt_from_message() 462 delegpt_rrset_add_ns(struct delegpt* dp, struct regional* region, in delegpt_rrset_add_ns() 485 delegpt_add_rrset_A(struct delegpt* dp, struct regional* region, in delegpt_add_rrset_A() 508 delegpt_add_rrset_AAAA(struct delegpt* dp, struct regional* region, in delegpt_add_rrset_AAAA() [all …]
|
/openbsd-src/sbin/unwind/libunbound/iterator/ |
H A D | iter_delegpt.c | 54 delegpt_create(struct regional* region) in delegpt_create() 64 struct delegpt* delegpt_copy(struct delegpt* dp, struct regional* region) in delegpt_copy() 97 delegpt_set_name(struct delegpt* dp, struct regional* region, uint8_t* name) in delegpt_set_name() 106 delegpt_add_ns(struct delegpt* dp, struct regional* region, uint8_t* name, in delegpt_add_ns() 174 delegpt_add_target(struct delegpt* dp, struct regional* region, in delegpt_add_target() 201 delegpt_add_addr(struct delegpt* dp, struct regional* region, in delegpt_add_addr() 412 delegpt_from_message(struct dns_msg* msg, struct regional* region) in delegpt_from_message() 462 delegpt_rrset_add_ns(struct delegpt* dp, struct regional* region, in delegpt_rrset_add_ns() 485 delegpt_add_rrset_A(struct delegpt* dp, struct regional* region, in delegpt_add_rrset_A() 508 delegpt_add_rrset_AAAA(struct delegpt* dp, struct regional* region, in delegpt_add_rrset_AAAA() [all …]
|
/openbsd-src/usr.sbin/unbound/validator/ |
H A D | val_kentry.c | 111 key_entry_copy_toregion(struct key_entry_key* kkey, struct regional* region) in key_entry_copy_toregion() 259 key_entry_setup(struct regional* region, in key_entry_setup() 281 key_entry_create_null(struct regional* region, in key_entry_create_null() 303 key_entry_create_rrset(struct regional* region, in key_entry_create_rrset() 336 key_entry_create_bad(struct regional* region, in key_entry_create_bad() 358 key_entry_get_rrset(struct key_entry_key* kkey, struct regional* region) in key_entry_get_rrset()
|
/openbsd-src/sbin/unwind/libunbound/validator/ |
H A D | val_kentry.c | 111 key_entry_copy_toregion(struct key_entry_key* kkey, struct regional* region) in key_entry_copy_toregion() 259 key_entry_setup(struct regional* region, in key_entry_setup() 281 key_entry_create_null(struct regional* region, in key_entry_create_null() 303 key_entry_create_rrset(struct regional* region, in key_entry_create_rrset() 336 key_entry_create_bad(struct regional* region, in key_entry_create_bad() 358 key_entry_get_rrset(struct key_entry_key* kkey, struct regional* region) in key_entry_get_rrset()
|
/openbsd-src/gnu/gcc/gcc/ |
H A D | except.c | 103 struct eh_region *region; member 526 struct eh_region *region = gen_eh_region (ERT_ALLOWED_EXCEPTIONS, outer); in gen_eh_region_allowed() local 542 get_eh_region_number (struct eh_region *region) in get_eh_region_number() 548 get_eh_region_may_contain_throw (struct eh_region *region) in get_eh_region_may_contain_throw() 554 get_eh_region_tree_label (struct eh_region *region) in get_eh_region_tree_label() 560 set_eh_region_tree_label (struct eh_region *region, tree lab) in set_eh_region_tree_label() 581 note_eh_region_may_contain_throw (struct eh_region *region) in note_eh_region_may_contain_throw() 764 struct eh_region *region; in convert_from_eh_region_ranges() local 775 add_ehl_entry (rtx label, struct eh_region *region) in add_ehl_entry() 818 struct eh_region *region; in find_exception_handler_labels() local [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/ |
H A D | except.c | 100 struct eh_region *region; member 540 struct eh_region *region; local 606 struct eh_region *region; in expand_start_all_catch() local 716 struct eh_region *region; local 759 struct eh_region *region; local 790 struct eh_region *region; local 830 struct eh_region *region; in note_eh_region_may_contain_throw() local 1181 add_ehl_entry (label, region) in add_ehl_entry() argument 1227 struct eh_region *region = cfun->eh->region_array[i]; in find_exception_handler_labels() local 1254 struct eh_region *region = cfun->eh->region_array[i]; in current_function_has_exception_handlers() local [all …]
|
/openbsd-src/usr.bin/mg/ |
H A D | region.c | 46 struct region region; in killregion() local 72 struct region region; in copyregion() local 117 struct region region; in lowerregion() local 160 struct region region; in upperregion() local 288 struct region region; in prefixregion() local 414 struct region region; in piperegion() local
|
/openbsd-src/usr.bin/dig/lib/dns/rdata/in_1/ |
H A D | nsap_22.c | 28 isc_region_t region; in totext_in_nsap() local 49 isc_region_t region; in fromwire_in_nsap() local
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpParser.cpp | 267 [®ions, &log](llvm::Expected<MemoryRegionInfo> region) -> bool { in CreateRegionsCacheFromLinuxMaps() 334 MemoryRegionInfo region = MinidumpParser::GetMemoryRegionInfo(regions, addr); in CheckForLinuxExecutable() local 528 MemoryRegionInfo region; in CreateRegionsCacheFromMemoryInfoList() local 566 MemoryRegionInfo region; in CreateRegionsCacheFromMemoryList() local 596 MemoryRegionInfo region; in CreateRegionsCacheFromMemory64List() local 689 MemoryRegionInfo region; in GetMemoryRegionInfo() local
|
/openbsd-src/usr.bin/dig/lib/dns/rdata/hs_4/ |
H A D | a_1.c | 26 isc_region_t region; in totext_hs_a() local 66 isc_region_t region; in towire_hs_a() local
|