Searched refs:obj_size (Results 1 - 9 of 9) sorted by relevance
/third_party/libunwind/libunwind/src/mi/ |
H A D | mempool.c | 79 add_memory (struct mempool *pool, char *mem, size_t size, size_t obj_size) in add_memory() argument 83 for (obj = mem; obj <= mem + size - obj_size; obj += obj_size) in add_memory() 97 size = UNW_ALIGN(pool->obj_size, pg_size); in expand() 102 size = pool->obj_size; in expand() 106 add_memory (pool, mem, size, pool->obj_size); in expand() 110 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init() argument 120 obj_size = UNW_ALIGN(obj_size, MAX_ALIGN); in mempool_init() 124 reserve = pg_size / obj_size / in mempool_init() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | paged-spaces-inl.h | 32 const int obj_size = obj.Size(cage_base()); in FromCurrentPage() local 33 cur_addr_ += obj_size; in FromCurrentPage() 38 DCHECK_CODEOBJECT_SIZE(obj_size, space_); in FromCurrentPage() 40 DCHECK_OBJECT_SIZE(obj_size); in FromCurrentPage()
|
H A D | read-only-spaces.cc | 466 const int obj_size = obj.Size(); in FromCurrentPage() local 467 cur_addr_ += obj_size; in FromCurrentPage() 472 DCHECK_CODEOBJECT_SIZE(obj_size, space_); in FromCurrentPage() 474 DCHECK_OBJECT_SIZE(obj_size); in FromCurrentPage()
|
H A D | factory.cc | 2364 int obj_size = code->Size(); in CopyCode() local 2368 obj_size, AllocationType::kCode, AllocationOrigin::kRuntime); in CopyCode() 2373 Heap::CopyBlock(new_addr, old_addr, obj_size); in CopyCode()
|
/third_party/python/Lib/test/ |
H A D | test_tracemalloc.py | 129 obj_size = 12345 130 obj, obj_traceback = allocate_bytes(obj_size) 155 obj_size = 10 162 obj2, obj2_traceback = allocate_bytes(obj_size) 169 obj, obj_traceback = allocate_bytes(obj_size) 183 obj_size = 12345 184 obj, obj_traceback = allocate_bytes(obj_size) 191 self.assertEqual(size, obj_size) 209 obj_size = 123 210 obj1, obj1_traceback = allocate_bytes4(obj_size) [all...] |
/third_party/libunwind/libunwind/include/ |
H A D | mempool.h | 64 size_t obj_size; /* object size (rounded up for alignment) */ member 85 size_t obj_size, size_t reserve);
|
/third_party/alsa-lib/src/topology/ |
H A D | elem.c | 411 int obj_size = 0; in tplg_elem_new_common() local 464 obj_size = tptr->size; in tplg_elem_new_common() 469 if (obj_size > 0) { in tplg_elem_new_common() 470 obj = calloc(1, obj_size); in tplg_elem_new_common() 477 elem->size = obj_size; in tplg_elem_new_common()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-function-prototype.c | 273 size_t obj_size = sizeof (ecma_bound_function_t) + (arguments_number * sizeof (ecma_value_t)); in ecma_builtin_function_prototype_object_bind() local 276 obj_size, in ecma_builtin_function_prototype_object_bind()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_resource.c | 1645 align_offset_size(const VkDeviceSize alignment, VkDeviceSize *offset, VkDeviceSize *size, VkDeviceSize obj_size) in align_offset_size() argument 1653 if (*offset + *size + align > obj_size) in align_offset_size() 1654 *size = obj_size - *offset; in align_offset_size()
|
Completed in 15 milliseconds