/external/libcxxabi/src/ |
D | fallback_malloc.cpp | 72 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/llvm-project/libcxxabi/src/ |
D | fallback_malloc.cpp | 74 static heap_node* freelist = NULL; variable 87 freelist = (heap_node*)heap; in init_heap() 88 freelist->next_node = offset_from_node(list_end); in init_heap() 89 freelist->len = HEAP_SIZE / sizeof(heap_node); in init_heap() 106 if (NULL == freelist) in fallback_malloc() 110 for (p = freelist, prev = 0; p && p != list_end; in fallback_malloc() 125 freelist = node_from_offset(p->next_node); in fallback_malloc() 148 for (p = freelist, prev = 0; p && p != list_end; in fallback_free() 168 freelist = cp; in fallback_free() 179 cp->next_node = offset_from_node(freelist); in fallback_free() [all …]
|
/external/python/cffi/demo/ |
D | pyobj.py | 3 freelist = None variable 7 global freelist 8 p = freelist 13 freelist = referents[p] 20 global freelist 22 referents[p] = freelist 23 freelist = p 40 p = freelist
|
/external/python/cpython3/Python/ |
D | getargs.c | 221 addcleanup(void *ptr, freelist_t *freelist, destr_t destructor) in addcleanup() argument 225 index = freelist->first_available; in addcleanup() 226 freelist->first_available += 1; in addcleanup() 228 freelist->entries[index].item = ptr; in addcleanup() 229 freelist->entries[index].destructor = destructor; in addcleanup() 235 cleanreturn(int retval, freelist_t *freelist) in cleanreturn() argument 243 for (index = 0; index < freelist->first_available; ++index) { in cleanreturn() 244 freelist->entries[index].destructor(NULL, in cleanreturn() 245 freelist->entries[index].item); in cleanreturn() 248 if (freelist->entries_malloced) in cleanreturn() [all …]
|
/external/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 207 AllocList freelist ABSL_GUARDED_BY(mu); 358 freelist.header.size = 0; in Arena() 359 freelist.header.magic = in Arena() 360 Magic(kMagicUnallocated, &freelist.header); in Arena() 361 freelist.header.arena = this; in Arena() 362 freelist.levels = 0; in Arena() 363 memset(freelist.next, 0, sizeof(freelist.next)); in Arena() 392 while (arena->freelist.next[0] != nullptr) { in DeleteArena() 393 AllocList *region = arena->freelist.next[0]; in DeleteArena() 395 arena->freelist.next[0] = region->next[0]; in DeleteArena() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 207 AllocList freelist ABSL_GUARDED_BY(mu); 358 freelist.header.size = 0; in Arena() 359 freelist.header.magic = in Arena() 360 Magic(kMagicUnallocated, &freelist.header); in Arena() 361 freelist.header.arena = this; in Arena() 362 freelist.levels = 0; in Arena() 363 memset(freelist.next, 0, sizeof(freelist.next)); in Arena() 392 while (arena->freelist.next[0] != nullptr) { in DeleteArena() 393 AllocList *region = arena->freelist.next[0]; in DeleteArena() 395 arena->freelist.next[0] = region->next[0]; in DeleteArena() [all …]
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | low_level_alloc.cc | 207 AllocList freelist ABSL_GUARDED_BY(mu); 358 freelist.header.size = 0; in Arena() 359 freelist.header.magic = in Arena() 360 Magic(kMagicUnallocated, &freelist.header); in Arena() 361 freelist.header.arena = this; in Arena() 362 freelist.levels = 0; in Arena() 363 memset(freelist.next, 0, sizeof(freelist.next)); in Arena() 392 while (arena->freelist.next[0] != nullptr) { in DeleteArena() 393 AllocList *region = arena->freelist.next[0]; in DeleteArena() 395 arena->freelist.next[0] = region->next[0]; in DeleteArena() [all …]
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 207 AllocList freelist ABSL_GUARDED_BY(mu); 358 freelist.header.size = 0; in Arena() 359 freelist.header.magic = in Arena() 360 Magic(kMagicUnallocated, &freelist.header); in Arena() 361 freelist.header.arena = this; in Arena() 362 freelist.levels = 0; in Arena() 363 memset(freelist.next, 0, sizeof(freelist.next)); in Arena() 392 while (arena->freelist.next[0] != nullptr) { in DeleteArena() 393 AllocList *region = arena->freelist.next[0]; in DeleteArena() 395 arena->freelist.next[0] = region->next[0]; in DeleteArena() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 207 AllocList freelist ABSL_GUARDED_BY(mu); 358 freelist.header.size = 0; in Arena() 359 freelist.header.magic = in Arena() 360 Magic(kMagicUnallocated, &freelist.header); in Arena() 361 freelist.header.arena = this; in Arena() 362 freelist.levels = 0; in Arena() 363 memset(freelist.next, 0, sizeof(freelist.next)); in Arena() 392 while (arena->freelist.next[0] != nullptr) { in DeleteArena() 393 AllocList *region = arena->freelist.next[0]; in DeleteArena() 395 arena->freelist.next[0] = region->next[0]; in DeleteArena() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc.cc | 207 AllocList freelist ABSL_GUARDED_BY(mu); 358 freelist.header.size = 0; in Arena() 359 freelist.header.magic = in Arena() 360 Magic(kMagicUnallocated, &freelist.header); in Arena() 361 freelist.header.arena = this; in Arena() 362 freelist.levels = 0; in Arena() 363 memset(freelist.next, 0, sizeof(freelist.next)); in Arena() 392 while (arena->freelist.next[0] != nullptr) { in DeleteArena() 393 AllocList *region = arena->freelist.next[0]; in DeleteArena() 395 arena->freelist.next[0] = region->next[0]; in DeleteArena() [all …]
|
/external/python/cpython2/Python/ |
D | getargs.c | 164 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 …]
|
/external/pigweed/pw_allocator/ |
D | BUILD.gn | 38 ":freelist", 54 pw_source_set("freelist") { 57 public = [ "public/pw_allocator/freelist.h" ] 62 sources = [ "freelist.cc" ] 71 ":freelist", 96 deps = [ ":freelist" ]
|
D | BUILD | 41 name = "freelist", 43 "freelist.cc", 46 "public/pw_allocator/freelist.h", 66 ":freelist", 88 ":freelist",
|
D | freelist_heap.cc | 24 FreeListHeap::FreeListHeap(std::span<std::byte> region, FreeList& freelist) in FreeListHeap() argument 25 : freelist_(freelist), heap_stats_() { in FreeListHeap()
|
D | docs.rst | 12 - ``freelist``: A freelist, suitable for fast lookups of available memory
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | upb.c | 106 block->next = root->freelist; in upb_arena_addblock() 109 root->freelist = block; in upb_arena_addblock() 161 a->freelist = NULL; in arena_initslow() 189 a->freelist = NULL; in upb_arena_init() 196 mem_block *block = a->freelist; in arena_dofree() 260 r2->freelist_tail->next = r1->freelist; in upb_arena_fuse() 261 r1->freelist = r2->freelist; in upb_arena_fuse()
|
D | upb.int.h | 26 mem_block *freelist, *freelist_tail; member
|
/external/pigweed/pw_malloc_freelist/ |
D | docs.rst | 7 ``pw_malloc_freelist`` implements the ``pw_malloc`` facade using a freelist 14 ``realloc`` and ``calloc`` that uses the freelist implementation of heap in 17 the case of freelist, we specify the wrapper functions ``malloc, free, realloc,
|
/external/arm-trusted-firmware/tools/sptool/ |
D | sptool.c | 117 static void freelist(struct arg_list *head) in freelist() function 337 freelist(in_head); in main() 338 freelist(out_head); in main() 356 freelist(in_head); in main() 357 freelist(out_head); in main()
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-functions | 6 /* file: freelist.c */ 8 /* read a freelist record and check for simple errors */
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_alloc.cpp | 168 bfhead_t freelist[MAX_BGET_BINS]; member 238 data->freelist[i].ql.flink = &data->freelist[i]; in set_thr_data() 239 data->freelist[i].ql.blink = &data->freelist[i]; in set_thr_data() 373 KMP_DEBUG_ASSERT(thr->freelist[bin].ql.blink->ql.flink == in __kmp_bget_insert_into_freelist() 374 &thr->freelist[bin]); in __kmp_bget_insert_into_freelist() 375 KMP_DEBUG_ASSERT(thr->freelist[bin].ql.flink->ql.blink == in __kmp_bget_insert_into_freelist() 376 &thr->freelist[bin]); in __kmp_bget_insert_into_freelist() 378 b->ql.flink = &thr->freelist[bin]; in __kmp_bget_insert_into_freelist() 379 b->ql.blink = thr->freelist[bin].ql.blink; in __kmp_bget_insert_into_freelist() 381 thr->freelist[bin].ql.blink = b; in __kmp_bget_insert_into_freelist() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_combine_stores.c | 80 struct list_head freelist; member 87 if (list_is_empty(&state->freelist)) { in alloc_combined_store() 90 result = list_first_entry(&state->freelist, in alloc_combined_store() 105 list_add(&combo->link, &state->freelist); in free_combined_store() 458 list_inithead(&state.freelist); in nir_opt_combine_stores()
|
/external/icing/icing/index/main/ |
D | flash-index-storage.cc | 478 FreeList& freelist = in_memory_freelists_.at(i); in FlushInMemoryFreeList() local 479 auto freelist_elt_or = freelist.TryPop(); in FlushInMemoryFreeList() 489 freelist_elt_or = freelist.TryPop(); in FlushInMemoryFreeList() 501 freelist_elt_or = freelist.TryPop(); in FlushInMemoryFreeList()
|
/external/pigweed/pw_allocator/public/pw_allocator/ |
D | freelist_heap.h | 37 FreeListHeap(std::span<std::byte> region, FreeList& freelist);
|
/external/mesa3d/src/intel/compiler/ |
D | brw_clip.h | 67 struct brw_reg freelist; member
|