/external/compiler-rt/test/asan/TestCases/ |
mmap_limit_mb.cc | 24 long allocation_size = atoi(argv[2]); local 25 fprintf(stderr, "total_mb: %zd allocation_size: %zd\n", total_mb, 26 allocation_size); 28 for (long total = total_mb << 20; total > 0; total -= allocation_size) 29 v.push_back(new char[allocation_size]);
|
/art/runtime/gc/space/ |
dlmalloc_space-inl.h | 65 size_t allocation_size = AllocationSizeNonvirtual(result, usable_size); local 67 *bytes_allocated = allocation_size; 68 *bytes_tl_bulk_allocated = allocation_size;
|
memory_tool_malloc_space-inl.h | 66 // and DlMalloc (allocation_size = (usable_size == num_bytes) + 4, 4 is management) 202 size_t allocation_size = AllocationSize(ptr, &usable_size); local 206 // e.g., whether there's data in the allocation_size (and usable_size can't be trusted). 208 MEMORY_TOOL_MAKE_UNDEFINED(obj_with_rdz, allocation_size);
|
large_object_space_test.cc | 53 size_t allocation_size = 0; local 55 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr, 58 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr)); 59 ASSERT_GE(allocation_size, request_size); 60 ASSERT_EQ(allocation_size, bytes_tl_bulk_allocated);
|
space_create_test.cc | 315 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; local 320 &allocation_size, 325 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); 328 bytes_tl_bulk_allocated >= allocation_size); 336 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; local 340 &allocation_size, 345 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); 348 bytes_tl_bulk_allocated >= allocation_size);
|
space_test.h | 208 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); local 209 EXPECT_EQ(bytes_allocated, allocation_size); 211 EXPECT_GE(allocation_size, static_cast<size_t>(object_size)); 213 EXPECT_GE(allocation_size, 8u); 216 bytes_tl_bulk_allocated >= allocation_size); 217 amount_allocated += allocation_size; 265 size_t allocation_size = space->AllocationSize(object, nullptr); local 267 EXPECT_GE(allocation_size, static_cast<size_t>(object_size)); 269 EXPECT_GE(allocation_size, 8u); 273 amount_allocated -= allocation_size; [all...] |
large_object_space.cc | 156 const size_t allocation_size = mem_map->BaseSize(); local 159 uint8_t* obj_end = reinterpret_cast<uint8_t*>(obj) + allocation_size; 163 *bytes_allocated = allocation_size; 165 *usable_size = allocation_size; 168 *bytes_tl_bulk_allocated = allocation_size; 169 num_bytes_allocated_ += allocation_size; 170 total_bytes_allocated_ += allocation_size; 201 size_t allocation_size = map_size; local 202 num_bytes_allocated_ -= allocation_size; 206 return allocation_size; 416 const size_t allocation_size = info->ByteSize(); local 482 const size_t allocation_size = RoundUp(num_bytes, kAlignment); local [all...] |
/art/runtime/base/ |
scoped_arena_allocator.cc | 57 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); local 59 top_arena_ = bottom_arena_ = stats_and_pool_.pool->AllocArena(allocation_size); 61 } else if (top_arena_->next_ != nullptr && top_arena_->next_->Size() >= allocation_size) { 65 top_arena_->next_ = stats_and_pool_.pool->AllocArena(allocation_size);
|
/external/v8/src/heap/ |
spaces-inl.h | 395 int allocation_size = size_in_bytes; local 396 HeapObject* object = AllocateLinearlyAligned(&allocation_size, alignment); 402 allocation_size += filler_size; 403 object = free_list_.Allocate(allocation_size); 405 object = SlowAllocateRaw(allocation_size); 408 object = heap()->AlignWithFiller(object, size_in_bytes, allocation_size, 412 allocation_size = size_in_bytes; 417 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), allocation_size);
|
/external/v8/src/profiler/ |
allocation-tracker.h | 36 unsigned allocation_size() const { return total_size_; } function in class:v8::internal::AllocationTraceNode
|
/external/v8/src/ |
zone.h | 65 size_t allocation_size() const { return allocation_size_; } function in class:v8::internal::final
|
/external/curl/lib/ |
smb.h | 169 unsigned long long allocation_size; member in struct:smb_nt_create 171 unsigned __int64 allocation_size; member in struct:smb_nt_create 203 unsigned long long allocation_size; member in struct:smb_nt_create_response 206 unsigned __int64 allocation_size; member in struct:smb_nt_create_response
|
/external/v8/src/snapshot/ |
serialize.cc | 1863 int allocation_size; local [all...] |