Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/micro/
Dsimple_memory_allocator_test.cc111 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/
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/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dmmap_limit_mb.cpp24 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/
DIRMemoryMap.cpp299 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/
Dsample10_unittest.cc52 void* operator new(size_t allocation_size) { in operator new() argument
54 return malloc(allocation_size); in operator new()
/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/curl/lib/
Dsmb.h170 curl_off_t allocation_size; member
194 curl_off_t allocation_size; member
/external/llvm-project/libcxxabi/src/
Dcxa_vector.cpp155 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/
Ddynamic_filters.cc179 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()
Dsubchannel.cc135 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/
Dbuiltin-align-cxx.cpp67 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/
Dinterface.h90 uintptr_t allocation_size; member
/external/scudo/standalone/include/scudo/
Dinterface.h91 uintptr_t allocation_size; member
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.h94 size_t allocation_size,
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_executable.cc293 int64 allocation_size = in CreateResultShapedBuffer() local
298 stream->parent()->device_ordinal(), allocation_size)); in CreateResultShapedBuffer()
/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/tensorflow/tensorflow/lite/core/
Dsubgraph.cc311 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/
Dgpu_executable.cc518 int64 allocation_size = in ExecuteAsyncOnStreamImpl() local
522 memory_allocator->Allocate(device_ordinal, allocation_size)); in ExecuteAsyncOnStreamImpl()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dcombined.h885 R->allocation_size = Header.SizeOrUnusedBytes; in getErrorInfo()
911 R->allocation_size = Header.SizeOrUnusedBytes; in getErrorInfo()
/external/scudo/standalone/
Dcombined.h1334 R->allocation_size = Header.SizeOrUnusedBytes; in getInlineErrorInfo()
1413 R->allocation_size = EntrySize; in getRingBufferErrorInfo()
/external/vulkan-validation-layers/layers/generated/
Dlayer_chassis_dispatch.cpp686 size_t allocation_size = 0; in BuildUnwrappedUpdateTemplateBuffer() local
701allocation_size = std::max(allocation_size, offset + sizeof(VkDescriptorImageInfo)); in BuildUnwrappedUpdateTemplateBuffer()
714allocation_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/
Dvklayertests_buffer_image_memory_sampler.cpp461 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()
Dvkpositivelayertests.cpp3017 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()