Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dgetargs.c189 addcleanup(void *ptr, freelist_t *freelist, destr_t destructor) in addcleanup() argument
193 index = freelist->first_available; in addcleanup()
194 freelist->first_available += 1; in addcleanup()
196 freelist->entries[index].item = ptr; in addcleanup()
197 freelist->entries[index].destructor = destructor; in addcleanup()
203 cleanreturn(int retval, freelist_t *freelist) in cleanreturn() argument
211 for (index = 0; index < freelist->first_available; ++index) { in cleanreturn()
212 freelist->entries[index].destructor(NULL, in cleanreturn()
213 freelist->entries[index].item); in cleanreturn()
216 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.cpp69 static heap_node* freelist = NULL; variable
82 freelist = (heap_node*)heap; in init_heap()
83 freelist->next_node = offset_from_node(list_end); in init_heap()
84 freelist->len = HEAP_SIZE / sizeof(heap_node); in init_heap()
101 if (NULL == freelist) in fallback_malloc()
105 for (p = freelist, prev = 0; p && p != list_end; in fallback_malloc()
120 freelist = node_from_offset(p->next_node); in fallback_malloc()
144 for (p = freelist, prev = 0; p && p != list_end; in fallback_free()
166 freelist = cp; in fallback_free()
178 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/valgrind/memcheck/tests/
Dbig_blocks_freed_list.vgtest2 vgopts: --freelist-vol=1000000 --freelist-big-blocks=50000
Dmemalign2.vgtest2 vgopts: -q --freelist-vol=100000 --freelist-big-blocks=0
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dstatic-functions6 /* file: freelist.c */
8 /* read a freelist record and check for simple errors */
/external/valgrind/coregrind/
Dm_mallocfree.c211 Block* freelist[N_MALLOC_LISTS]; member
603 for (i = 0; i < N_MALLOC_LISTS; i++) a->freelist[i] = NULL; in arena_init()
1190 p_best = a->freelist[lno]; in swizzle()
1205 if (p_best < a->freelist[lno]) { in swizzle()
1207 VG_(printf)("retreat by %ld\n", (Word)(a->freelist[lno] - p_best)); in swizzle()
1209 a->freelist[lno] = p_best; in swizzle()
1385 b = a->freelist[listno]; in sanity_check_malloc_arena()
1405 if (b == a->freelist[listno]) break; in sanity_check_malloc_arena()
1622 if (a->freelist[b_lno] == NULL) { in mkFreeBlock()
1625 a->freelist[b_lno] = b; in mkFreeBlock()
[all …]
/external/syslinux/com32/lua/src/
Dlauxlib.c519 #define freelist 0 macro
529 lua_rawgeti(L, t, freelist); /* get first free element */ in luaL_ref()
534 lua_rawseti(L, t, freelist); /* (t[freelist] = t[ref]) */ in luaL_ref()
546 lua_rawgeti(L, t, freelist); in luaL_unref()
549 lua_rawseti(L, t, freelist); /* t[freelist] = ref */ in luaL_unref()
/external/syslinux/com32/include/syslinux/
Dmovebits.h66 int syslinux_allocate_from_list(struct syslinux_movelist **freelist,
/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip.h100 struct brw_reg freelist; member
Dbrw_clip_tri.c104 c->reg.freelist = brw_uw16_reg(BRW_GENERAL_REGISTER_FILE, i, 0); in brw_clip_tri_alloc_regs()
/external/syslinux/mk/
Dlib.mk152 syslinux/addlist.o syslinux/freelist.o syslinux/memmap.o \
/external/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/valgrind/coregrind/m_debuginfo/
Dreadpdb.c318 unsigned short freelist; member
/external/python/cpython2/Misc/
DNEWS9323 object was stored in the freelist.
9548 - Issue #2862: Make int and float freelist management consistent with
DHISTORY3192 freelist.
/external/v8/
DChangeLog20341 Correctly setup the freelist of the coderange on Win64 (Chromium issue
/external/python/cpython3/Misc/
DHISTORY8300 - Issue #6695: Full garbage collection runs now clear the freelist of set
20576 freelist.