/third_party/python/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 …]
|
D | context.c | 351 ctx = state->freelist; in _context_alloc() 352 state->freelist = (PyContext *)ctx->ctx_weakreflist; in _context_alloc() 479 self->ctx_weakreflist = (PyObject *)state->freelist; in context_tp_dealloc() 480 state->freelist = self; in context_tp_dealloc() 1294 PyContext *ctx = state->freelist; in _PyContext_ClearFreeList() 1295 state->freelist = (PyContext *)ctx->ctx_weakreflist; in _PyContext_ClearFreeList()
|
D | dtoa.c | 354 static Bigint *freelist[Kmax+1]; variable 365 if (k <= Kmax && (rv = freelist[k])) in Balloc() 366 freelist[k] = rv->next; in Balloc() 396 v->next = freelist[v->k]; in Bfree() 397 freelist[v->k] = v; in Bfree()
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | mem_sec.c | 299 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size]) 314 char **freelist; member 463 sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *)); in sh_init() 464 OPENSSL_assert(sh.freelist != NULL); in sh_init() 465 if (sh.freelist == NULL) in sh_init() 526 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init() 580 OPENSSL_free(sh.freelist); in sh_done() 629 if (sh.freelist[slist] != NULL) in sh_malloc() 636 char *temp = sh.freelist[slist]; in sh_malloc() 642 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc() [all …]
|
/third_party/openssl/crypto/ |
D | mem_sec.c | 293 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size]) 308 char **freelist; member 457 sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *)); in sh_init() 458 OPENSSL_assert(sh.freelist != NULL); in sh_init() 459 if (sh.freelist == NULL) in sh_init() 520 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init() 574 OPENSSL_free(sh.freelist); in sh_done() 623 if (sh.freelist[slist] != NULL) in sh_malloc() 630 char *temp = sh.freelist[slist]; in sh_malloc() 636 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | allocate.c | 59 desc->freelist = NULL; in drop_all_allocations() 70 *p = desc->freelist; in free_one_entry() 71 desc->freelist = p; in free_one_entry() 87 if (desc->freelist) { in allocate() 88 void **p = desc->freelist; in allocate() 90 desc->freelist = *p; in allocate()
|
D | allocate.h | 17 void *freelist; member
|
/third_party/nghttp2/src/ |
D | memchunk_test.cc | 41 CU_ASSERT(nullptr == pool.freelist); in test_pool_recycle() 47 CU_ASSERT(nullptr == pool.freelist); in test_pool_recycle() 53 CU_ASSERT(nullptr == pool.freelist); in test_pool_recycle() 61 CU_ASSERT(nullptr == pool.freelist); in test_pool_recycle() 67 CU_ASSERT(m3 == pool.freelist); in test_pool_recycle() 74 CU_ASSERT(nullptr == pool.freelist); in test_pool_recycle() 79 CU_ASSERT(m1 == pool.freelist); in test_pool_recycle() 191 CU_ASSERT(nullptr != pool.freelist); in test_memchunks_recycle() 193 auto m = pool.freelist; in test_memchunks_recycle() 216 auto m = pool.freelist; in test_memchunks_reset()
|
D | memchunk.h | 75 Pool() : pool(nullptr), freelist(nullptr), poolsize(0), freelistsize(0) {} in Pool() 78 if (freelist) { in get() 79 auto m = freelist; in get() 80 freelist = freelist->next; in get() 92 m->next = freelist; in recycle() 93 freelist = m; in recycle() 97 freelist = nullptr; in clear() 109 T *freelist; member
|
/third_party/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()
|
/third_party/node/deps/v8/src/heap/cppgc/ |
D | free-list.h | 39 FreeList(FreeList&& freelist) V8_NOEXCEPT; 40 FreeList& operator=(FreeList&& freelist) V8_NOEXCEPT;
|
/third_party/musl/src/regex/ |
D | glob.c | 180 static void freelist(struct match *head) in freelist() function 257 freelist(&head); in glob() 275 freelist(&head); in glob() 283 freelist(&head); in glob()
|
/third_party/FreeBSD/contrib/gdtoa/ |
D | misc.c | 34 static Bigint *freelist[Kmax+1]; variable 60 if (k <= Kmax && (rv = freelist[k]) !=0) { 61 freelist[k] = rv->next; 102 v->next = freelist[v->k]; 103 freelist[v->k] = v;
|
/third_party/node/deps/npm/node_modules/builtins/ |
D | index.js | 41 freelist: '<6.0.0', property
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_clip.h | 67 struct brw_reg freelist; member
|
D | brw_clip_tri.c | 100 c->reg.freelist = brw_uw16_reg(BRW_GENERAL_REGISTER_FILE, i, 0); in brw_clip_tri_alloc_regs()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 1372 list_del(&hole->freelist); in remove_hole() 1381 list_addtail(&hole->freelist, &device->shader_free_lists[size_class]); in add_hole() 1433 &device->shader_free_lists[size_class], freelist) in radv_alloc_shader_memory() 1442 hole->freelist.next = ptr; in radv_alloc_shader_memory() 1452 alloc->freelist.prev = NULL; in radv_alloc_shader_memory() 1453 alloc->freelist.next = ptr; in radv_alloc_shader_memory() 1499 alloc->freelist.prev = NULL; in radv_alloc_shader_memory() 1500 alloc->freelist.next = ptr; in radv_alloc_shader_memory() 1537 return hole->freelist.prev ? hole : NULL; in get_hole() 2583 if (!block->freelist.prev && pc >= start && pc < start + block->size) { [all …]
|
D | radv_shader.h | 483 struct list_head freelist; member
|
/third_party/python/Include/internal/ |
D | pycore_interp.h | 156 PyContext *freelist; member
|
/third_party/node/doc/contributing/ |
D | writing-tests.md | 275 A test that would require `internal/freelist` could start like this: 284 const freelist = require('node:internal/freelist');
|
/third_party/node/src/ |
D | node_file.cc | 550 auto& freelist = binding_data_->file_handle_read_wrap_freelist; in ReadStart() local 551 if (freelist.size() > 0) { in ReadStart() 552 read_wrap = std::move(freelist.back()); in ReadStart() 553 freelist.pop_back(); in ReadStart() 609 auto& freelist = handle->binding_data_->file_handle_read_wrap_freelist; in ReadStart() local 610 if (freelist.size() < kWantedFreelistFill) { in ReadStart() 612 freelist.emplace_back(std::move(read_wrap)); in ReadStart()
|
/third_party/libfuse/lib/ |
D | fuse.c | 103 struct list_head freelist; member 431 init_list_head(&slab->freelist); in alloc_slab() 440 list_add_tail(n, &slab->freelist); in alloc_slab() 459 node = slab->freelist.next; in alloc_node() 461 if (list_empty(&slab->freelist)) { in alloc_node() 488 if (list_empty(&slab->freelist)) { in free_node_mem() 492 list_add_head(n, &slab->freelist); in free_node_mem()
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 2362 mem_block *freelist, *freelist_tail; member 2383 block->next = root->freelist; in upb_arena_addblock() 2386 root->freelist = block; in upb_arena_addblock() 2442 a->freelist = NULL; in arena_initslow() 2471 a->freelist = NULL; in upb_arena_init() 2478 mem_block *block = a->freelist; in arena_dofree() 2541 r2->freelist_tail->next = r1->freelist; in upb_arena_fuse() 2542 r1->freelist = r2->freelist; in upb_arena_fuse()
|
/third_party/node/ |
D | onboarding.md | 169 * That is to say, `url` is there because of `http`, `freelist` is there
|