Home
last modified time | relevance | path

Searched refs:allocation_size (Results 1 – 23 of 23) sorted by relevance

/external/compiler-rt/test/asan/TestCases/Posix/
Dmmap_limit_mb.cc24 long allocation_size = atoi(argv[2]); in main() local
26 allocation_size); in main()
28 for (long total = total_mb << 20; total > 0; total -= allocation_size) in main()
29 v.push_back(new char[allocation_size]); in main()
/external/v8/src/compiler/
Dzone-stats.cc17 size_t size = static_cast<size_t>(zone->allocation_size()); in StatsScope()
37 total += static_cast<size_t>(zone->allocation_size()); in GetCurrentAllocatedBytes()
78 total += static_cast<size_t>(zone->allocation_size()); in GetCurrentAllocatedBytes()
105 total_deleted_bytes_ += static_cast<size_t>(zone->allocation_size()); in ReturnZone()
Dpipeline-statistics.h31 return static_cast<size_t>(outer_zone_->allocation_size()); in OuterZoneSize()
/external/v8/src/crankshaft/
Dcompilation-phase.cc17 info_zone_start_allocation_size_ = info->zone()->allocation_size(); in CompilationPhase()
24 size_t size = zone()->allocation_size(); in ~CompilationPhase()
25 size += info_->zone()->allocation_size() - info_zone_start_allocation_size_; in ~CompilationPhase()
Dlithium-allocator.cc2168 allocator->zone()->allocation_size(); in LAllocatorPhase()
2175 size_t size = allocator_->zone()->allocation_size() - in ~LAllocatorPhase()
/external/v8/src/heap/
Dspaces-inl.h464 int allocation_size = size_in_bytes; in AllocateRawAligned() local
465 HeapObject* object = AllocateLinearlyAligned(&allocation_size, alignment); in AllocateRawAligned()
471 allocation_size += filler_size; in AllocateRawAligned()
472 object = free_list_.Allocate(allocation_size); in AllocateRawAligned()
474 object = SlowAllocateRaw(allocation_size); in AllocateRawAligned()
479 Address end = object->address() + allocation_size; in AllocateRawAligned()
483 object = heap()->AlignWithFiller(object, size_in_bytes, allocation_size, in AllocateRawAligned()
487 allocation_size = size_in_bytes; in AllocateRawAligned()
493 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), allocation_size); in AllocateRawAligned()
Dheap.h1471 int allocation_size,
Dheap.cc2047 int allocation_size, in AlignWithFiller() argument
2049 int filler_size = allocation_size - object_size; in AlignWithFiller()
/external/protobuf/gtest/samples/
Dsample10_unittest.cc56 void* operator new(size_t allocation_size) { in operator new() argument
58 return malloc(allocation_size); in operator new()
/external/v8/testing/gtest/samples/
Dsample10_unittest.cc56 void* operator new(size_t allocation_size) { in operator new() argument
58 return malloc(allocation_size); in operator new()
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
Dsample10_unittest.cc56 void* operator new(size_t allocation_size) { in operator new() argument
58 return malloc(allocation_size); in operator new()
/external/googletest/googletest/samples/
Dsample10_unittest.cc53 void* operator new(size_t allocation_size) { in operator new() argument
55 return malloc(allocation_size); in operator new()
/external/google-breakpad/src/testing/gtest/samples/
Dsample10_unittest.cc56 void* operator new(size_t allocation_size) { in operator new() argument
58 return malloc(allocation_size); in operator new()
/external/v8/src/snapshot/
Dserializer.cc393 int allocation_size; in SerializeExternalString() local
400 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalString()
407 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalString()
414 (allocation_size > kMaxRegularHeapObjectSize) ? LO_SPACE : OLD_SPACE; in SerializeExternalString()
415 SerializePrologue(space, allocation_size, map); in SerializeExternalString()
418 int bytes_to_output = allocation_size - HeapObject::kHeaderSize; in SerializeExternalString()
435 int padding_size = allocation_size - SeqString::kHeaderSize - content_size; in SerializeExternalString()
/external/curl/lib/
Dsmb.h169 curl_off_t allocation_size; member
193 curl_off_t allocation_size; member
/external/vulkan-validation-layers/layers/
Dunique_objects.cpp593 size_t allocation_size = 0; in BuildUnwrappedUpdateTemplateBuffer() local
608allocation_size = std::max(allocation_size, offset + sizeof(VkDescriptorImageInfo)); in BuildUnwrappedUpdateTemplateBuffer()
621allocation_size = std::max(allocation_size, offset + sizeof(VkDescriptorBufferInfo)); in BuildUnwrappedUpdateTemplateBuffer()
631 allocation_size = std::max(allocation_size, offset + sizeof(VkBufferView)); in BuildUnwrappedUpdateTemplateBuffer()
643 void *unwrapped_data = malloc(allocation_size); in BuildUnwrappedUpdateTemplateBuffer()
/external/v8/src/profiler/
Dallocation-tracker.h36 unsigned allocation_size() const { return total_size_; } in allocation_size() function
Dheap-snapshot-generator.cc2974 buffer_pos = utoa(node->allocation_size(), buffer, buffer_pos); in SerializeTraceNode()
/external/v8/src/builtins/
Dbuiltins-constructor.cc676 Node* allocation_size = object_size; in EmitFastCloneShallowObject() local
678 allocation_size = in EmitFastCloneShallowObject()
688 Node* copy = Allocate(allocation_size); in EmitFastCloneShallowObject()
/external/v8/src/zone/
Dzone.h64 size_t allocation_size() const { return allocation_size_; } in allocation_size() function
/external/v8/src/wasm/
Dmodule-decoder.cc1200 static_cast<int>(zone->allocation_size())); in DecodeWasmModule()
/external/v8/src/
Disolate.cc2203 zone->allocation_size(), nesting_deepth_.Value()); in Throw()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2066 static const VkDeviceSize allocation_size = 0x10000; in TEST_F() local
2067 alloc_info.allocationSize = allocation_size; in TEST_F()
2094 …err = vkMapMemory(m_device->device(), mem, allocation_size + 1, VK_WHOLE_SIZE, 0, (void **)&pData); in TEST_F()
2098 err = vkMapMemory(m_device->device(), mem, 1, allocation_size, 0, (void **)&pData); in TEST_F()
22566 static const VkDeviceSize allocation_size = 32 * atom_size; in TEST_F() local
22567 alloc_info.allocationSize = allocation_size; in TEST_F()
22643 mmr.offset = allocation_size - (4 * atom_size); in TEST_F()
22647 mmr.offset = allocation_size - (6 * atom_size); in TEST_F()