Home
last modified time | relevance | path

Searched full:allocator (Results 1 – 25 of 2386) sorted by relevance

12345678910>>...96

/third_party/grpc/test/core/resource_quota/memory_quota_fuzzer_corpus/
Dtestcase-replenish-nullchk8 allocator: 8704
22 allocator: -1610612735
32 allocator: 10682370
43 allocator: 44
53 allocator: 2
63 allocator: 2
67 allocator: 7
78 allocator: 44
91 allocator: 45
100 allocator: 2
[all …]
Dtestcase-45745768472248326 allocator: 2162720
12 allocator: 144
21 allocator: 117440513
26 allocator: 111
31 allocator: 6
36 allocator: 175972352
40 allocator: 2048
44 allocator: 2048
49 allocator: 2048
54 allocator: 2048
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c290 debug_dump_allocator_state(struct nine_allocator *allocator) in debug_dump_allocator_state() argument
292 DBG("SURFACE ALLOCATOR STATUS:\n"); in debug_dump_allocator_state()
293 DBG("Total allocated: %lld\n", allocator->total_allocations); in debug_dump_allocator_state()
294 DBG("Total virtual memory locked: %lld\n", allocator->total_locked_memory); in debug_dump_allocator_state()
295 …DBG("Virtual memory used: %lld / %lld\n", allocator->total_virtual_memory, allocator->total_virtua… in debug_dump_allocator_state()
296 DBG("Num memfd files: %d / %d\n", allocator->num_fd, allocator->num_fd_max); in debug_dump_allocator_state()
351 static void move_region_ordered_merge(struct nine_allocator *allocator, struct list_head *tail, str… in move_region_ordered_merge() argument
372 slab_free_st(&allocator->region_pool, region); in move_region_ordered_merge()
373 slab_free_st(&allocator->region_pool, cur_region); in move_region_ordered_merge()
377 slab_free_st(&allocator->region_pool, region); in move_region_ordered_merge()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_suballoc.c29 /* A simple allocator that suballocates memory from a large buffer. */
48 u_suballocator_init(struct u_suballocator *allocator, in u_suballocator_init() argument
54 memset(allocator, 0, sizeof(*allocator)); in u_suballocator_init()
56 allocator->pipe = pipe; in u_suballocator_init()
57 allocator->size = size; in u_suballocator_init()
58 allocator->bind = bind; in u_suballocator_init()
59 allocator->usage = usage; in u_suballocator_init()
60 allocator->flags = flags; in u_suballocator_init()
61 allocator->zero_buffer_memory = zero_buffer_memory; in u_suballocator_init()
65 u_suballocator_destroy(struct u_suballocator *allocator) in u_suballocator_destroy() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DHandleAllocator_unittest.cpp19 gl::HandleAllocator allocator; in TEST() local
29 allocator.reserve(id); in TEST()
35 GLuint handle = allocator.allocate(); in TEST()
44 gl::HandleAllocator allocator; in TEST() local
54 allocator.reserve(randomHandle); in TEST()
61 GLuint normalHandle = allocator.allocate(); in TEST()
96 gl::HandleAllocator allocator; in TEST() local
99 allocator.reserve(maxUintHandle); in TEST()
101 GLuint normalHandle = allocator.allocate(); in TEST()
108 gl::HandleAllocator allocator; in TEST() local
[all …]
/third_party/libabigail/tests/data/test-diff-filter/
Dtest41-report-0.txt9 …[D] 'method std::_Deque_base<unsigned int, std::allocator<unsigned int> >::~_Deque_base(int)' {…
10allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::al…
11allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::al…
12 …[D] 'method void std::deque<unsigned int, std::allocator<unsigned int> >::_M_push_back_aux<unsigne…
22 …::xml_writer::type_ptr_map&, std::vector<abigail::ir::type_base *, std::allocator<abigail::ir::typ…
23 …>, std::allocator<std::tr1::shared_ptr<abigail::ir::function_type> > >&, std::vector<std::tr1::sha…
24allocator<std::__cxx11::basic_string<char> > >::_M_create_nodes(std::_Deque_base<std::__cxx11::bas…
25allocator<unsigned int> >::_M_create_nodes(std::_Deque_base<unsigned int, std::allocator<unsigned …
27allocator<std::__cxx11::basic_string<char> > >::_M_destroy_data_aux(std::deque<std::__cxx11::basic…
28 …har>, std::allocator<std::__cxx11::basic_string<char> > >::_M_push_back_aux(const std::deque<std::…
[all …]
Dtest30-pr18904-rvalueref-report1.txt11 …[D] 'method COIRESULT Engine::compute(const std::__cxx11::list<coibuffer*, std::allocator<coibuffe…
103 …ine::compute(_Offload_stream, const std::__cxx11::list<coibuffer*, std::allocator<coibuffer*> >&, …
298 …[A] 'method std::allocator<std::_Rb_tree_node<std::pair<long unsigned int const, Stream*> > > __gn…
299 …const VarTable::Entry* const*, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
300allocator<const VarTable::Entry*> > >::__normal_iterator<const VarTable::Entry**>(const __gnu_cxx:…
301 …const VarTable::Entry* const*, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
302allocator<const VarTable::Entry*> > >::reference __gnu_cxx::__normal_iterator<const VarTable::Entr…
303 …::allocator<const VarTable::Entry*> > > __gnu_cxx::__normal_iterator<const VarTable::Entry* const*…
304 …rator<const VarTable::Entry**, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
305 …rator<const VarTable::Entry**, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
[all …]
Dtest30-pr18904-rvalueref-report2.txt11 …[D] 'method COIRESULT Engine::compute(const std::__cxx11::list<coibuffer*, std::allocator<coibuffe…
103 …ine::compute(_Offload_stream, const std::__cxx11::list<coibuffer*, std::allocator<coibuffer*> >&, …
298 …[A] 'method std::allocator<std::_Rb_tree_node<std::pair<long unsigned int const, Stream*> > > __gn…
299 …const VarTable::Entry* const*, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
300allocator<const VarTable::Entry*> > >::__normal_iterator<const VarTable::Entry**>(const __gnu_cxx:…
301 …const VarTable::Entry* const*, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
302allocator<const VarTable::Entry*> > >::reference __gnu_cxx::__normal_iterator<const VarTable::Entr…
303 …::allocator<const VarTable::Entry*> > > __gnu_cxx::__normal_iterator<const VarTable::Entry* const*…
304 …rator<const VarTable::Entry**, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
305 …rator<const VarTable::Entry**, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
[all …]
Dtest30-pr18904-rvalueref-report0.txt11 …[D] 'method COIRESULT Engine::compute(const std::__cxx11::list<coibuffer*, std::allocator<coibuffe…
103 …ine::compute(_Offload_stream, const std::__cxx11::list<coibuffer*, std::allocator<coibuffer*> >&, …
298 …[A] 'method std::allocator<std::_Rb_tree_node<std::pair<long unsigned int const, Stream*> > > __gn…
299 …const VarTable::Entry* const*, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
300allocator<const VarTable::Entry*> > >::__normal_iterator<const VarTable::Entry**>(const __gnu_cxx:…
301 …const VarTable::Entry* const*, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
302allocator<const VarTable::Entry*> > >::reference __gnu_cxx::__normal_iterator<const VarTable::Entr…
303 …::allocator<const VarTable::Entry*> > > __gnu_cxx::__normal_iterator<const VarTable::Entry* const*…
304 …rator<const VarTable::Entry**, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
305 …rator<const VarTable::Entry**, std::vector<const VarTable::Entry*, std::allocator<const VarTable::…
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DHistogramWriter.cpp91 js::Document::AllocatorType &allocator = doc->GetAllocator(); in getAsJSON() local
99 js::Value name(histogram.name(), allocator); in getAsJSON()
100 obj.AddMember("name", name, allocator); in getAsJSON()
102 js::Value description(histogram.description(), allocator); in getAsJSON()
103 obj.AddMember("description", description, allocator); in getAsJSON()
105 js::Value unitAndDirection(GetUnitAndDirection(histogram.unit()), allocator); in getAsJSON()
106 obj.AddMember("unit", unitAndDirection, allocator); in getAsJSON()
114 js::Value key(mapIter.first, allocator); in getAsJSON()
119 js::Value guid(diagnostic.shared_diagnostic_guid(), allocator); in getAsJSON()
120 diags.AddMember(key, guid, allocator); in getAsJSON()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRingBufferAllocatorTests.cpp26 RingBufferAllocator allocator(sizeInBytes); in TEST() local
29 EXPECT_TRUE(allocator.Empty()); in TEST()
31 ASSERT_EQ(allocator.GetSize(), sizeInBytes); in TEST()
34 ASSERT_EQ(allocator.Allocate(sizeInBytes + 1, ExecutionSerial(0)), in TEST()
38 ASSERT_EQ(allocator.Allocate(sizeInBytes / 2, ExecutionSerial(1)), 0u); in TEST()
39 ASSERT_EQ(allocator.Allocate(sizeInBytes / 2, ExecutionSerial(2)), 32000u); in TEST()
42 ASSERT_EQ(allocator.Allocate(1, ExecutionSerial(3)), RingBufferAllocator::kInvalidOffset); in TEST()
50 RingBufferAllocator allocator(maxNumOfFrames * frameSizeInBytes); in TEST() local
54 offset = allocator.Allocate(frameSizeInBytes, i); in TEST()
64 RingBufferAllocator allocator(maxNumOfFrames * frameSizeInBytes); in TEST() local
[all …]
DBuddyAllocatorTests.cpp22 // Verify the buddy allocator with a basic test.
31 BuddyAllocator allocator(maxBlockSize); in TEST() local
34 ASSERT_EQ(allocator.Allocate(maxBlockSize * 2), BuddyAllocator::kInvalidOffset); in TEST()
37 ASSERT_EQ(allocator.Allocate(0u), BuddyAllocator::kInvalidOffset); in TEST()
40 uint64_t blockOffset = allocator.Allocate(maxBlockSize); in TEST()
44 ASSERT_EQ(allocator.Allocate(maxBlockSize), BuddyAllocator::kInvalidOffset); in TEST()
45 ASSERT_EQ(allocator.ComputeTotalNumOfFreeBlocksForTesting(), 0u); in TEST()
48 allocator.Deallocate(blockOffset); in TEST()
49 ASSERT_EQ(allocator.ComputeTotalNumOfFreeBlocksForTesting(), 1u); in TEST()
52 // Verify multiple allocations succeeds using a buddy allocator.
[all …]
DBuddyMemoryAllocatorTests.cpp76 DummyBuddyResourceAllocator allocator(maxBlockSize, heapSize); in TEST() local
79 ResourceMemoryAllocation invalidAllocation = allocator.Allocate(heapSize * 2); in TEST()
83 ResourceMemoryAllocation allocation1 = allocator.Allocate(128); in TEST()
87 ASSERT_EQ(allocator.ComputeTotalNumOfHeapsForTesting(), 1u); in TEST()
89 // Cannot allocate when allocator is full. in TEST()
90 invalidAllocation = allocator.Allocate(128); in TEST()
93 allocator.Deallocate(allocation1); in TEST()
94 ASSERT_EQ(allocator.ComputeTotalNumOfHeapsForTesting(), 0u); in TEST()
109 DummyBuddyResourceAllocator allocator(maxBlockSize, heapSize); in TEST() local
112 ResourceMemoryAllocation invalidAllocation = allocator.Allocate(heapSize * 2); in TEST()
[all …]
DCommandAllocatorTests.cpp59 CommandAllocator allocator; in TEST() local
64 CommandAllocator allocator; in TEST() local
65 CommandIterator iterator(std::move(allocator)); in TEST()
69 // Test basic usage of allocator + iterator
71 CommandAllocator allocator; in TEST() local
79 CommandPipeline* pipeline = allocator.Allocate<CommandPipeline>(CommandType::Pipeline); in TEST()
83 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST()
89 CommandIterator iterator(std::move(allocator)); in TEST()
115 // Test basic usage of allocator + iterator with data
117 CommandAllocator allocator; in TEST() local
[all …]
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_arm64_dbg.def11allocator@PEAPEBVImpl@time_zone@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAPEBV…
12allocator@PEAUCordRep@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAUCordRep@cord_inter…
13allocator@PEAVCordzHandle@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAVCordzHandle@co…
14allocator@PEBVCordzHandle@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEBVCordzHandle@co…
15allocator@UConversionItem@ParsedFormatBase@str_format_internal@absl@@@__1@std@@@?$__compressed_pai…
16allocator@UTransition@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAUTransition@cctz@…
17allocator@UTransitionType@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAUTransitionTy…
18allocator@UViableSubstitution@strings_internal@absl@@@__1@std@@@?$__compressed_pair@PEAUViableSubs…
19 …$__compressed_pair@PEAPEAPEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEAPEBVImpl@time…
20 …tag@__1@std@@@?$__compressed_pair@PEAPEAUCordRep@cord_internal@absl@@V?$allocator@PEAUCordRep@cord…
[all …]
Dsymbols_x64_dbg.def11allocator@PEAPEBVImpl@time_zone@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAPEBV…
12allocator@PEAUCordRep@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAUCordRep@cord_inter…
13allocator@PEAVCordzHandle@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAVCordzHandle@co…
14allocator@PEBVCordzHandle@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEBVCordzHandle@co…
15allocator@UConversionItem@ParsedFormatBase@str_format_internal@absl@@@__1@std@@@?$__compressed_pai…
16allocator@UTransition@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAUTransition@cctz@…
17allocator@UTransitionType@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAUTransitionTy…
18allocator@UViableSubstitution@strings_internal@absl@@@__1@std@@@?$__compressed_pair@PEAUViableSubs…
19 …$__compressed_pair@PEAPEAPEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEAPEBVImpl@time…
20 …tag@__1@std@@@?$__compressed_pair@PEAPEAUCordRep@cord_internal@absl@@V?$allocator@PEAUCordRep@cord…
[all …]
Dsymbols_x86_dbg.def11allocator@PAPBVImpl@time_zone@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PAPAPBVImpl@…
12allocator@PAUCordRep@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PAPAUCordRep@cord_internal…
13allocator@PAVCordzHandle@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PAPAVCordzHandle@cord_…
14allocator@PBVCordzHandle@cord_internal@absl@@@__1@std@@@?$__compressed_pair@PAPBVCordzHandle@cord_…
15allocator@UConversionItem@ParsedFormatBase@str_format_internal@absl@@@__1@std@@@?$__compressed_pai…
16allocator@UTransition@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PAUTransition@cctz@t…
17allocator@UTransitionType@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PAUTransitionTyp…
18allocator@UViableSubstitution@strings_internal@absl@@@__1@std@@@?$__compressed_pair@PAUViableSubst…
19 …@@?$__compressed_pair@PAPAPBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PAPBVImpl@time_z…
20 …t_tag@__1@std@@@?$__compressed_pair@PAPAUCordRep@cord_internal@absl@@V?$allocator@PAUCordRep@cord_…
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_mem_alloc_wrapper.cpp70 void DestroyAllocator(VmaAllocator allocator) in DestroyAllocator() argument
72 vmaDestroyAllocator(allocator); in DestroyAllocator()
75 VkResult CreatePool(VmaAllocator allocator, in CreatePool() argument
90 return vmaCreatePool(allocator, &poolCreateInfo, pPool); in CreatePool()
93 void DestroyPool(VmaAllocator allocator, VmaPool pool) in DestroyPool() argument
95 vmaDestroyPool(allocator, pool); in DestroyPool()
98 void FreeMemory(VmaAllocator allocator, VmaAllocation allocation) in FreeMemory() argument
100 vmaFreeMemory(allocator, allocation); in FreeMemory()
103 VkResult CreateBuffer(VmaAllocator allocator, in CreateBuffer() argument
119 result = vmaCreateBuffer(allocator, pBufferCreateInfo, &allocationCreateInfo, pBuffer, in CreateBuffer()
[all …]
/third_party/skia/third_party/externals/tint/src/
Dblock_allocator_test.cc32 using Allocator = BlockAllocator<int>; in TEST_F() typedef
34 Allocator allocator; in TEST_F() local
36 for (int* i : allocator.Objects()) { in TEST_F()
42 for (int* i : static_cast<const Allocator&>(allocator).Objects()) { in TEST_F()
51 using Allocator = BlockAllocator<LifetimeCounter>; in TEST_F() typedef
55 Allocator allocator; in TEST_F() local
57 allocator.Create(&count); in TEST_F()
59 allocator.Create(&count); in TEST_F()
61 allocator.Create(&count); in TEST_F()
68 using Allocator = BlockAllocator<LifetimeCounter>; in TEST_F() typedef
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/hal/device/
Dgpu_hash_table_dummy.cu22 template <typename Key, typename Value, typename Allocator>
23 bool GPUHashTable<Key, Value, Allocator>::Find(const Key *keys, size_t key_num, bool insert_default… in Find()
28 template <typename Key, typename Value, typename Allocator>
29 bool GPUHashTable<Key, Value, Allocator>::Insert(const Key *keys, size_t key_num, const Value *valu… in Insert()
33 template <typename Key, typename Value, typename Allocator>
34 bool GPUHashTable<Key, Value, Allocator>::Erase(const Key *keys, size_t key_num, void *stream) { in Erase()
38 template <typename Key, typename Value, typename Allocator>
39 bool GPUHashTable<Key, Value, Allocator>::Clear() { in Clear()
43 template <typename Key, typename Value, typename Allocator>
44 size_t GPUHashTable<Key, Value, Allocator>::capacity() const { in capacity()
[all …]
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so__cxa_atexit __cxa_finalize AAssetDir_close AAssetDir_getNextFileName AAssetDir_rewind AAssetManager_fromJava AAssetManager_open AAssetManager_openDir AAsset_close AAsset_getBuffer AAsset_getLength AAsset_getLength64 AAsset_getRemainingLength AAsset_getRemainingLength64 AAsset_isAllocated AAsset_openFileDescriptor AAsset_openFileDescriptor64 AAsset_read AAsset_seek ...
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dmemory.h57 // Allocation holds the result of a memory allocation from an Allocator.
63 Create, // Allocator::create(), make_unique(), make_shared()
83 // Allocator
86 // Allocator is an interface to a memory allocator.
87 // Marl provides a default implementation with Allocator::Default.
88 class Allocator {
90 // The default allocator. Initialized with an implementation that allocates
92 MARL_EXPORT static Allocator* Default;
95 // objects created by Allocator::create(). Deleter is used by the smart
99 MARL_NO_EXPORT inline Deleter(Allocator* allocator, size_t count);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dosfiber_ucontext.h38 inline OSFiber(Allocator*);
43 static inline Allocator::unique_ptr<OSFiber> createFiberFromCurrentThread(
44 Allocator* allocator);
49 static inline Allocator::unique_ptr<OSFiber> createFiber(
50 Allocator* allocator,
59 Allocator* allocator;
65 OSFiber::OSFiber(Allocator* allocator) : allocator(allocator) {} in OSFiber() argument
69 allocator->free(stack); in ~OSFiber()
73 Allocator::unique_ptr<OSFiber> OSFiber::createFiberFromCurrentThread( in createFiberFromCurrentThread()
74 Allocator* allocator) { in createFiberFromCurrentThread() argument
[all …]
Dosfiber_asm.h65 inline OSFiber(Allocator*);
70 MARL_NO_EXPORT static inline Allocator::unique_ptr<OSFiber>
71 createFiberFromCurrentThread(Allocator* allocator);
76 MARL_NO_EXPORT static inline Allocator::unique_ptr<OSFiber> createFiber(
77 Allocator* allocator,
89 Allocator* allocator; variable
95 OSFiber::OSFiber(Allocator* allocator) : allocator(allocator) {} in OSFiber() argument
99 allocator->free(stack); in ~OSFiber()
103 Allocator::unique_ptr<OSFiber> OSFiber::createFiberFromCurrentThread( in createFiberFromCurrentThread()
104 Allocator* allocator) { in createFiberFromCurrentThread() argument
[all …]
/third_party/flatbuffers/include/flatbuffers/
Ddefault_allocator.h20 #include "flatbuffers/allocator.h"
26 class DefaultAllocator : public Allocator {
37 // These functions allow for a null allocator to mean use the default allocator,
40 // allocator, or having to move it between the classes that may own it.
41 inline uint8_t *Allocate(Allocator *allocator, size_t size) { in Allocate() argument
42 return allocator ? allocator->allocate(size) in Allocate()
46 inline void Deallocate(Allocator *allocator, uint8_t *p, size_t size) { in Deallocate() argument
47 if (allocator) in Deallocate()
48 allocator->deallocate(p, size); in Deallocate()
53 inline uint8_t *ReallocateDownward(Allocator *allocator, uint8_t *old_p, in ReallocateDownward() argument
[all …]

12345678910>>...96