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.cc19 size_t size = static_cast<size_t>(zone->allocation_size()); in StatsScope()
39 total += static_cast<size_t>(zone->allocation_size()); in GetCurrentAllocatedBytes()
80 total += static_cast<size_t>(zone->allocation_size()); in GetCurrentAllocatedBytes()
107 total_deleted_bytes_ += static_cast<size_t>(zone->allocation_size()); in ReturnZone()
Dpipeline-statistics.h32 return static_cast<size_t>(outer_zone_->allocation_size()); in OuterZoneSize()
Dwasm-compiler.cc5192 static_cast<int>(mcgraph->graph()->zone()->allocation_size())); in ExecuteCompilation()
/external/googletest/googletest/samples/
Dsample10_unittest.cc52 void* operator new(size_t allocation_size) { in operator new() argument
54 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/heap/
Dspaces-inl.h336 int allocation_size = size_in_bytes; in AllocateRawAligned() local
337 HeapObject* object = TryAllocateLinearlyAligned(&allocation_size, alignment); in AllocateRawAligned()
342 allocation_size += filler_size; in AllocateRawAligned()
343 if (!EnsureLinearAllocationArea(allocation_size)) { in AllocateRawAligned()
346 allocation_size = size_in_bytes; in AllocateRawAligned()
347 object = TryAllocateLinearlyAligned(&allocation_size, alignment); in AllocateRawAligned()
Dheap.h1361 HeapObject* object, int object_size, int allocation_size,
Dheap.cc2616 int allocation_size, in AlignWithFiller() argument
2618 int filler_size = allocation_size - object_size; in AlignWithFiller()
/external/libchrome/base/memory/
Dplatform_shared_memory_region_mac.cc99 memory_object_size_t allocation_size = size_; in ConvertToReadOnly() local
102 mach_task_self(), &allocation_size, in ConvertToReadOnly()
109 DCHECK_GE(allocation_size, size_); in ConvertToReadOnly()
/external/curl/lib/
Dsmb.h170 curl_off_t allocation_size; member
194 curl_off_t allocation_size; member
/external/v8/src/snapshot/
Dserializer.cc532 int allocation_size; in SerializeExternalStringAsSequentialString() local
539 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
545 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
552 (allocation_size > kMaxRegularHeapObjectSize) ? LO_SPACE : OLD_SPACE; in SerializeExternalStringAsSequentialString()
553 SerializePrologue(space, allocation_size, map); in SerializeExternalStringAsSequentialString()
556 int bytes_to_output = allocation_size - HeapObject::kHeaderSize; in SerializeExternalStringAsSequentialString()
573 int padding_size = allocation_size - SeqString::kHeaderSize - content_size; in SerializeExternalStringAsSequentialString()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc228 int allocation_size = sizeof(TfLiteDelegateParams); in CreateDelegateParams() local
232 allocation_size += nodes_to_replace_size; in CreateDelegateParams()
236 allocation_size += input_tensors_size; in CreateDelegateParams()
240 allocation_size += output_tensors_size; in CreateDelegateParams()
244 char* allocation = reinterpret_cast<char*>(malloc(allocation_size)); in CreateDelegateParams()
/external/v8/src/asmjs/
Dasm-js.cc231 size_t compile_zone_start = compilation_info()->zone()->allocation_size(); in ExecuteJobImpl()
259 compilation_info()->zone()->allocation_size() - compile_zone_start; in ExecuteJobImpl()
260 translate_zone_size_ = translate_zone.allocation_size(); in ExecuteJobImpl()
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.h94 size_t allocation_size,
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel.cc847 size_t allocation_size = in CreateCall() local
850 allocation_size += in CreateCall()
854 allocation_size += channel_stack_->call_stack_size; in CreateCall()
857 gpr_arena_alloc(args.arena, allocation_size)); in CreateCall()
/external/v8/src/profiler/
Dallocation-tracker.h36 unsigned allocation_size() const { return total_size_; } in allocation_size() function
Dheap-snapshot-generator.cc2940 buffer_pos = utoa(node->allocation_size(), buffer, buffer_pos); in SerializeTraceNode()
/external/v8/src/builtins/
Dbuiltins-constructor-gen.cc497 Node* allocation_size = instance_size; in EmitCreateShallowObjectLiteral() local
501 allocation_size = in EmitCreateShallowObjectLiteral()
505 Node* copy = AllocateInNewSpace(allocation_size); in EmitCreateShallowObjectLiteral()
/external/v8/src/zone/
Dzone.h67 size_t allocation_size() const { return allocation_size_; } in allocation_size() function
/external/v8/src/wasm/
Dmodule-decoder.cc1421 static_cast<int>(result.val->signature_zone->allocation_size())); in DecodeWasmModule()
/external/v8/src/
Disolate.cc2413 zone->allocation_size(), nesting_deepth_.load()); in Throw()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp2697 static const VkDeviceSize allocation_size = 0x10000; in TEST_F() local
2698 alloc_info.allocationSize = allocation_size; in TEST_F()
2726 …err = vkMapMemory(m_device->device(), mem, allocation_size + 1, VK_WHOLE_SIZE, 0, (void **)&pData); in TEST_F()
2730 err = vkMapMemory(m_device->device(), mem, 1, allocation_size, 0, (void **)&pData); in TEST_F()
29975 static const VkDeviceSize allocation_size = 32 * atom_size; in TEST_F() local
29976 alloc_info.allocationSize = allocation_size; in TEST_F()
30053 mmr.offset = allocation_size - (4 * atom_size); in TEST_F()
30057 mmr.offset = allocation_size - (6 * atom_size); in TEST_F()