Home
last modified time | relevance | path

Searched refs:oldtable (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/libxml/src/
Dhash.c201 struct _xmlHashEntry *oldtable; in xmlHashGrow() local
214 oldtable = table->table; in xmlHashGrow()
215 if (oldtable == NULL) in xmlHashGrow()
220 table->table = oldtable; in xmlHashGrow()
233 if (oldtable[i].valid == 0) in xmlHashGrow()
235 key = xmlHashComputeKey(table, oldtable[i].name, oldtable[i].name2, in xmlHashGrow()
236 oldtable[i].name3); in xmlHashGrow()
237 memcpy(&(table->table[key]), &(oldtable[i]), sizeof(xmlHashEntry)); in xmlHashGrow()
242 iter = oldtable[i].next; in xmlHashGrow()
269 xmlFree(oldtable); in xmlHashGrow()
/external/libxml2/
Dhash.c233 struct _xmlHashEntry *oldtable; in xmlHashGrow() local
246 oldtable = table->table; in xmlHashGrow()
247 if (oldtable == NULL) in xmlHashGrow()
252 table->table = oldtable; in xmlHashGrow()
265 if (oldtable[i].valid == 0) in xmlHashGrow()
267 key = xmlHashComputeKey(table, oldtable[i].name, oldtable[i].name2, in xmlHashGrow()
268 oldtable[i].name3); in xmlHashGrow()
269 memcpy(&(table->table[key]), &(oldtable[i]), sizeof(xmlHashEntry)); in xmlHashGrow()
274 iter = oldtable[i].next; in xmlHashGrow()
301 xmlFree(oldtable); in xmlHashGrow()