Home
last modified time | relevance | path

Searched defs:allocator (Results 1 – 25 of 667) sorted by relevance

12345678910>>...27

/external/llvm-project/libcxx/test/libcxx/utilities/any/
Dallocator.pass.cpp43 struct allocator<Large> { struct
44 using value_type = Large;
45 using size_type = std::size_t;
46 using difference_type = std::ptrdiff_t;
47 using propagate_on_container_move_assignment = std::true_type;
48 using is_always_equal = std::true_type;
50 Large* allocate(std::size_t n) { in allocate()
56 void construct(Large* p, Args&& ...args) { in construct()
61 void destroy(Large* p) { in destroy()
66 void deallocate(Large* p, std::size_t) { in deallocate()
[all …]
/external/tensorflow/tensorflow/lite/micro/
Dsimple_memory_allocator_test.cc29 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
51 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
77 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
108 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
124 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
145 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
161 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
180 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
190 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
205 tflite::SimpleMemoryAllocator allocator(tflite::GetMicroErrorReporter(), in TF_LITE_MICRO_TEST() local
[all …]
Drecording_simple_memory_allocator_test.cc29 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST() local
52 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST() local
69 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST() local
84 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST() local
108 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST() local
126 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST() local
Dmicro_allocator_test.cc84 void VerifyMockTensor(const Model* model, MicroAllocator* allocator, in VerifyMockTensor()
93 void VerifyMockWeightTensor(const Model* model, MicroAllocator* allocator, in VerifyMockWeightTensor()
244 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
265 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
293 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
333 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
376 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
417 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
492 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
544 tflite::MicroAllocator* allocator = tflite::MicroAllocator::Create( in TF_LITE_MICRO_TEST() local
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_mem_alloc_wrapper.cpp70 void DestroyAllocator(VmaAllocator allocator) in DestroyAllocator()
75 void FreeMemory(VmaAllocator allocator, VmaAllocation allocation) in FreeMemory()
80 VkResult CreateBuffer(VmaAllocator allocator, in CreateBuffer()
103 VkResult FindMemoryTypeIndexForBufferInfo(VmaAllocator allocator, in FindMemoryTypeIndexForBufferInfo()
119 void GetMemoryTypeProperties(VmaAllocator allocator, in GetMemoryTypeProperties()
126 VkResult MapMemory(VmaAllocator allocator, VmaAllocation allocation, void **ppData) in MapMemory()
131 void UnmapMemory(VmaAllocator allocator, VmaAllocation allocation) in UnmapMemory()
136 void FlushAllocation(VmaAllocator allocator, in FlushAllocation()
144 void InvalidateAllocation(VmaAllocator allocator, in InvalidateAllocation()
152 void BuildStatsString(VmaAllocator allocator, char **statsString, VkBool32 detailedMap) in BuildStatsString()
[all …]
/external/llvm-project/llvm/unittests/ADT/
DIntervalMapTest.cpp22 UUMap::Allocator allocator; in TEST() local
56 UUMap::Allocator allocator; in TEST() local
66 UUMap::Allocator allocator; in TEST() local
167 UUHalfOpenMap::Allocator allocator; in TEST() local
198 UUMap::Allocator allocator; in TEST() local
268 UUMap::Allocator allocator; in TEST() local
382 UUMap::Allocator allocator; in TEST() local
525 UUMap::Allocator allocator; in TEST() local
601 UUMap::Allocator allocator; in TEST() local
624 UUMap::Allocator allocator; in TEST() local
[all …]
/external/pigweed/pw_allocator/
Dfreelist_heap_test.cc21 namespace pw::allocator { namespace
28 FreeListHeapBuffer allocator(buf); in TEST() local
42 FreeListHeapBuffer allocator(buf); in TEST() local
64 FreeListHeapBuffer allocator(buf); in TEST() local
77 FreeListHeapBuffer allocator(buf); in TEST() local
86 FreeListHeapBuffer allocator(buf); in TEST() local
98 FreeListHeapBuffer allocator(buf); in TEST() local
124 FreeListHeapBuffer allocator(buf); in TEST() local
151 FreeListHeapBuffer allocator(buf); in TEST() local
170 FreeListHeapBuffer allocator(buf); in TEST() local
[all …]
/external/ruy/ruy/
Dallocator_test.cc24 Allocator allocator; in TEST() local
36 Allocator allocator; in TEST() local
52 Allocator allocator; in TEST() local
62 Allocator allocator; in TEST() local
75 Allocator allocator; in TEST() local
88 Allocator allocator; in TEST() local
98 Allocator allocator; in TEST() local
/external/angle/src/libANGLE/
DHandleAllocator_unittest.cpp19 gl::HandleAllocator allocator; in TEST() local
44 gl::HandleAllocator allocator; in TEST() local
96 gl::HandleAllocator allocator; in TEST() local
108 gl::HandleAllocator allocator; in TEST() local
121 gl::HandleAllocator allocator; in TEST() local
141 gl::HandleAllocator allocator; in TEST() local
156 gl::HandleAllocator allocator; in TEST() local
176 gl::HandleAllocator allocator; in TEST() local
/external/skia/src/gpu/vk/
DGrVkMemory.cpp20 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindBufferMemory() local
54 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeBufferMemory() local
63 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindImageMemory() local
106 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeImageMemory() local
113 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in MapAlloc() local
124 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in UnmapAlloc() local
157 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FlushMappedAlloc() local
169 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in InvalidateMappedAlloc() local
/external/llvm-project/clang/test/SemaCXX/
Dcxx2a-constexpr-dynalloc.cpp15 template<typename T> struct allocator { struct
20 …DELETE(p); // expected-note 2{{'std::allocator<...>::deallocate' used to delete pointer to object … in deallocate()
33 template<> struct std::allocator<void()> { struct in std
36 constexpr void *fn = std::allocator<void()>().allocate(); // expected-error {{constant expression}}…
39 template<> struct std::allocator<Incomplete> { struct in std
42 constexpr void *incomplete = std::allocator<Incomplete>().allocate(); // expected-error {{constant …
46 template<> struct std::allocator<WrongSize> { struct in std
49 constexpr void *wrong_size = std::allocator<WrongSize>().allocate(); // expected-error {{constant e…
/external/llvm/unittests/ADT/
DIntervalMapTest.cpp21 UUMap::Allocator allocator; in TEST() local
55 UUMap::Allocator allocator; in TEST() local
142 UUMap::Allocator allocator; in TEST() local
212 UUMap::Allocator allocator; in TEST() local
326 UUMap::Allocator allocator; in TEST() local
469 UUMap::Allocator allocator; in TEST() local
545 UUMap::Allocator allocator; in TEST() local
569 UUMap::Allocator allocator; in TEST() local
613 UUMap::Allocator allocator; in TEST() local
/external/swiftshader/third_party/marl/src/
Dmarl_test.h42 delete allocator; in TearDown() local
45 marl::TrackedAllocator* allocator = nullptr; variable
74 delete allocator; in TearDown() local
77 marl::TrackedAllocator* allocator = nullptr; variable
Dosfiber_asm.h89 Allocator* allocator; variable
95 OSFiber::OSFiber(Allocator* allocator) : allocator(allocator) {} in OSFiber()
104 Allocator* allocator) { in createFiberFromCurrentThread()
111 Allocator* allocator, in createFiber()
/external/e2fsprogs/contrib/android/
Dbasefs_allocator.c29 struct base_fs_allocator *allocator, in fs_free_blocks_range()
67 struct base_fs_allocator *allocator) in basefs_allocator_free()
103 struct base_fs_allocator *allocator, in fs_reserve_block()
133 struct base_fs_allocator *allocator, in fs_reserve_blocks_range()
166 struct base_fs_allocator *allocator, in fs_reserve_blocks()
196 struct base_fs_allocator *allocator; in base_fs_alloc_load() local
240 static errcode_t get_next_block(ext2_filsys fs, struct base_fs_allocator *allocator, in get_next_block()
283 static void skip_blocks(ext2_filsys fs, struct base_fs_allocator *allocator, in skip_blocks()
306 struct base_fs_allocator *allocator = fs->priv_data; in basefs_block_allocator() local
360 struct base_fs_allocator *allocator = fs->priv_data; in base_fs_alloc_set_target() local
[all …]
/external/skqp/src/gpu/vk/
DGrVkMemory.cpp39 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindBufferMemory() local
80 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeBufferMemory() local
94 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in AllocAndBindImageMemory() local
126 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FreeImageMemory() local
143 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in MapAlloc() local
159 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in UnmapAlloc() local
195 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in FlushMappedAlloc() local
214 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); in InvalidateMappedAlloc() local
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator_unittest.cc57 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
68 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
80 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
93 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
107 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
124 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
142 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
159 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
184 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
209 SvcRateAllocator allocator = SvcRateAllocator(codec); in TEST() local
[all …]
/external/skqp/src/compute/common/vk/
Dhost_alloc.c26 vk_host_alloc(VkAllocationCallbacks const * allocator, size_t size) in vk_host_alloc()
32 vk_host_realloc(VkAllocationCallbacks const * allocator, void * ptr, size_t new_size) in vk_host_realloc()
38 vk_host_free(VkAllocationCallbacks const * allocator, void * ptr) in vk_host_free()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_virtual_mem_allocator_test.cc57 auto allocator = GpuVirtualMemAllocator::Create( in TEST() local
85 auto allocator = CreateAllocator(); in TEST() local
94 auto allocator = CreateAllocator(); in TEST() local
114 auto allocator = CreateAllocator(); in TEST() local
125 auto allocator = CreateAllocator(); in TEST() local
142 auto allocator = CreateAllocator(); in TEST() local
162 auto allocator = CreateAllocator(); in TEST() local
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dcounting_allocator.h55 Allocator allocator; variable
64 Allocator allocator; in deallocate() local
73 Allocator allocator; in construct() local
82 Allocator allocator; in destroy() local
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dcounting_allocator.h55 Allocator allocator; variable
64 Allocator allocator; in deallocate() local
73 Allocator allocator; in construct() local
82 Allocator allocator; in destroy() local
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dcounting_allocator.h55 Allocator allocator; variable
64 Allocator allocator; in deallocate() local
73 Allocator allocator; in construct() local
82 Allocator allocator; in destroy() local
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dcounting_allocator.h55 Allocator allocator; variable
64 Allocator allocator; in deallocate() local
73 Allocator allocator; in construct() local
82 Allocator allocator; in destroy() local
/external/oss-fuzz/projects/jbig2dec/
Djbig2_fuzzer.cc44 static void *jbig2_fuzzer_alloc(Jbig2Allocator *allocator, size_t size) in jbig2_fuzzer_alloc()
65 static void jbig2_fuzzer_free(Jbig2Allocator *allocator, void *ptr) in jbig2_fuzzer_free()
81 static void *jbig2_fuzzer_realloc(Jbig2Allocator *allocator, void *old, size_t size) in jbig2_fuzzer_realloc()
116 Jbig2Allocator allocator; in LLVMFuzzerTestOneInput() local
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc40 explicit BuiltinDataDeleter(BuiltinDataAllocator* allocator) in BuiltinDataDeleter()
52 explicit SafeBuiltinDataAllocator(BuiltinDataAllocator* allocator) in SafeBuiltinDataAllocator()
68 BuiltinDataAllocator* allocator, in CheckParsePointerParams()
137 BuiltinDataAllocator* allocator, in ParseOpDataTfLite()
904 BuiltinDataAllocator* allocator, void** builtin_data) { in ParseAdd()
929 BuiltinDataAllocator* allocator, void** builtin_data) { in ParseAddN()
934 BuiltinDataAllocator* allocator, void** builtin_data) { in ParseArgMax()
959 BuiltinDataAllocator* allocator, void** builtin_data) { in ParseArgMin()
987 BuiltinDataAllocator* allocator, in ParseBatchMatMul()
1016 BuiltinDataAllocator* allocator, void** builtin_data) { in ParseCast()
[all …]

12345678910>>...27