/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]);
|
/external/v8/src/crankshaft/ |
compilation-phase.cc | 16 info_zone_start_allocation_size_ = info->zone()->allocation_size(); 23 size_t size = zone()->allocation_size(); 24 size += info_->zone()->allocation_size() - info_zone_start_allocation_size_;
|
lithium-allocator.cc | [all...] |
/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;
|
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...] |
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_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);
|
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);
|
/external/v8/src/compiler/ |
zone-pool.cc | 17 size_t size = static_cast<size_t>(zone->allocation_size()); 40 total += static_cast<size_t>(zone->allocation_size()); 87 total += static_cast<size_t>(zone->allocation_size()); 108 DCHECK_EQ(0u, zone->allocation_size()); 125 total_deleted_bytes_ += static_cast<size_t>(zone->allocation_size()); 131 DCHECK_EQ(0u, zone->allocation_size());
|
pipeline-statistics.h | 31 return static_cast<size_t>(outer_zone_->allocation_size());
|
/external/google-breakpad/src/testing/gtest/samples/ |
sample10_unittest.cc | 56 void* operator new(size_t allocation_size) { 58 return malloc(allocation_size); 61 void operator delete(void* block, size_t /* allocation_size */) {
|
/external/protobuf/gtest/samples/ |
sample10_unittest.cc | 56 void* operator new(size_t allocation_size) { 58 return malloc(allocation_size); 61 void operator delete(void* block, size_t /* allocation_size */) {
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/ |
sample10_unittest.cc | 56 void* operator new(size_t allocation_size) { 58 return malloc(allocation_size); 61 void operator delete(void* block, size_t /* allocation_size */) {
|
/ndk/sources/third_party/googletest/googletest/samples/ |
sample10_unittest.cc | 56 void* operator new(size_t allocation_size) { 58 return malloc(allocation_size); 61 void operator delete(void* block, size_t /* allocation_size */) {
|
/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/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/heap/ |
spaces-inl.h | 487 int allocation_size = size_in_bytes; local 488 HeapObject* object = AllocateLinearlyAligned(&allocation_size, alignment); 494 allocation_size += filler_size; 495 object = free_list_.Allocate(allocation_size); 497 object = SlowAllocateRaw(allocation_size); 500 object = heap()->AlignWithFiller(object, size_in_bytes, allocation_size, 504 allocation_size = size_in_bytes; 509 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), allocation_size);
|
/external/v8/test/unittests/compiler/ |
zone-pool-unittest.cc | 35 size_t size_before = zone->allocation_size(); 37 return zone->allocation_size() - size_before;
|
/external/v8/src/profiler/ |
allocation-tracker.h | 36 unsigned allocation_size() const { return total_size_; } function in class:v8::internal::AllocationTraceNode
|
/external/v8/src/snapshot/ |
serializer.cc | 369 int allocation_size; local 376 allocation_size = SeqOneByteString::SizeFor(length); 383 allocation_size = SeqTwoByteString::SizeFor(length); 389 AllocationSpace space = (allocation_size > Page::kMaxRegularHeapObjectSize) 392 SerializePrologue(space, allocation_size, map); 395 int bytes_to_output = allocation_size - HeapObject::kHeaderSize; 412 int padding_size = allocation_size - SeqString::kHeaderSize - content_size;
|
/external/v8/src/ |
zone.h | 65 size_t allocation_size() const { return allocation_size_; } function in class:v8::internal::final
|
code-stubs.cc | 3995 Node* allocation_size = object_size; local [all...] |
/external/v8/src/wasm/ |
module-decoder.cc | 781 size_t decode_memory_start = zone->allocation_size(); 795 static_cast<int>(zone->allocation_size() - decode_memory_start));
|
/external/v8/test/cctest/ |
test-heap-profiler.cc | [all...] |