Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 6 of 6) sorted by relevance

/external/libunwind/src/mi/
Dmempool.c96 add_memory (struct mempool *pool, char *mem, size_t size, size_t obj_size) in add_memory() argument
100 for (obj = mem; obj <= mem + size - obj_size; obj += obj_size) in add_memory()
114 size = UNW_ALIGN(pool->obj_size, pg_size); in expand()
119 size = pool->obj_size; in expand()
123 add_memory (pool, mem, size, pool->obj_size); in expand()
127 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init() argument
137 obj_size = UNW_ALIGN(obj_size, MAX_ALIGN); in mempool_init()
141 reserve = pg_size / obj_size / 4; in mempool_init()
146 pool->obj_size = obj_size; in mempool_init()
148 pool->chunk_size = UNW_ALIGN(2*reserve*obj_size, pg_size); in mempool_init()
/external/python/cpython3/Lib/test/
Dtest_tracemalloc.py108 obj_size = 12345
109 obj, obj_traceback = allocate_bytes(obj_size)
114 obj_size = 10
121 obj2, obj2_traceback = allocate_bytes(obj_size)
128 obj, obj_traceback = allocate_bytes(obj_size)
142 obj_size = 12345
143 obj, obj_traceback = allocate_bytes(obj_size)
150 self.assertEqual(size, obj_size)
168 obj_size = 123
169 obj1, obj1_traceback = allocate_bytes4(obj_size)
[all …]
/external/libunwind/include/
Dmempool.h64 size_t obj_size; /* object size (rounded up for alignment) */ member
85 size_t obj_size, size_t reserve);
/external/v8/src/heap/
Dspaces-inl.h79 const int obj_size = obj->Size(); in FromCurrentPage() local
80 cur_addr_ += obj_size; in FromCurrentPage()
85 DCHECK_CODEOBJECT_SIZE(obj_size, space_); in FromCurrentPage()
87 DCHECK_OBJECT_SIZE(obj_size); in FromCurrentPage()
Dfactory.cc2709 int obj_size = code->Size(); in CopyCode() local
2710 HeapObject* result = heap->AllocateRawWithRetryOrFail(obj_size, CODE_SPACE); in CopyCode()
2715 Heap::CopyBlock(new_addr, old_addr, obj_size); in CopyCode()
2735 obj_size <= heap->code_space()->AreaSize()); in CopyCode()
Dheap.cc5856 int obj_size = GcSafeSizeOfCodeSpaceObject(obj); in GcSafeFindCodeForInnerPointer() local
5857 Address next_addr = addr + obj_size; in GcSafeFindCodeForInnerPointer()