/external/tensorflow/tensorflow/lite/micro/ |
D | simple_memory_allocator_test.cc | 111 constexpr size_t allocation_size = 100; in TF_LITE_MICRO_TEST() local 112 allocator.SetHeadBufferSize(/*size=*/allocation_size, in TF_LITE_MICRO_TEST() 114 allocator.AllocateFromTail(/*size=*/allocation_size, in TF_LITE_MICRO_TEST() 118 arena_size - allocation_size * 2); in TF_LITE_MICRO_TEST() 127 constexpr size_t allocation_size = 100; in TF_LITE_MICRO_TEST() local 128 allocator.AllocateTemp(/*size=*/allocation_size, in TF_LITE_MICRO_TEST() 132 arena_size - allocation_size); in TF_LITE_MICRO_TEST() 149 constexpr size_t allocation_size = 100; in TF_LITE_MICRO_TEST() local 150 allocator.SetHeadBufferSize(/*size=*/allocation_size, in TF_LITE_MICRO_TEST() 152 allocator.AllocateFromTail(/*size=*/allocation_size, in TF_LITE_MICRO_TEST() [all …]
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | mmap_limit_mb.cc | 24 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/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | mmap_limit_mb.cpp | 24 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/llvm-project/lldb/source/Expression/ |
D | IRMemoryMap.cpp | 299 size_t allocation_size; in Malloc() local 304 allocation_size = alignment; in Malloc() 307 allocation_size = llvm::alignTo(size, alignment); in Malloc() 312 allocation_size += alignment - 1; in Malloc() 321 allocation_address = FindSpace(allocation_size); in Malloc() 339 process_sp->AllocateMemory(allocation_size, permissions, error); in Malloc() 342 process_sp->CallocateMemory(allocation_size, permissions, error); in Malloc() 352 allocation_address = FindSpace(allocation_size); in Malloc() 366 process_sp->AllocateMemory(allocation_size, permissions, error); in Malloc() 369 process_sp->CallocateMemory(allocation_size, permissions, error); in Malloc() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/samples/ |
D | sample10_unittest.cc | 52 void* operator new(size_t allocation_size) { in operator new() argument 54 return malloc(allocation_size); in operator new()
|
/external/googletest/googletest/samples/ |
D | sample10_unittest.cc | 52 void* operator new(size_t allocation_size) { in operator new() argument 54 return malloc(allocation_size); in operator new()
|
/external/curl/lib/ |
D | smb.h | 170 curl_off_t allocation_size; member 194 curl_off_t allocation_size; member
|
/external/llvm-project/libcxxabi/src/ |
D | cxa_vector.cpp | 155 size_t allocation_size; in calculate_allocation_size_or_throw() local 156 if (add_overflow(element_heap_size, padding_size, &allocation_size)) in calculate_allocation_size_or_throw() 159 return allocation_size; in calculate_allocation_size_or_throw()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | dynamic_filters.cc | 179 size_t allocation_size = GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(Call)) + in CreateCall() local 181 Call* call = static_cast<Call*>(args.arena->Alloc(allocation_size)); in CreateCall()
|
D | subchannel.cc | 135 const size_t allocation_size = in Create() local 139 arena->Alloc(allocation_size)) SubchannelCall(std::move(args), error)); in Create()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | builtin-align-cxx.cpp | 67 constexpr size_t allocation_size = in allocate() local 70 __builtin_assume_aligned(allocate_impl(allocation_size), sizeof(void *))); in allocate()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/include/scudo/ |
D | interface.h | 90 uintptr_t allocation_size; member
|
/external/scudo/standalone/include/scudo/ |
D | interface.h | 91 uintptr_t allocation_size; member
|
/external/libchrome/base/sampling_heap_profiler/ |
D | sampling_heap_profiler.h | 94 size_t allocation_size,
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_executable.cc | 293 int64 allocation_size = in CreateResultShapedBuffer() local 298 stream->parent()->device_ordinal(), allocation_size)); in CreateResultShapedBuffer()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | subchannel.cc | 847 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/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 311 int allocation_size = sizeof(TfLiteDelegateParams); in CreateDelegateParams() local 315 allocation_size += nodes_to_replace_size; in CreateDelegateParams() 319 allocation_size += input_tensors_size; in CreateDelegateParams() 323 allocation_size += output_tensors_size; in CreateDelegateParams() 327 char* allocation = static_cast<char*>(malloc(allocation_size)); in CreateDelegateParams()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | gpu_executable.cc | 518 int64 allocation_size = in ExecuteAsyncOnStreamImpl() local 522 memory_allocator->Allocate(device_ordinal, allocation_size)); in ExecuteAsyncOnStreamImpl()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | combined.h | 885 R->allocation_size = Header.SizeOrUnusedBytes; in getErrorInfo() 911 R->allocation_size = Header.SizeOrUnusedBytes; in getErrorInfo()
|
/external/scudo/standalone/ |
D | combined.h | 1334 R->allocation_size = Header.SizeOrUnusedBytes; in getInlineErrorInfo() 1413 R->allocation_size = EntrySize; in getRingBufferErrorInfo()
|
/external/vulkan-validation-layers/layers/generated/ |
D | layer_chassis_dispatch.cpp | 686 size_t allocation_size = 0; in BuildUnwrappedUpdateTemplateBuffer() local 701 … allocation_size = std::max(allocation_size, offset + sizeof(VkDescriptorImageInfo)); in BuildUnwrappedUpdateTemplateBuffer() 714 … allocation_size = std::max(allocation_size, offset + sizeof(VkDescriptorBufferInfo)); in BuildUnwrappedUpdateTemplateBuffer() 724 allocation_size = std::max(allocation_size, offset + sizeof(VkBufferView)); in BuildUnwrappedUpdateTemplateBuffer() 731 allocation_size = std::max(allocation_size, offset + numBytes); in BuildUnwrappedUpdateTemplateBuffer() 745 void *unwrapped_data = malloc(allocation_size); in BuildUnwrappedUpdateTemplateBuffer()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_buffer_image_memory_sampler.cpp | 461 static const VkDeviceSize allocation_size = 0x10000; in TEST_F() local 462 alloc_info.allocationSize = allocation_size; in TEST_F() 489 …err = vkMapMemory(m_device->device(), mem, allocation_size + 1, VK_WHOLE_SIZE, 0, (void **)&pData); in TEST_F() 493 err = vkMapMemory(m_device->device(), mem, 1, allocation_size, 0, (void **)&pData); in TEST_F()
|
D | vkpositivelayertests.cpp | 3017 static const VkDeviceSize allocation_size = 32 * atom_size; in TEST_F() local 3018 alloc_info.allocationSize = allocation_size; in TEST_F() 3095 mmr.offset = allocation_size - (4 * atom_size); in TEST_F() 3099 mmr.offset = allocation_size - (6 * atom_size); in TEST_F()
|