Searched refs:oldtable (Results 1 – 4 of 4) sorted by relevance
/third_party/libxml2/ |
D | hash.c | 240 struct _xmlHashEntry *oldtable; in xmlHashGrow() local 253 oldtable = table->table; in xmlHashGrow() 254 if (oldtable == NULL) in xmlHashGrow() 259 table->table = oldtable; in xmlHashGrow() 272 if (oldtable[i].valid == 0) in xmlHashGrow() 274 key = xmlHashComputeKey(table, oldtable[i].name, oldtable[i].name2, in xmlHashGrow() 275 oldtable[i].name3); in xmlHashGrow() 276 memcpy(&(table->table[key]), &(oldtable[i]), sizeof(xmlHashEntry)); in xmlHashGrow() 281 iter = oldtable[i].next; in xmlHashGrow() 308 xmlFree(oldtable); in xmlHashGrow()
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | hash.c | 244 struct _xmlHashEntry *oldtable; in xmlHashGrow() local 257 oldtable = table->table; in xmlHashGrow() 258 if (oldtable == NULL) in xmlHashGrow() 263 table->table = oldtable; in xmlHashGrow() 276 if (oldtable[i].valid == 0) in xmlHashGrow() 278 key = xmlHashComputeKey(table, oldtable[i].name, oldtable[i].name2, in xmlHashGrow() 279 oldtable[i].name3); in xmlHashGrow() 280 memcpy(&(table->table[key]), &(oldtable[i]), sizeof(xmlHashEntry)); in xmlHashGrow() 285 iter = oldtable[i].next; in xmlHashGrow() 312 xmlFree(oldtable); in xmlHashGrow()
|
/third_party/python/Objects/ |
D | setobject.c | 234 setentry *oldtable, *newtable, *entry; in set_table_resize() local 250 oldtable = so->table; in set_table_resize() 251 assert(oldtable != NULL); in set_table_resize() 252 is_oldtable_malloced = oldtable != so->smalltable; in set_table_resize() 257 if (newtable == oldtable) { in set_table_resize() 269 memcpy(small_copy, oldtable, sizeof(small_copy)); in set_table_resize() 270 oldtable = small_copy; in set_table_resize() 282 assert(newtable != oldtable); in set_table_resize() 291 for (entry = oldtable; entry <= oldtable + oldmask; entry++) { in set_table_resize() 298 for (entry = oldtable; entry <= oldtable + oldmask; entry++) { in set_table_resize() [all …]
|
/third_party/python/Modules/ |
D | _pickle.c | 838 PyMemoEntry *oldtable = NULL; in _PyMemoTable_ResizeTable() local 858 oldtable = self->mt_table; in _PyMemoTable_ResizeTable() 861 self->mt_table = oldtable; in _PyMemoTable_ResizeTable() 871 for (oldentry = oldtable; to_process > 0; oldentry++) { in _PyMemoTable_ResizeTable() 884 PyMem_Free(oldtable); in _PyMemoTable_ResizeTable()
|