/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/ |
D | ChildConnectionAllocatorTest.java | 129 private ChildConnectionAllocator mAllocator; field in ChildConnectionAllocatorTest 135 mAllocator = ChildConnectionAllocator.createForTest(null, TEST_PACKAGE_NAME, in setUp() 138 mAllocator.setConnectionFactoryForTesting(mTestConnectionFactory); in setUp() 144 assertFalse(mAllocator.anyConnectionAllocated()); in testPlainAllocate() 145 assertEquals(MAX_CONNECTION_NUMBER, mAllocator.getNumberOfServices()); in testPlainAllocate() 148 mAllocator.allocate(null /* context */, null /* serviceBundle */, mServiceCallback); in testPlainAllocate() 154 assertTrue(mAllocator.anyConnectionAllocated()); in testPlainAllocate() 161 assertTrue(mAllocator.isFreeConnectionAvailable()); in testAllocateMaxNumber() 164 ChildProcessConnection connection = mAllocator.allocate( in testAllocateMaxNumber() 171 assertFalse(mAllocator.isFreeConnectionAvailable()); in testAllocateMaxNumber() [all …]
|
/external/angle/src/libANGLE/serializer/ |
D | JsonSerializer.cpp | 25 JsonSerializer::JsonSerializer() : mDoc(js::kObjectType), mAllocator(mDoc.GetAllocator()) {} in JsonSerializer() 79 rapidjson::Value tag(name.c_str(), mAllocator); in addCString() 80 rapidjson::Value val(value, mAllocator); in addCString() 97 rapidjson::Value str(v.c_str(), mAllocator); in addVectorOfStrings() 98 array.PushBack(str, mAllocator); in addVectorOfStrings() 120 rapidjson::Value name_value(mGroupNameStack.top().c_str(), mAllocator); in endDocument() 121 mDoc.AddMember(name_value, makeValueGroup(mGroupValueStack.top()), mAllocator); in endDocument() 145 rapidjson::Value tag(it.first.c_str(), mAllocator); in makeValueGroup() 146 valueGroup.AddMember(tag, it.second, mAllocator); in makeValueGroup()
|
D | JsonSerializer.h | 88 array.PushBack(v, mAllocator); 116 rapidjson::Document::AllocatorType &mAllocator;
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Compiler.cpp | 29 : mAllocator(allocator), mPushPopAllocator(pushPop) in TScopedPoolAllocator() 31 if (mPushPopAllocator) mAllocator->push(); in TScopedPoolAllocator() 32 SetGlobalPoolAllocator(mAllocator); in TScopedPoolAllocator() 37 if (mPushPopAllocator) mAllocator->pop(); in ~TScopedPoolAllocator() 41 TPoolAllocator* mAllocator; member in __anonf99562cc0111::TScopedPoolAllocator
|
/external/angle/src/tests/perf_tests/ |
D | CompilerPerf.cpp | 262 angle::PoolAllocator mAllocator; member in __anoncbcfc3ae0111::CompilerPerfTest 275 mAllocator.push(); in SetUp() 276 SetGlobalPoolAllocator(&mAllocator); in SetUp() 296 mAllocator.pop(); in TearDown()
|
/external/angle/src/tests/test_utils/ |
D | ShaderCompileTreeTest.cpp | 114 mAllocator.push(); in SetUp() 115 SetGlobalPoolAllocator(&mAllocator); in SetUp() 131 mAllocator.pop(); in TearDown()
|
D | ShaderCompileTreeTest.h | 56 angle::PoolAllocator mAllocator; variable
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | SecondaryCommandBuffer.h | 700 mAllocator = allocator; in initialize() 712 initialize(mAllocator); in reset() 716 void releaseHandle() { mAllocator = nullptr; } in releaseHandle() 718 bool valid() const { return mAllocator != nullptr; } in valid() 751 ASSERT(mAllocator); 752 mCurrentWritePointer = mAllocator->fastAllocate(blockSize); 825 angle::PoolAllocator *mAllocator; variable 832 : mIsOpen(true), mAllocator(nullptr), mCurrentWritePointer(nullptr), mCurrentBytesRemaining(0) in SecondaryCommandBuffer()
|
D | RendererVk.h | 164 const vk::Allocator &getAllocator() const { return mAllocator; } in getAllocator() 537 vk::Allocator mAllocator; variable
|
D | RendererVk.cpp | 734 mAllocator.release(); in ~RendererVk() 789 mAllocator.destroy(); in onDestroy() 1186 mAllocator.init(mPhysicalDevice, mDevice, mInstance, applicationInfo.apiVersion, in initialize() 2794 mAllocator.buildStatsString(&statsString, true); in outputVmaStatString() 2796 mAllocator.freeStatsString(statsString); in outputVmaStatString()
|
D | vk_helpers.cpp | 937 mAllocator.initialize(kDefaultPoolAllocatorPageSize, 1); in initialize() 939 mAllocator.push(); in initialize() 940 mCommandBuffer.initialize(&mAllocator); in initialize() 946 mAllocator.pop(); in reset() 947 mAllocator.push(); in reset()
|
D | vk_helpers.h | 1245 angle::PoolAllocator mAllocator; variable
|
/external/angle/src/compiler/translator/ |
D | Compiler.cpp | 178 TScopedPoolAllocator(angle::PoolAllocator *allocator) : mAllocator(allocator) in TScopedPoolAllocator() 180 mAllocator->push(); in TScopedPoolAllocator() 181 SetGlobalPoolAllocator(mAllocator); in TScopedPoolAllocator() 186 mAllocator->pop(); in ~TScopedPoolAllocator() 190 angle::PoolAllocator *mAllocator; member in sh::__anona917a8340211::TScopedPoolAllocator
|
/external/v4l2_codec2/plugin_store/ |
D | C2VdaBqBlockPool.cpp | 503 const std::shared_ptr<C2Allocator> mAllocator; member in android::C2VdaBqBlockPool::Impl 540 : mAllocator(allocator) {} in Impl() 592 ConvertGraphicBuffer2C2Allocation(slotBuffer, mProducerId, slot, mAllocator.get()); in fetchGraphicBlock() 648 if (mTrackedGraphicBuffers.migrateLostBuffer(mAllocator.get(), mProducer.get(), mProducerId, in getFreeSlotLocked()
|