Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ss/
Dinvocation.c30 register ss_data *new_table; in ss_create_invocation() local
35 new_table = (ss_data *) malloc(sizeof(ss_data)); in ss_create_invocation()
49 free(new_table); in ss_create_invocation()
53 table[sci_idx] = new_table; in ss_create_invocation()
55 new_table->subsystem_name = subsystem_name; in ss_create_invocation()
56 new_table->subsystem_version = version_string; in ss_create_invocation()
57 new_table->argv = (char **)NULL; in ss_create_invocation()
58 new_table->current_request = (char *)NULL; in ss_create_invocation()
59 new_table->info_dirs = (char **)malloc(sizeof(char *)); in ss_create_invocation()
60 *new_table->info_dirs = (char *)NULL; in ss_create_invocation()
[all …]
/external/libevent/
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; \
352 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \
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) { \
[all …]
/external/sfntly/cpp/src/sample/subtly/
Dstats.cc53 Ptr<FontDataTable> new_table = new_font->GetTable(it->first); in PrintComparison() local
56 if (new_table) { in PrintComparison()
57 new_size = new_table->DataLength(); in PrintComparison()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dtable.c318 upb_strtable new_table; in upb_strtable_resize() local
321 if (!init(&new_table.t, size_lg2, a)) in upb_strtable_resize()
327 &new_table, key.data, key.size, in upb_strtable_resize()
331 *t = new_table; in upb_strtable_resize()
516 upb_table new_table; in upb_inttable_insert2() local
518 if (!init(&new_table, t->t.size_lg2 + 1, a)) { in upb_inttable_insert2()
529 insert(&new_table, intkey(e->key), e->key, v, hash, &inthash, &inteql); in upb_inttable_insert2()
532 UPB_ASSERT(t->t.count == new_table.count); in upb_inttable_insert2()
535 t->t = new_table; in upb_inttable_insert2()
/external/rust/crates/parking_lot_core/src/
Dparking_lot.rs213 let new_table = Box::into_raw(HashTable::new(LOAD_FACTOR, ptr::null())); in create_hashtable() localVariable
218 new_table, in create_hashtable()
222 Ok(_) => new_table, in create_hashtable()
227 Box::from_raw(new_table); in create_hashtable()
270 let mut new_table = HashTable::new(num_threads, old_table); in grow_hashtable() localVariable
277 unsafe { rehash_bucket_into(bucket, &mut new_table) }; in grow_hashtable()
283 HASHTABLE.store(Box::into_raw(new_table), Ordering::Release); in grow_hashtable()
1279 let new_table = get_hashtable(); in check_wait_graph_slow() localVariable
1280 if new_table as *const _ == table as *const _ { in check_wait_graph_slow()
1290 table = new_table; in check_wait_graph_slow()
/external/arm-trusted-firmware/lib/xlat_tables/
Dxlat_tables_common.c378 uint64_t *new_table = xlat_tables[next_xlat]; in init_xlation_table_inner() local
382 desc = TABLE_DESC | (uintptr_t)new_table; in init_xlation_table_inner()
386 new_table, level + 1U); in init_xlation_table_inner()
/external/rust/crates/hashbrown/src/raw/
Dmod.rs787 let mut new_table = in resize() localVariable
800 let (index, _) = new_table.prepare_insert_slot(hash); in resize()
801 new_table.bucket(index).copy_from_nonoverlapping(&item); in resize()
808 mem::swap(&mut self.table, &mut new_table); in resize()
1396 let mut new_table = RawTableInner::fallible_with_capacity( in prepare_resize() localVariable
1402 new_table.growth_left -= self.items; in prepare_resize()
1403 new_table.items = self.items; in prepare_resize()
1411 Ok(guard(new_table, move |self_| { in prepare_resize()
1475 let mut new_table = ManuallyDrop::new( in clone() localVariable
1487 new_table.clone_from_spec(self, |new_table| { in clone()
[all …]
/external/e2fsprogs/lib/et/
Derror_message.c347 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument
349 add_error_table(new_table->table); in add_to_error_table()
Dcom_err.h51 extern void add_to_error_table(struct et_list *new_table);
/external/sfntly/cpp/src/sfntly/table/bitmap/
Deblc_table.cc268 Ptr<EblcTable> new_table = new EblcTable(header(), data); in SubBuildTable() local
269 return new_table.Detach(); in SubBuildTable()
/external/llvm-project/openmp/runtime/src/
Dkmp_lock.cpp3053 kmp_indirect_lock_t **new_table = (kmp_indirect_lock_t **)__kmp_allocate( in __kmp_allocate_indirect_lock() local
3055 KMP_MEMCPY(new_table, __kmp_i_lock_table.table, in __kmp_allocate_indirect_lock()
3058 __kmp_i_lock_table.table = new_table; in __kmp_allocate_indirect_lock()
/external/protobuf/php/ext/google/protobuf/
Dupb.c4940 upb_strtable new_table; in upb_strtable_resize() local
4945 if (!init(&new_table.t, t->t.ctype, size_lg2, a)) in upb_strtable_resize()
4950 &new_table, in upb_strtable_resize()
4957 *t = new_table; in upb_strtable_resize()
5149 upb_table new_table; in upb_inttable_insert2() local
5151 if (!init(&new_table, t->t.ctype, t->t.size_lg2 + 1, a)) { in upb_inttable_insert2()
5162 insert(&new_table, intkey(e->key), e->key, v, hash, &inthash, &inteql); in upb_inttable_insert2()
5165 UPB_ASSERT(t->t.count == new_table.count); in upb_inttable_insert2()
5168 t->t = new_table; in upb_inttable_insert2()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c6733 upb_strtable new_table; in upb_strtable_resize() local
6738 if (!init(&new_table.t, t->t.ctype, size_lg2, a)) in upb_strtable_resize()
6743 &new_table, in upb_strtable_resize()
6750 *t = new_table; in upb_strtable_resize()
6940 upb_table new_table; in upb_inttable_insert2() local
6942 if (!init(&new_table, t->t.ctype, t->t.size_lg2 + 1, a)) { in upb_inttable_insert2()
6953 insert(&new_table, intkey(e->key), e->key, v, hash, &inthash, &inteql); in upb_inttable_insert2()
6956 UPB_ASSERT(t->t.count == new_table.count); in upb_inttable_insert2()
6959 t->t = new_table; in upb_inttable_insert2()