Home
last modified time | relevance | path

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

12345678910>>...43

/external/cronet/third_party/libc++/src/test/libcxx/utilities/any/
Dallocator.pass.cpp44 struct allocator<Large> { struct
45 using value_type = Large;
46 using size_type = std::size_t;
47 using difference_type = std::ptrdiff_t;
48 using propagate_on_container_move_assignment = std::true_type;
49 using is_always_equal = std::true_type;
51 Large* allocate(std::size_t n) { in allocate()
57 void construct(Large* p, Args&& ...args) { in construct()
62 void destroy(Large* p) { in destroy()
67 void deallocate(Large* p, std::size_t) { in deallocate()
[all …]
/external/pigweed/pw_allocator/
Dblock_allocator_testing.cc21 namespace pw::allocator::test { namespace
42 Allocator& allocator = GetAllocator(); in GetCapacity() local
49 Allocator& allocator = GetAllocator(); in AllocateLarge() local
60 Allocator& allocator = GetAllocator(); in AllocateSmall() local
71 Allocator& allocator = GetAllocator(); in AllocateTooLarge() local
77 Allocator& allocator = GetAllocator(); in AllocateLargeAlignment() local
97 Allocator& allocator = GetAllocator({ in AllocateAlignmentFailure() local
109 Allocator& allocator = GetAllocator(); in DeallocateNull() local
114 Allocator& allocator = GetAllocator(); in DeallocateShuffled() local
145 Allocator& allocator = GetAllocator(); in ResizeNull() local
[all …]
Dbump_allocator_test.cc41 BumpAllocator allocator; in TEST() local
47 BumpAllocator allocator(buffer); in TEST() local
54 BumpAllocator allocator(buffer); in TEST() local
66 BumpAllocator allocator(buffer); in TEST() local
75 BumpAllocator allocator(buffer); in TEST() local
87 BumpAllocator allocator(buffer); in TEST() local
98 BumpAllocator allocator(buffer); in TEST() local
109 BumpAllocator allocator(buffer); in TEST() local
120 BumpAllocator allocator(buffer); in TEST() local
131 BumpAllocator allocator(buffer); in TEST() local
Dfreelist_heap_test.cc20 namespace pw::allocator { namespace
27 FreeListHeapBuffer allocator(buf); in TEST() local
41 FreeListHeapBuffer allocator(buf); in TEST() local
63 FreeListHeapBuffer allocator(buf); in TEST() local
76 FreeListHeapBuffer allocator(buf); in TEST() local
85 FreeListHeapBuffer allocator(buf); in TEST() local
96 FreeListHeapBuffer allocator(buf); in TEST() local
122 FreeListHeapBuffer allocator(buf); in TEST() local
149 FreeListHeapBuffer allocator(buf); in TEST() local
168 FreeListHeapBuffer allocator(buf); in TEST() local
[all …]
Dbuddy_allocator_test.cc40 BuddyAllocator<kMinChunkSize, kNumBuckets> allocator; in TEST_F() local
45 BuddyAllocator<kMinChunkSize, kNumBuckets> allocator(buffer_); in TEST_F() local
52 BuddyAllocator<kMinChunkSize, kNumBuckets> allocator(buffer_); in TEST_F() local
68 BuddyAllocator<kMinChunkSize, kNumBuckets> allocator(buffer_); in TEST_F() local
75 BuddyAllocator<kMinChunkSize, kNumBuckets> allocator(buffer_); in TEST_F() local
81 BuddyAllocator<kMinChunkSize, kNumBuckets> allocator(buffer_); in TEST_F() local
/external/pigweed/pw_multibuf/
Dmultibuf_test.cc38 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
48 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
59 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
71 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
81 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
91 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
102 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
112 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
123 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
132 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
[all …]
Dchunk_test.cc48 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
58 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
78 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
97 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
111 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
129 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
143 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
161 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
176 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
198 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
[all …]
Dstream_test.cc31 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
43 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
54 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
67 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
92 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
102 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
120 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
142 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
167 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
185 AllocatorForTest<kArbitraryAllocatorSize> allocator; in TEST() local
/external/sdv/vsomeip/third_party/boost/asio/test/
Ddeadline_timer.cpp255 struct allocator struct
257 typedef size_t size_type;
258 typedef ptrdiff_t difference_type;
259 typedef T* pointer;
260 typedef const T* const_pointer;
261 typedef T& reference;
262 typedef const T& const_reference;
263 typedef T value_type;
266 struct rebind
271 explicit allocator(int* count) BOOST_ASIO_NOEXCEPT in allocator() argument
[all …]
Dsystem_timer.cpp275 struct allocator struct
277 typedef size_t size_type;
278 typedef ptrdiff_t difference_type;
279 typedef T* pointer;
280 typedef const T* const_pointer;
281 typedef T& reference;
282 typedef const T& const_reference;
283 typedef T value_type;
286 struct rebind
291 explicit allocator(int* count) BOOST_ASIO_NOEXCEPT in allocator() function
[all …]
/external/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c307 debug_dump_allocator_state(struct nine_allocator *allocator) in debug_dump_allocator_state()
368 static void move_region_ordered_merge(struct nine_allocator *allocator, struct list_head *tail, str… in move_region_ordered_merge()
406 static struct nine_memfd_file_region *allocate_region(struct nine_allocator *allocator, unsigned of… in allocate_region()
423 insert_new_allocation(struct nine_allocator *allocator, struct nine_allocation *new_allocation, uns… in insert_new_allocation()
474 nine_flush_pending_releases(struct nine_allocator *allocator) in nine_flush_pending_releases()
502 nine_flush_pending_frees(struct nine_allocator *allocator) in nine_flush_pending_frees()
534 nine_memfd_unmap_region(struct nine_allocator *allocator, in nine_memfd_unmap_region()
554 remove_allocation(struct nine_allocator *allocator, struct nine_memfd_file *memfd_file, struct nine… in remove_allocation()
578 nine_memfd_try_unmap_file(struct nine_allocator *allocator, in nine_memfd_try_unmap_file()
600 nine_memfd_files_unmap(struct nine_allocator *allocator, in nine_memfd_files_unmap()
[all …]
/external/sdv/vsomeip/third_party/boost/container/include/boost/container/
Dallocator.hpp41 class allocator<void, Version, AllocationDisableMask> class
74 allocator() in allocator() function in boost::container::allocator
79 allocator(const allocator &) in allocator() function in boost::container::allocator
85 allocator(const allocator<T2, Version, AllocationDisableMask> &) in allocator() function in boost::container::allocator
103 class allocator class
158 allocator() BOOST_NOEXCEPT_OR_NOTHROW in allocator() function in boost::container::allocator
163 allocator(const allocator &) BOOST_NOEXCEPT_OR_NOTHROW in allocator() argument
169 allocator(const allocator<T2 in allocator() function in boost::container::allocator
209 friend bool operator==(const allocator &, const allocator &) BOOST_NOEXCEPT_OR_NOTHROW in operator ==()
215 friend bool operator!=(const allocator &, const allocator &) BOOST_NOEXCEPT_OR_NOTHROW in operator !=()
/external/pigweed/pw_allocator/public/pw_allocator/
Dsynchronized_allocator.h35 constexpr SynchronizedAllocator(Allocator& allocator) noexcept in SynchronizedAllocator()
43 Pointer allocator = borrowable_.acquire(); in DoAllocate() local
49 Pointer allocator = borrowable_.acquire(); in DoDeallocate() local
58 Pointer allocator = borrowable_.acquire(); in DoResize() local
63 Pointer allocator = borrowable_.acquire(); in DoReallocate() local
69 Pointer allocator = borrowable_.acquire(); in DoGetInfo() local
Das_pmr_allocator.h56 Allocator& allocator() { return *allocator_; } in allocator() function
60 void set_allocator(Allocator& allocator) { allocator_ = &allocator; } in set_allocator()
83 AsPmrAllocator(Allocator& allocator) : Base(&memory_resource_) { in AsPmrAllocator()
87 Allocator& allocator() { return memory_resource_.allocator(); } in allocator() function
/external/webrtc/modules/video_coding/svc/
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/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
157 gl::HandleAllocator allocator(3); in TEST() local
182 gl::HandleAllocator allocator; in TEST() local
202 gl::HandleAllocator allocator; in TEST() local
225 gl::HandleAllocator allocator; in TEST() local
/external/skia/src/gpu/vk/
DVulkanMemory.cpp21 bool VulkanMemory::AllocBufferMemory(VulkanMemoryAllocator* allocator, in AllocBufferMemory()
46 void VulkanMemory::FreeBufferMemory(VulkanMemoryAllocator* allocator, const VulkanAlloc& alloc) { in FreeBufferMemory()
51 bool VulkanMemory::AllocImageMemory(VulkanMemoryAllocator* allocator, in AllocImageMemory()
88 void VulkanMemory::FreeImageMemory(VulkanMemoryAllocator* allocator, in FreeImageMemory()
94 void* VulkanMemory::MapAlloc(VulkanMemoryAllocator* allocator, in MapAlloc()
107 void VulkanMemory::UnmapAlloc(VulkanMemoryAllocator* allocator, in UnmapAlloc()
138 void VulkanMemory::FlushMappedAlloc(VulkanMemoryAllocator* allocator, in FlushMappedAlloc()
152 void VulkanMemory::InvalidateMappedAlloc(VulkanMemoryAllocator* allocator, in InvalidateMappedAlloc()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_mem_alloc_wrapper.cpp66 void DestroyAllocator(VmaAllocator allocator) in DestroyAllocator()
71 VkResult CreatePool(VmaAllocator allocator, in CreatePool()
84 void DestroyPool(VmaAllocator allocator, VmaPool pool) in DestroyPool()
89 void FreeMemory(VmaAllocator allocator, VmaAllocation allocation) in FreeMemory()
94 VkResult CreateBuffer(VmaAllocator allocator, in CreateBuffer()
117 VkResult AllocateAndBindMemoryForImage(VmaAllocator allocator, in AllocateAndBindMemoryForImage()
156 VkResult FindMemoryTypeIndexForBufferInfo(VmaAllocator allocator, in FindMemoryTypeIndexForBufferInfo()
172 VkResult FindMemoryTypeIndexForImageInfo(VmaAllocator allocator, in FindMemoryTypeIndexForImageInfo()
189 void GetMemoryTypeProperties(VmaAllocator allocator, in GetMemoryTypeProperties()
196 VkResult MapMemory(VmaAllocator allocator, VmaAllocation allocation, void **ppData) in MapMemory()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_buffer_allocator_test.cc18 SimpleBufferAllocator allocator; in TEST() local
24 SimpleBufferAllocator allocator; in TEST() local
32 SimpleBufferAllocator allocator; in TEST() local
56 SimpleBufferAllocator allocator; in TEST() local
87 SimpleBufferAllocator allocator; in TEST() local
118 SimpleBufferAllocator allocator; in TEST() local
131 SimpleBufferAllocator allocator; in TEST() local
Dquiche_buffer_allocator.h43 explicit QuicheBufferDeleter(QuicheBufferAllocator* allocator) in QuicheBufferDeleter()
46 QuicheBufferAllocator* allocator() { return allocator_; } in allocator() function
55 inline QuicheUniqueBufferPtr MakeUniqueBuffer(QuicheBufferAllocator* allocator, in MakeUniqueBuffer()
68 QuicheBuffer(QuicheBufferAllocator* allocator, size_t size) in QuicheBuffer()
90 static QuicheBuffer Copy(QuicheBufferAllocator* allocator, in Copy()
/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/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/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/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
/external/pigweed/pw_allocator/examples/
Dbasic.cc25 void* AllocateNamedU32(pw::Allocator& allocator) { in AllocateNamedU32()
31 void DeallocateNamedU32(pw::Allocator& allocator, void* ptr) { in DeallocateNamedU32()
37 NamedU32* NewNamedU32(pw::Allocator& allocator, in NewNamedU32()
43 void DeleteNamedU32(pw::Allocator& allocator, NamedU32* named_u32) { in DeleteNamedU32()
49 pw::UniquePtr<NamedU32> MakeNamedU32(pw::Allocator& allocator, in MakeNamedU32()

12345678910>>...43