Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 17 of 17) sorted by relevance

/freebsd-13.1/contrib/ofed/opensm/opensm/
H A Dst.c382 st_table *new_table; local
386 new_table = alloc(st_table);
387 if (new_table == 0) {
391 *new_table = *old_table;
395 if (new_table->bins == 0) {
396 free(new_table);
401 new_table->bins[i] = 0;
406 free(new_table->bins);
407 free(new_table);
412 new_table->bins[i] = entry;
[all …]
/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Dht-internal.h321 struct type **new_table; \
332 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \
334 memset(new_table, 0, new_len*sizeof(struct type*)); \
342 elm->field.hte_next = new_table[b2]; \
343 new_table[b2] = elm; \
349 head->hth_table = new_table; \
353 if (!new_table) return -1; \
354 memset(new_table + head->hth_table_length, 0, \
358 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \
364 e->field.hte_next = new_table[b2]; \
[all …]
/freebsd-13.1/contrib/libevent/
H A Dht-internal.h321 struct type **new_table; \
332 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \
334 memset(new_table, 0, new_len*sizeof(struct type*)); \
342 elm->field.hte_next = new_table[b2]; \
343 new_table[b2] = elm; \
349 head->hth_table = new_table; \
353 if (!new_table) return -1; \
354 memset(new_table + head->hth_table_length, 0, \
358 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \
364 e->field.hte_next = new_table[b2]; \
[all …]
/freebsd-13.1/contrib/com_err/
H A Dcom_err.c157 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument
162 if (et->table->base == new_table->table->base) in add_to_error_table()
166 new_table->next = _et_list; in add_to_error_table()
167 _et_list = new_table; in add_to_error_table()
H A Dcom_err.h74 add_to_error_table (struct et_list *new_table);
/freebsd-13.1/crypto/heimdal/lib/com_err/
H A Dcom_err.c160 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument
165 if (et->table->base == new_table->table->base) in add_to_error_table()
169 new_table->next = _et_list; in add_to_error_table()
170 _et_list = new_table; in add_to_error_table()
H A Dcom_err.h74 add_to_error_table (struct et_list *new_table);
/freebsd-13.1/contrib/kyua/utils/config/
H A Dlua_module.cpp115 state.new_table(); in new_table_for_key()
117 state.new_table(); in new_table_for_key()
H A Dnodes_test.cpp488 state.new_table(); in ATF_TEST_CASE_BODY()
/freebsd-13.1/contrib/lutok/
H A Dstate.hpp114 void new_table(void);
H A Doperations.cpp49 s.new_table(); in create_module()
H A Dstate_test.cpp574 ATF_TEST_CASE_WITHOUT_HEAD(new_table);
575 ATF_TEST_CASE_BODY(new_table) in ATF_TEST_CASE_BODY() argument
578 state.new_table(); in ATF_TEST_CASE_BODY()
1130 ATF_ADD_TEST_CASE(tcs, new_table); in ATF_INIT_TEST_CASES()
H A Dstate.cpp521 lutok::state::new_table(void) in new_table() function in lutok::state
/freebsd-13.1/lib/libc/db/hash/
H A Dhash.c106 int bpages, hdrsize, new_table, nsegs, save_errno; in __hash_open() local
128 new_table = _fstat(hashp->fp, &statbuf) == 0 && in __hash_open()
131 new_table = 1; in __hash_open()
133 if (new_table) { in __hash_open()
187 hashp->new_file = new_table; in __hash_open()
/freebsd-13.1/contrib/kyua/utils/fs/
H A Dlua_module.cpp236 state.new_table(); in lua_fs_files()
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_sa.c633 struct sa_prot_map *new_table,
1204 sapopulateprots(struct sa_prot_state *cur_state, struct sa_prot_map *new_table, in sapopulateprots() argument
1209 bcopy(sa_prot_table, new_table, min(table_ents * sizeof(*new_table), in sapopulateprots()
1215 new_table[i].value = (uint32_t *)((uint8_t *)cur_state + in sapopulateprots()
1216 new_table[i].offset); in sapopulateprots()
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp3124 kmp_indirect_lock_t **new_table = (kmp_indirect_lock_t **)__kmp_allocate( in __kmp_allocate_indirect_lock() local
3126 KMP_MEMCPY(new_table, __kmp_i_lock_table.table, in __kmp_allocate_indirect_lock()
3129 __kmp_i_lock_table.table = new_table; in __kmp_allocate_indirect_lock()