Home
last modified time | relevance | path

Searched refs:mAllocator (Results 1 – 25 of 247) sorted by relevance

12345678910

/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/test/tests/containers/
H A DTestList.h47 DefaultAllocator mAllocator;
75 List<int> list1(mAllocator); in testConstructors()
83 List<int> list3(mAllocator); in testConstructors()
118 List<int> list1(mAllocator); in testAddRemoveClear()
129 List<int> list2(mAllocator); in testAddRemoveClear()
140 List<int> list3(mAllocator); in testAddRemoveClear()
195 List<int> list4(mAllocator); in testAddRemoveClear()
200 List<int> list5(mAllocator); in testAddRemoveClear()
204 List<int> list6(mAllocator); in testAddRemoveClear()
233 List<int> list1(mAllocator); in testAssignment()
[all …]
H A DTestSet.h71 DefaultAllocator mAllocator;
113 Set<int> set4(mAllocator);
152 Set<int> set1(mAllocator);
223 Set<int> set3(mAllocator);
249 Set<int> set4(mAllocator);
261 Set<int> set5(mAllocator);
286 Set<int> set1(mAllocator);
364 Set<int> set1(mAllocator);
369 Set<int> set2(mAllocator);
385 Set<int> set4(mAllocator);
[all …]
H A DTestMap.h71 DefaultAllocator mAllocator;
113 Map<int, int> map4(mAllocator);
150 Map<int, int> map1(mAllocator);
213 Map<int, int> map3(mAllocator);
238 Map<int, int> map4(mAllocator);
250 Map<int, int> map5(mAllocator);
275 Map<int, int> map1(mAllocator);
370 Map<int, int> map1(mAllocator);
375 Map<int, int> map2(mAllocator);
391 Map<int, int> map4(mAllocator);
[all …]
H A DTestDeque.h47 DefaultAllocator mAllocator;
72 Deque<int> deque1(mAllocator); in testConstructors()
75 Deque<int> deque2(mAllocator); in testConstructors()
128 Deque<int> deque1(mAllocator); in testAddPopClear()
144 Deque<int> deque2(mAllocator); in testAddPopClear()
213 Deque<int> deque1(mAllocator); in testAssignment()
218 Deque<int> deque2(mAllocator); in testAssignment()
222 Deque<int> deque3(mAllocator); in testAssignment()
223 Deque<int> deque4(mAllocator); in testAssignment()
242 Deque<int> deque1(mAllocator); in testEquality()
[all …]
/dports/devel/eastl/EASTL-3.13.06/include/EASTL/
H A Dfixed_set.h223 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_set()
226 mAllocator.set_name(x.mAllocator.get_name()); in fixed_set()
237 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_set()
240 mAllocator.set_name(x.mAllocator.get_name()); in fixed_set()
251 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_set()
254 mAllocator.set_name(x.mAllocator.get_name()); in fixed_set()
413 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_multiset()
416 mAllocator.set_name(x.mAllocator.get_name()); in fixed_multiset()
427 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_multiset()
430 mAllocator.set_name(x.mAllocator.get_name()); in fixed_multiset()
[all …]
H A Dfixed_slist.h88 using base_type::mAllocator;
175 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_slist()
178 mAllocator.set_name(x.mAllocator.get_name()); in fixed_slist()
198 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_slist()
201 mAllocator.set_name(x.mAllocator.get_name()); in fixed_slist()
212 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_slist()
215 mAllocator.set_name(x.mAllocator.get_name()); in fixed_slist()
256 mAllocator = x.mAllocator; // The primary effect of this is to copy the overflow allocator.
339 return mAllocator.get_overflow_allocator(); in get_overflow_allocator()
347 return mAllocator.get_overflow_allocator(); in get_overflow_allocator()
[all …]
H A Dfixed_list.h91 using base_type::mAllocator;
177 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_list()
180 mAllocator.set_name(x.mAllocator.get_name()); in fixed_list()
200 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_list()
203 mAllocator.set_name(x.mAllocator.get_name()); in fixed_list()
215 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_list()
218 mAllocator.set_name(x.mAllocator.get_name()); in fixed_list()
255 mAllocator = x.mAllocator; // The primary effect of this is to copy the overflow allocator.
340 return mAllocator.get_overflow_allocator(); in get_overflow_allocator()
348 return mAllocator.get_overflow_allocator(); in get_overflow_allocator()
[all …]
H A Dfixed_map.h223 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_map()
226 mAllocator.set_name(x.mAllocator.get_name()); in fixed_map()
237 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_map()
240 mAllocator.set_name(x.mAllocator.get_name()); in fixed_map()
251 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_map()
254 mAllocator.set_name(x.mAllocator.get_name()); in fixed_map()
414 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_multimap()
417 mAllocator.set_name(x.mAllocator.get_name()); in fixed_multimap()
428 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_multimap()
431 mAllocator.set_name(x.mAllocator.get_name()); in fixed_multimap()
[all …]
H A Dfixed_hash_set.h322 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_set()
325 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_set()
344 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_set()
347 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_set()
366 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_set()
369 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_set()
595 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_multiset()
598 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_multiset()
617 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_multiset()
620 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_multiset()
[all …]
H A Dfixed_hash_map.h331 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_map()
334 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_map()
354 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_map()
357 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_map()
377 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_map()
380 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_map()
616 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_multimap()
619 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_multimap()
639 mAllocator.copy_overflow_allocator(x.mAllocator); in fixed_hash_multimap()
642 mAllocator.set_name(x.mAllocator.get_name()); in fixed_hash_multimap()
[all …]
H A Dshared_array.h124 allocator_type mAllocator; /// The allocator used to manage new/delete of mpRefCount. variable
139 mAllocator(allocator) in mpArray()
142 void* const pMemory = EASTLAlloc(mAllocator, sizeof(ref_count)); in mpArray()
157 mAllocator(sharedArray.mAllocator) in shared_array()
173 EASTLFree(mAllocator, mpRefCount, sizeof(ref_count)); in ~shared_array()
227 shared_array(pArray, mAllocator).swap(*this);
350 return mAllocator; in get_allocator()
354 return mAllocator; in get_allocator()
361 mAllocator = allocator; in set_allocator()
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/collision/narrowphase/
H A DCollisionDispatch.cpp32 CollisionDispatch::CollisionDispatch(MemoryAllocator& allocator) : mAllocator(allocator) { in CollisionDispatch()
51 mAllocator.release(mSphereVsSphereAlgorithm, sizeof(SphereVsSphereAlgorithm)); in ~CollisionDispatch()
54 mAllocator.release(mSphereVsCapsuleAlgorithm, sizeof(SphereVsCapsuleAlgorithm)); in ~CollisionDispatch()
57 mAllocator.release(mCapsuleVsCapsuleAlgorithm, sizeof(CapsuleVsCapsuleAlgorithm)); in ~CollisionDispatch()
60mAllocator.release(mSphereVsConvexPolyhedronAlgorithm, sizeof(SphereVsConvexPolyhedronAlgorithm)); in ~CollisionDispatch()
63mAllocator.release(mCapsuleVsConvexPolyhedronAlgorithm, sizeof(CapsuleVsConvexPolyhedronAlgorithm)… in ~CollisionDispatch()
113 mAllocator.release(mSphereVsSphereAlgorithm, sizeof(SphereVsSphereAlgorithm)); in setSphereVsSphereAlgorithm()
126 mAllocator.release(mSphereVsCapsuleAlgorithm, sizeof(SphereVsCapsuleAlgorithm)); in setSphereVsCapsuleAlgorithm()
139 mAllocator.release(mCapsuleVsCapsuleAlgorithm, sizeof(CapsuleVsCapsuleAlgorithm)); in setCapsuleVsCapsuleAlgorithm()
152mAllocator.release(mSphereVsConvexPolyhedronAlgorithm, sizeof(SphereVsConvexPolyhedronAlgorithm)); in setSphereVsConvexPolyhedronAlgorithm()
[all …]
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/include/reactphysics3d/containers/
H A DStack.h48 MemoryAllocator& mAllocator;
64 T* newArray = static_cast<T*>(mAllocator.allocate(capacity * sizeof(T))); in allocate()
77 mAllocator.release(mArray, mCapacity * sizeof(T)); in allocate()
91 :mAllocator(allocator), mArray(nullptr), mNbElements(0), mCapacity(0) { in mAllocator() function
100 :mAllocator(stack.mAllocator), mArray(nullptr), in Stack()
106 mArray = static_cast<T*>(mAllocator.allocate(mCapacity * sizeof(T))); in Stack()
125 mAllocator.release(mArray, mCapacity * sizeof(T)); in ~Stack()
H A DSet.h113 MemoryAllocator& mAllocator; variable
127 mBuckets = static_cast<int*>(mAllocator.allocate(mCapacity * sizeof(int))); in initialize()
130 mEntries = static_cast<Entry*>(mAllocator.allocate(mCapacity * sizeof(Entry))); in initialize()
196 mAllocator.release(mBuckets, mCapacity * sizeof(int)); in expand()
197 mAllocator.release(mEntries, mCapacity * sizeof(Entry)); in expand()
353 mEntries(nullptr), mAllocator(allocator), mFreeIndex(-1) {
371 … mBuckets(nullptr), mEntries(nullptr), mAllocator(set.mAllocator), mFreeIndex(set.mFreeIndex) { in Set()
518 mAllocator.release(mEntries[i].value, sizeof(V)); in remove()
569 mAllocator.release(mEntries[i].value, sizeof(V));
587 mAllocator.release(mBuckets, mCapacity * sizeof(int));
[all …]
H A DMap.h113 MemoryAllocator& mAllocator; variable
128 mBuckets = static_cast<int*>(mAllocator.allocate(mCapacity * sizeof(int))); in initialize()
131 mEntries = static_cast<Entry*>(mAllocator.allocate(mCapacity * sizeof(Entry))); in initialize()
199 mAllocator.release(mBuckets, mCapacity * sizeof(int)); in expand()
200 mAllocator.release(mEntries, mCapacity * sizeof(Entry)); in expand()
358 mEntries(nullptr), mAllocator(allocator), mFreeIndex(-1) {
376 … mBuckets(nullptr), mEntries(nullptr), mAllocator(map.mAllocator), mFreeIndex(map.mFreeIndex) { in Map()
541 mAllocator.release(mEntries[i].keyValue, sizeof(Pair<K,V>)); in remove()
583 mAllocator.release(mEntries[i].keyValue, sizeof(Pair<K,V>));
604 mAllocator.release(mBuckets, mCapacity * sizeof(int));
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/junit/src/org/chromium/base/process_launcher/
H A DChildConnectionAllocatorTest.java139 private ChildConnectionAllocator.FixedSizeAllocatorImpl mAllocator; field in ChildConnectionAllocatorTest
150 mAllocator.setConnectionFactoryForTesting(mTestConnectionFactory); in setUp()
168 assertFalse(mAllocator.anyConnectionAllocated()); in testPlainAllocate()
169 assertEquals(MAX_CONNECTION_NUMBER, mAllocator.getNumberOfServices()); in testPlainAllocate()
178 assertTrue(mAllocator.anyConnectionAllocated()); in testPlainAllocate()
185 assertTrue(mAllocator.isFreeConnectionAvailable()); in testAllocateMaxNumber()
188 ChildProcessConnection connection = mAllocator.allocate( in testAllocateMaxNumber()
195 assertFalse(mAllocator.isFreeConnectionAvailable()); in testAllocateMaxNumber()
196 assertNull(mAllocator.allocate( in testAllocateMaxNumber()
207 doTestQueueAllocation(mAllocator, freeConnectionCallback); in testQueueAllocation()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/junit/src/org/chromium/base/process_launcher/
H A DChildConnectionAllocatorTest.java139 private ChildConnectionAllocator.FixedSizeAllocatorImpl mAllocator; field in ChildConnectionAllocatorTest
150 mAllocator.setConnectionFactoryForTesting(mTestConnectionFactory); in setUp()
168 assertFalse(mAllocator.anyConnectionAllocated()); in testPlainAllocate()
169 assertEquals(MAX_CONNECTION_NUMBER, mAllocator.getNumberOfServices()); in testPlainAllocate()
178 assertTrue(mAllocator.anyConnectionAllocated()); in testPlainAllocate()
185 assertTrue(mAllocator.isFreeConnectionAvailable()); in testAllocateMaxNumber()
188 ChildProcessConnection connection = mAllocator.allocate( in testAllocateMaxNumber()
195 assertFalse(mAllocator.isFreeConnectionAvailable()); in testAllocateMaxNumber()
196 assertNull(mAllocator.allocate( in testAllocateMaxNumber()
207 doTestQueueAllocation(mAllocator, freeConnectionCallback); in testQueueAllocation()
[all …]
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/collision/
H A DHalfEdgeStructure.cpp37 Map<VerticesPair, Edge> edges(mAllocator); in init()
38 Map<VerticesPair, VerticesPair> nextEdges(mAllocator); in init()
39 Map<VerticesPair, uint> mapEdgeToStartVertex(mAllocator); in init()
40 Map<VerticesPair, uint> mapEdgeToIndex(mAllocator); in init()
41 Map<uint, VerticesPair> mapEdgeIndexToKey(mAllocator); in init()
42 Map<uint, VerticesPair> mapFaceIndexToEdgeKey(mAllocator); in init()
44 List<VerticesPair> currentFaceEdges(mAllocator, mFaces[0].faceVertices.size()); in init()
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/test/tests/collision/
H A DTestHalfEdgeStructure.h24 DefaultAllocator mAllocator;
74 List<uint> face0(mAllocator, 4); in testCube()
76 List<uint> face1(mAllocator, 4); in testCube()
78 List<uint> face2(mAllocator, 4); in testCube()
80 List<uint> face3(mAllocator, 4); in testCube()
82 List<uint> face4(mAllocator, 4); in testCube()
84 List<uint> face5(mAllocator, 4); in testCube()
191 List<uint> face0(mAllocator, 3); in testTetrahedron()
193 List<uint> face1(mAllocator, 3); in testTetrahedron()
195 List<uint> face2(mAllocator, 3); in testTetrahedron()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dawn/src/dawn_native/
H A DDynamicUploader.cpp49 const RingBufferAllocator& ringBufferAllocator = ringBuffer->mAllocator; in Allocate()
62 startOffset = targetRingBuffer->mAllocator.Allocate(allocationSize, serial); in Allocate()
72 startOffset = targetRingBuffer->mAllocator.Allocate(allocationSize, serial); in Allocate()
82 mDevice->CreateStagingBuffer(targetRingBuffer->mAllocator.GetSize())); in Allocate()
101 mRingBuffers[i]->mAllocator.Deallocate(lastCompletedSerial); in Deallocate()
105 if (mRingBuffers[i]->mAllocator.Empty() && i < mRingBuffers.size() - 1) { in Deallocate()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/
H A DSurfaceAllocator.java85 private ISurfaceAllocator mAllocator; field in SurfaceAllocator.SurfaceAllocatorConnection
88 while (mAllocator == null) { in getAllocator()
94 return mAllocator; in getAllocator()
99 mAllocator = ISurfaceAllocator.Stub.asInterface(service); in onServiceConnected()
105 mAllocator = null; in onServiceDisconnected()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/
H A DDynamicUploader.cpp50 const RingBufferAllocator& ringBufferAllocator = ringBuffer->mAllocator; in AllocateInternal()
63 startOffset = targetRingBuffer->mAllocator.Allocate(allocationSize, serial); in AllocateInternal()
73 startOffset = targetRingBuffer->mAllocator.Allocate(allocationSize, serial); in AllocateInternal()
83 mDevice->CreateStagingBuffer(targetRingBuffer->mAllocator.GetSize())); in AllocateInternal()
102 mRingBuffers[i]->mAllocator.Deallocate(lastCompletedSerial); in Deallocate()
106 if (mRingBuffers[i]->mAllocator.Empty() && i < mRingBuffers.size() - 1) { in Deallocate()
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/
H A DSurfaceAllocator.java103 private ISurfaceAllocator mAllocator; field in SurfaceAllocator.SurfaceAllocatorConnection
106 while (mAllocator == null) { in getAllocator()
112 return mAllocator; in getAllocator()
118 mAllocator = ISurfaceAllocator.Stub.asInterface(service); in onServiceConnected()
124 mAllocator = null; in onServiceDisconnected()
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/
H A DSurfaceAllocator.java103 private ISurfaceAllocator mAllocator; field in SurfaceAllocator.SurfaceAllocatorConnection
106 while (mAllocator == null) { in getAllocator()
112 return mAllocator; in getAllocator()
118 mAllocator = ISurfaceAllocator.Stub.asInterface(service); in onServiceConnected()
124 mAllocator = null; in onServiceDisconnected()
/dports/lang/spidermonkey78/firefox-78.9.0/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/
H A DSurfaceAllocator.java103 private ISurfaceAllocator mAllocator; field in SurfaceAllocator.SurfaceAllocatorConnection
106 while (mAllocator == null) { in getAllocator()
112 return mAllocator; in getAllocator()
118 mAllocator = ISurfaceAllocator.Stub.asInterface(service); in onServiceConnected()
124 mAllocator = null; in onServiceDisconnected()

12345678910