/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | BuddyAllocatorTests.cpp | 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() 61 ASSERT_EQ(allocator.Allocate(blockSize), blockSize * blocki); in TEST() 82 uint64_t blockOffset = allocator.Allocate(8); in TEST() 91 ASSERT_EQ(allocator.Allocate(maxBlockSize * 2), BuddyAllocator::kInvalidOffset); in TEST() 94 blockOffset = allocator.Allocate(maxBlockSize); in TEST() 120 uint64_t blockOffsetA = allocator.Allocate(blockSizeInBytes); in TEST() 125 uint64_t blockOffsetB = allocator.Allocate(blockSizeInBytes); in TEST() [all …]
|
D | RingBufferAllocatorTests.cpp | 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() 54 offset = allocator.Allocate(frameSizeInBytes, i); in TEST() 68 size_t offset = allocator.Allocate(frameSizeInBytes, ExecutionSerial(1)); in TEST() 73 offset = allocator.Allocate(frameSizeInBytes, ExecutionSerial(2)); in TEST() 78 offset = allocator.Allocate(frameSizeInBytes, ExecutionSerial(2)); in TEST() 99 allocator.Allocate(frameSizeInBytes, serial); in TEST() 110 ASSERT_EQ(allocator.Allocate(frameSizeInBytes * 3, serial), in TEST() [all …]
|
D | BuddyMemoryAllocatorTests.cpp | 47 ResourceMemoryAllocation Allocate(uint64_t allocationSize, uint64_t alignment = 1) { in Allocate() function in DummyBuddyResourceAllocator 49 mAllocator.Allocate(allocationSize, alignment); in Allocate() 79 ResourceMemoryAllocation invalidAllocation = allocator.Allocate(heapSize * 2); in TEST() 83 ResourceMemoryAllocation allocation1 = allocator.Allocate(128); in TEST() 90 invalidAllocation = allocator.Allocate(128); in TEST() 112 ResourceMemoryAllocation invalidAllocation = allocator.Allocate(heapSize * 2); in TEST() 116 invalidAllocation = allocator.Allocate(maxBlockSize * 2); in TEST() 120 ResourceMemoryAllocation allocation1 = allocator.Allocate(heapSize); in TEST() 127 ResourceMemoryAllocation allocation2 = allocator.Allocate(heapSize); in TEST() 160 ResourceMemoryAllocation allocation1 = allocator.Allocate(heapSize / 2); in TEST() [all …]
|
D | SlabAllocatorTests.cpp | 39 Foo* obj = allocator.Allocate(4); in TEST() 53 auto* ptr = allocator.Allocate(i); in TEST() 78 auto* ptr = allocator.Allocate(i); in TEST() 105 EXPECT_TRUE(objects.insert(allocator.Allocate(i)).second); in TEST() 116 Foo* ptr = allocator.Allocate(i); in TEST() 138 Foo* object = allocator.Allocate(i); in TEST() 156 Foo* object = allocator.Allocate(i); in TEST() 172 Foo* object = allocator.Allocate(i); in TEST()
|
D | CommandAllocatorTests.cpp | 79 CommandPipeline* pipeline = allocator.Allocate<CommandPipeline>(CommandType::Pipeline); in TEST() 83 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST() 125 allocator.Allocate<CommandPushConstants>(CommandType::PushConstants); in TEST() 167 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST() 211 CommandBig* big = allocator.Allocate<CommandBig>(CommandType::Big); in TEST() 245 CommandSmall* small = allocator.Allocate<CommandSmall>(CommandType::Small); in TEST() 286 CommandPipeline* pipeline = allocator.Allocate<CommandPipeline>(CommandType::Pipeline); in TEST() 290 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST() 418 IntWithDefault<42>* int42 = allocator.Allocate<IntWithDefault<42>>(CommandType::Draw); in TEST() 421 IntWithDefault<43>* int43 = allocator.Allocate<IntWithDefault<43>>(CommandType::Draw); in TEST() [all …]
|
/third_party/e2fsprogs/tests/f_holedir4/ |
D | expect.1 | 9 Directory inode 12 has an unallocated block #2. Allocate? yes 11 Directory inode 12 has an unallocated block #3. Allocate? yes 13 Directory inode 12 has an unallocated block #4. Allocate? yes 15 Directory inode 12 has an unallocated block #5. Allocate? yes 17 Directory inode 12 has an unallocated block #6. Allocate? yes 19 Directory inode 12 has an unallocated block #7. Allocate? yes 21 Directory inode 12 has an unallocated block #8. Allocate? yes 23 Directory inode 12 has an unallocated block #9. Allocate? yes 25 Directory inode 12 has an unallocated block #10. Allocate? yes 27 Directory inode 12 has an unallocated block #11. Allocate? yes [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_memory.cpp | 40 Allocate (size); in dng_memory_data() 52 Allocate (count, elementSize); in dng_memory_data() 67 void dng_memory_data::Allocate (uint32 size) in Allocate() function in dng_memory_data 90 void dng_memory_data::Allocate (uint32 count, std::size_t elementSize) in Allocate() function in dng_memory_data 106 Allocate(numBytes); in Allocate() 131 dng_memory_block * result = allocator.Allocate (size); in Clone() 218 dng_memory_block * dng_memory_allocator::Allocate (uint32 size) in Allocate() function in dng_memory_allocator
|
D | dng_ref_counted_block.cpp | 40 Allocate (size); in dng_ref_counted_block() 55 void dng_ref_counted_block::Allocate (uint32 size) in Allocate() function in dng_ref_counted_block 172 Allocate ((uint32)possiblySharedHeader->fSize); in EnsureWriteable()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPassEncoder.cpp | 54 DrawCmd* draw = mAllocator->Allocate<DrawCmd>(Command::Draw); in Draw() 70 DrawIndexedCmd* draw = mAllocator->Allocate<DrawIndexedCmd>(Command::DrawIndexed); in DrawIndexed() 90 DrawIndirectCmd* cmd = mAllocator->Allocate<DrawIndirectCmd>(Command::DrawIndirect); in DrawIndirect() 109 mAllocator->Allocate<DrawIndexedIndirectCmd>(Command::DrawIndexedIndirect); in DrawIndexedIndirect() 121 mAllocator->Allocate<SetRenderPipelineCmd>(Command::SetRenderPipeline); in SetPipeline() 131 mAllocator->Allocate<SetStencilReferenceCmd>(Command::SetStencilReference); in SetStencilReference() 140 SetBlendColorCmd* cmd = mAllocator->Allocate<SetBlendColorCmd>(Command::SetBlendColor); in SetBlendColor() 173 SetViewportCmd* cmd = mAllocator->Allocate<SetViewportCmd>(Command::SetViewport); in SetViewport() 194 SetScissorRectCmd* cmd = mAllocator->Allocate<SetScissorRectCmd>(Command::SetScissorRect); in SetScissorRect() 207 SetIndexBufferCmd* cmd = mAllocator->Allocate<SetIndexBufferCmd>(Command::SetIndexBuffer); in SetIndexBuffer() [all …]
|
D | ProgrammablePassEncoder.cpp | 56 mAllocator->Allocate<InsertDebugMarkerCmd>(Command::InsertDebugMarker); in InsertDebugMarker() 68 mAllocator->Allocate<PopDebugGroupCmd>(Command::PopDebugGroup); in PopDebugGroup() 76 PushDebugGroupCmd* cmd = mAllocator->Allocate<PushDebugGroupCmd>(Command::PushDebugGroup); in PushDebugGroup() 125 SetBindGroupCmd* cmd = mAllocator->Allocate<SetBindGroupCmd>(Command::SetBindGroup); in SetBindGroup()
|
D | ComputePassEncoder.cpp | 47 DispatchCmd* dispatch = mAllocator->Allocate<DispatchCmd>(Command::Dispatch); in Dispatch() 67 mAllocator->Allocate<DispatchIndirectCmd>(Command::DispatchIndirect); in DispatchIndirect() 79 mAllocator->Allocate<SetComputePipelineCmd>(Command::SetComputePipeline); in SetPipeline()
|
D | CommandAllocator.h | 112 T* Allocate(E commandId) { in Allocate() function 117 Allocate(static_cast<uint32_t>(commandId), sizeof(T), alignof(T))); in Allocate() 146 uint8_t* Allocate(uint32_t commandId, size_t commandSize, size_t commandAlignment);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 48 void *Allocate(size_t Size, size_t Alignment) { in Allocate() function 51 &AllocatorBase::Allocate) != in Allocate() 53 &DerivedT::Allocate), in Allocate() 57 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment); in Allocate() 78 template <typename T> T *Allocate(size_t Num = 1) { 79 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 95 LLVM_ATTRIBUTE_RETURNS_NONNULL void *Allocate(size_t Size, in Allocate() function 101 using AllocatorBase<MallocAllocator>::Allocate; 212 Allocate(size_t Size, size_t Alignment) { in Allocate() function 237 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Allocator.h | 51 void *Allocate(size_t Size, size_t Alignment) { in Allocate() function 54 &AllocatorBase::Allocate) != in Allocate() 56 &DerivedT::Allocate), in Allocate() 60 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment); in Allocate() 81 template <typename T> T *Allocate(size_t Num = 1) { 82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 98 LLVM_ATTRIBUTE_RETURNS_NONNULL void *Allocate(size_t Size, in Allocate() function 104 using AllocatorBase<MallocAllocator>::Allocate; 215 Allocate(size_t Size, Align Alignment) { in Allocate() function 244 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() [all …]
|
D | RecyclingAllocator.h | 43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate() function 45 T *Allocate() { return Base.Allocate(Allocator); } in Allocate() function 66 return Allocator.Allocate(); in new()
|
D | Recycler.h | 83 SubClass *Allocate(AllocatorType &Allocator) { in Allocate() function 89 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); in Allocate() 93 T *Allocate(AllocatorType &Allocator) { in Allocate() function 94 return Allocate<T>(Allocator); in Allocate()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPassEncoder.cpp | 124 allocator->Allocate<EndRenderPassCmd>(Command::EndRenderPass); in APIEndPass() 139 allocator->Allocate<SetStencilReferenceCmd>(Command::SetStencilReference); in APISetStencilReference() 152 allocator->Allocate<SetBlendConstantCmd>(Command::SetBlendConstant); in APISetBlendConstant() 198 SetViewportCmd* cmd = allocator->Allocate<SetViewportCmd>(Command::SetViewport); in APISetViewport() 229 allocator->Allocate<SetScissorRectCmd>(Command::SetScissorRect); in APISetScissorRect() 278 allocator->Allocate<ExecuteBundlesCmd>(Command::ExecuteBundles); in APIExecuteBundles() 337 allocator->Allocate<BeginOcclusionQueryCmd>(Command::BeginOcclusionQuery); in APIBeginOcclusionQuery() 359 allocator->Allocate<EndOcclusionQueryCmd>(Command::EndOcclusionQuery); in APIEndOcclusionQuery() 384 allocator->Allocate<WriteTimestampCmd>(Command::WriteTimestamp); in APIWriteTimestamp()
|
D | RenderEncoderBase.cpp | 101 DrawCmd* draw = allocator->Allocate<DrawCmd>(Command::Draw); in APIDraw() 141 DrawIndexedCmd* draw = allocator->Allocate<DrawIndexedCmd>(Command::DrawIndexed); in APIDrawIndexed() 173 DrawIndirectCmd* cmd = allocator->Allocate<DrawIndirectCmd>(Command::DrawIndirect); in APIDrawIndirect() 205 allocator->Allocate<DrawIndexedIndirectCmd>(Command::DrawIndexedIndirect); in APIDrawIndexedIndirect() 259 allocator->Allocate<SetRenderPipelineCmd>(Command::SetRenderPipeline); in APISetPipeline() 314 allocator->Allocate<SetIndexBufferCmd>(Command::SetIndexBuffer); in APISetIndexBuffer() 371 allocator->Allocate<SetVertexBufferCmd>(Command::SetVertexBuffer); in APISetVertexBuffer()
|
D | ProgrammableEncoder.cpp | 63 allocator->Allocate<InsertDebugMarkerCmd>(Command::InsertDebugMarker); in APIInsertDebugMarker() 83 allocator->Allocate<PopDebugGroupCmd>(Command::PopDebugGroup); in APIPopDebugGroup() 97 allocator->Allocate<PushDebugGroupCmd>(Command::PushDebugGroup); in APIPushDebugGroup() 193 SetBindGroupCmd* cmd = allocator->Allocate<SetBindGroupCmd>(Command::SetBindGroup); in RecordSetBindGroup()
|
D | CommandAllocator.h | 164 T* Allocate(E commandId) { in Allocate() function 169 Allocate(static_cast<uint32_t>(commandId), sizeof(T), alignof(T))); in Allocate() 206 DAWN_FORCE_INLINE uint8_t* Allocate(uint32_t commandId, in Allocate() function 249 return Allocate(detail::kAdditionalData, commandSize, commandAlignment); in AllocateData()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | CommandAllocatorTests.cpp | 79 CommandPipeline* pipeline = allocator.Allocate<CommandPipeline>(CommandType::Pipeline); in TEST() 83 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST() 124 …CommandPushConstants* pushConstants = allocator.Allocate<CommandPushConstants>(CommandType::PushCo… in TEST() 166 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST() 210 CommandBig* big = allocator.Allocate<CommandBig>(CommandType::Big); in TEST() 244 CommandSmall* small = allocator.Allocate<CommandSmall>(CommandType::Small); in TEST() 285 CommandPipeline* pipeline = allocator.Allocate<CommandPipeline>(CommandType::Pipeline); in TEST() 289 CommandDraw* draw = allocator.Allocate<CommandDraw>(CommandType::Draw); in TEST() 417 IntWithDefault<42>* int42 = allocator.Allocate<IntWithDefault<42>>(CommandType::Draw); in TEST() 420 IntWithDefault<43>* int43 = allocator.Allocate<IntWithDefault<43>>(CommandType::Draw); in TEST() [all …]
|
/third_party/e2fsprogs/tests/f_holedir/ |
D | expect.1 | 12 Directory inode 11 has an unallocated block #0. Allocate? yes 14 Directory inode 11 has an unallocated block #3. Allocate? yes 16 Directory inode 11 has an unallocated block #6. Allocate? yes
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | SlabAllocator.h | 96 void* Allocate(); 174 T* Allocate(Args&&... args) { in Allocate() function 175 void* ptr = SlabAllocatorImpl::Allocate(); in Allocate()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | DescriptorHeapAllocator.cpp | 64 DescriptorHeapHandle DescriptorHeapAllocator::Allocate(D3D12_DESCRIPTOR_HEAP_TYPE type, in Allocate() function in dawn_native::d3d12::DescriptorHeapAllocator 110 return Allocate(type, count, count, &mCpuDescriptorHeapInfos[type], in AllocateCPUHeap() 121 return Allocate(type, count, heapSize, &mGpuDescriptorHeapInfos[type], in AllocateGPUHeap()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | resource9.c | 39 BOOL Allocate, in NineResource9_ctor() argument 49 This, pParams, initResource, (int) Allocate, in NineResource9_ctor() 60 if (Allocate) { in NineResource9_ctor()
|