/netbsd-src/external/bsd/ntp/dist/sntp/libevent/ |
H A D | ht-internal.h | 323 struct type **new_table; \ 334 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \ 336 memset(new_table, 0, new_len*sizeof(struct type*)); \ 344 elm->field.hte_next = new_table[b2]; \ 345 new_table[b2] = elm; \ 351 head->hth_table = new_table; \ 354 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \ 355 if (!new_table) return -1; \ 356 memset(new_table + head->hth_table_length, 0, \ 360 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \ [all …]
|
/netbsd-src/external/bsd/libevent/dist/ |
H A D | ht-internal.h | 322 struct type **new_table; \ 333 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \ 335 memset(new_table, 0, new_len*sizeof(struct type*)); \ 343 elm->field.hte_next = new_table[b2]; \ 344 new_table[b2] = elm; \ 350 head->hth_table = new_table; \ 353 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \ 354 if (!new_table) return -1; \ 355 memset(new_table + head->hth_table_length, 0, \ 359 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \ [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | gl_anyhash_list2.h | 103 gl_hash_entry_t *new_table = in hash_resize() local 117 node->hash_next = new_table[bucket]; in hash_resize() 118 new_table[bucket] = node; in hash_resize() 124 list->table = new_table; in hash_resize()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/com_err/ |
H A D | com_err.c | 162 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument 167 if (et->table->base == new_table->table->base) in add_to_error_table() 171 new_table->next = _et_list; in add_to_error_table() 172 _et_list = new_table; in add_to_error_table()
|
H A D | com_err.h | 76 add_to_error_table (struct et_list *new_table);
|
/netbsd-src/sys/netinet6/ |
H A D | ip6_flow.c | 205 struct ip6flowhead *new_table; in ip6flow_init_locked() local 210 new_table = (struct ip6flowhead *)malloc(sizeof(struct ip6flowhead) * in ip6flow_init_locked() 213 if (new_table == NULL) in ip6flow_init_locked() 219 ip6flowtable = new_table; in ip6flow_init_locked()
|
/netbsd-src/sys/netinet/ |
H A D | ip_flow.c | 160 struct ipflowhead *new_table; in ipflow_reinit() local 165 new_table = (struct ipflowhead *)malloc(sizeof(struct ipflowhead) * in ipflow_reinit() 168 if (new_table == NULL) in ipflow_reinit() 174 ipflowtable = new_table; in ipflow_reinit()
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/config/ |
H A D | lua_module.cpp | 113 state.new_table(); in new_table_for_key() 115 state.new_table(); in new_table_for_key()
|
H A D | nodes_test.cpp | 371 state.new_table(); in ATF_TEST_CASE_BODY()
|
/netbsd-src/lib/libc/db/hash/ |
H A D | hash.c | 103 int bpages, new_table, nsegs, save_errno; in __hash_open() local 123 new_table = 0; in __hash_open() 128 new_table = 1; in __hash_open() 133 new_table |= statbuf.st_size == 0; in __hash_open() 135 if (new_table) { in __hash_open() 192 hashp->new_file = new_table; in __hash_open()
|
/netbsd-src/external/bsd/lutok/dist/ |
H A D | state.hpp | 114 void new_table(void);
|
H A D | operations.cpp | 49 s.new_table(); in create_module()
|
H A D | state_test.cpp | 683 ATF_TEST_CASE_WITHOUT_HEAD(new_table); 684 ATF_TEST_CASE_BODY(new_table) in ATF_TEST_CASE_BODY() argument 687 state.new_table(); in ATF_TEST_CASE_BODY() 1359 ATF_ADD_TEST_CASE(tcs, new_table); in ATF_INIT_TEST_CASES()
|
H A D | state.cpp | 521 lutok::state::new_table(void) in new_table() function in lutok::state
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | peXXigen.c | 4158 rsrc_directory new_table; in rsrc_process_section() local 4176 new_table.names.num_entries = 0; in rsrc_process_section() 4177 new_table.ids.num_entries = 0; in rsrc_process_section() 4302 new_table.characteristics = type_tables[0].characteristics; in rsrc_process_section() 4303 new_table.time = type_tables[0].time; in rsrc_process_section() 4304 new_table.major = type_tables[0].major; in rsrc_process_section() 4305 new_table.minor = type_tables[0].minor; in rsrc_process_section() 4308 new_table.names.first_entry = NULL; in rsrc_process_section() 4309 new_table.names.last_entry = NULL; in rsrc_process_section() 4312 rsrc_attach_chain (& new_table.names, & type_tables[indx].names); in rsrc_process_section() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | peXXigen.c | 4182 rsrc_directory new_table; in rsrc_process_section() local 4200 new_table.names.num_entries = 0; in rsrc_process_section() 4201 new_table.ids.num_entries = 0; in rsrc_process_section() 4321 new_table.characteristics = type_tables[0].characteristics; in rsrc_process_section() 4322 new_table.time = type_tables[0].time; in rsrc_process_section() 4323 new_table.major = type_tables[0].major; in rsrc_process_section() 4324 new_table.minor = type_tables[0].minor; in rsrc_process_section() 4327 new_table.names.first_entry = NULL; in rsrc_process_section() 4328 new_table.names.last_entry = NULL; in rsrc_process_section() 4331 rsrc_attach_chain (& new_table.names, & type_tables[indx].names); in rsrc_process_section() [all …]
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | lua_module.cpp | 185 state.new_table(); in lua_fs_files()
|