Home
last modified time | relevance | path

Searched refs:freelist (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython3/Python/
Dgetargs.c220 addcleanup(void *ptr, freelist_t *freelist, destr_t destructor) in addcleanup() argument
224 index = freelist->first_available; in addcleanup()
225 freelist->first_available += 1; in addcleanup()
227 freelist->entries[index].item = ptr; in addcleanup()
228 freelist->entries[index].destructor = destructor; in addcleanup()
234 cleanreturn(int retval, freelist_t *freelist) in cleanreturn() argument
242 for (index = 0; index < freelist->first_available; ++index) { in cleanreturn()
243 freelist->entries[index].destructor(NULL, in cleanreturn()
244 freelist->entries[index].item); in cleanreturn()
247 if (freelist->entries_malloced) in cleanreturn()
[all …]
Ddtoa.c350 static Bigint *freelist[Kmax+1]; variable
361 if (k <= Kmax && (rv = freelist[k])) in Balloc()
362 freelist[k] = rv->next; in Balloc()
392 v->next = freelist[v->k]; in Bfree()
393 freelist[v->k] = v; in Bfree()
/external/libcxxabi/src/
Dfallback_malloc.cpp72 static heap_node* freelist = NULL; variable
85 freelist = (heap_node*)heap; in init_heap()
86 freelist->next_node = offset_from_node(list_end); in init_heap()
87 freelist->len = HEAP_SIZE / sizeof(heap_node); in init_heap()
104 if (NULL == freelist) in fallback_malloc()
108 for (p = freelist, prev = 0; p && p != list_end; in fallback_malloc()
123 freelist = node_from_offset(p->next_node); in fallback_malloc()
147 for (p = freelist, prev = 0; p && p != list_end; in fallback_free()
169 freelist = cp; in fallback_free()
181 cp->next_node = offset_from_node(freelist); in fallback_free()
[all …]
/external/python/cpython2/Python/
Dgetargs.c164 addcleanup(void *ptr, PyObject **freelist, PyCapsule_Destructor destr) in addcleanup() argument
169 if (!*freelist) { in addcleanup()
170 *freelist = PyList_New(0); in addcleanup()
171 if (!*freelist) { in addcleanup()
189 if (PyList_Append(*freelist, cobj)) { in addcleanup()
198 cleanreturn(int retval, PyObject *freelist) in cleanreturn() argument
200 if (freelist && retval != 0) { in cleanreturn()
203 Py_ssize_t len = PyList_GET_SIZE(freelist), i; in cleanreturn()
205 PyCapsule_SetDestructor(PyList_GET_ITEM(freelist, i), NULL); in cleanreturn()
207 Py_XDECREF(freelist); in cleanreturn()
[all …]
Ddtoa.c349 static Bigint *freelist[Kmax+1]; variable
360 if (k <= Kmax && (rv = freelist[k])) in Balloc()
361 freelist[k] = rv->next; in Balloc()
391 v->next = freelist[v->k]; in Bfree()
392 freelist[v->k] = v; in Bfree()
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dstatic-functions6 /* file: freelist.c */
8 /* read a freelist record and check for simple errors */
/external/lua/src/
Dlauxlib.c592 #define freelist 0 macro
602 lua_rawgeti(L, t, freelist); /* get first free element */ in luaL_ref()
607 lua_rawseti(L, t, freelist); /* (t[freelist] = t[ref]) */ in luaL_ref()
619 lua_rawgeti(L, t, freelist); in luaL_unref()
622 lua_rawseti(L, t, freelist); /* t[freelist] = ref */ in luaL_unref()
/external/mesa3d/src/intel/compiler/
Dbrw_clip.h67 struct brw_reg freelist; member
Dbrw_clip_tri.c99 c->reg.freelist = brw_uw16_reg(BRW_GENERAL_REGISTER_FILE, i, 0); in brw_clip_tri_alloc_regs()
/external/llvm/docs/
DScudoHardenedAllocator.rst58 A delayed freelist allows us to not return a chunk directly to the backend, but
59 to keep it aside for a while. Once a criterion is met, the delayed freelist is
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DScudoHardenedAllocator.rst77 A delayed freelist allows us to not return a chunk directly to the Backend, but
78 to keep it aside for a while. Once a criterion is met, the delayed freelist is
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt200 freelist # very slight race
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dtrip-count7.ll21 @freelist = external global i32 ; <i32*> [#uses=0]
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
Dtrip-count7.ll20 @freelist = external global i32 ; <i32*> [#uses=0]
/external/llvm/test/Analysis/ScalarEvolution/
Dtrip-count7.ll21 @freelist = external global i32 ; <i32*> [#uses=0]
/external/python/cpython2/Misc/NEWS.d/
D2.6b2.rst129 Make int and float freelist management consistent with other freelists.
D2.6b3.rst52 in the freelist.
/external/python/cpython3/Misc/
DHISTORY8300 - Issue #6695: Full garbage collection runs now clear the freelist of set
20576 freelist.
/external/v8/
DChangeLog41221 Correctly setup the freelist of the coderange on Win64 (Chromium issue
/external/python/cpython2/Misc/
DHISTORY3192 freelist.