Searched refs:newtable (Results 1 – 4 of 4) sorted by relevance
/external/fonttools/Snippets/ |
D | cmap-format.py | 30 newtable = CmapSubtable.newSubtable(4) variable 31 newtable.platformID = table.platformID 32 newtable.platEncID = table.platEncID 33 newtable.language = table.language 34 newtable.cmap = table.cmap 35 outtables.append(newtable)
|
/external/python/cpython3/Objects/ |
D | setobject.c | 220 setentry *oldtable, *newtable, *entry; in set_table_resize() local 242 newtable = so->smalltable; in set_table_resize() 243 if (newtable == oldtable) { in set_table_resize() 260 newtable = PyMem_NEW(setentry, newsize); in set_table_resize() 261 if (newtable == NULL) { in set_table_resize() 268 assert(newtable != oldtable); in set_table_resize() 269 memset(newtable, 0, sizeof(setentry) * newsize); in set_table_resize() 271 so->table = newtable; in set_table_resize() 279 set_insert_clean(newtable, newmask, entry->key, entry->hash); in set_table_resize() 286 set_insert_clean(newtable, newmask, entry->key, entry->hash); in set_table_resize() [all …]
|
/external/python/cpython2/Objects/ |
D | setobject.c | 274 setentry *oldtable, *newtable, *entry; in set_table_resize() local 298 newtable = so->smalltable; in set_table_resize() 299 if (newtable == oldtable) { in set_table_resize() 316 newtable = PyMem_NEW(setentry, newsize); in set_table_resize() 317 if (newtable == NULL) { in set_table_resize() 324 assert(newtable != oldtable); in set_table_resize() 325 so->table = newtable; in set_table_resize() 327 memset(newtable, 0, sizeof(setentry) * newsize); in set_table_resize()
|
D | dictobject.c | 601 PyDictEntry *oldtable, *newtable, *ep; in dictresize() local 625 newtable = mp->ma_smalltable; in dictresize() 626 if (newtable == oldtable) { in dictresize() 643 newtable = PyMem_NEW(PyDictEntry, newsize); in dictresize() 644 if (newtable == NULL) { in dictresize() 651 assert(newtable != oldtable); in dictresize() 652 mp->ma_table = newtable; in dictresize() 654 memset(newtable, 0, sizeof(PyDictEntry) * newsize); in dictresize()
|