/third_party/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 84 bool GrMtlBuffer::onUpdateData(const void* src, size_t sizeInBytes) { 89 if (sizeInBytes > this->size()) { 94 this->internalMap(sizeInBytes); 98 memcpy(fMapPtr, src, sizeInBytes); 99 this->internalUnmap(sizeInBytes); 104 sizeInBytes, this->mtlGpu()->mtlCaps().getMinBufferAlignment()); 108 memcpy(slice.fOffsetMapPtr, src, sizeInBytes); 121 size: sizeInBytes]; 149 void GrMtlBuffer::internalMap(size_t sizeInBytes) { 152 SkASSERT(sizeInBytes <= this->size()); [all …]
|
D | GrMtlBuffer.h | 41 void internalMap(size_t sizeInBytes); 42 void internalUnmap(size_t sizeInBytes);
|
/third_party/skia/third_party/externals/oboe/tests/ |
D | testUtilities.cpp | 33 int32_t sizeInBytes = oboe::convertFormatToSizeInBytes(AudioFormat::I16); in TEST_F() local 34 ASSERT_EQ(sizeInBytes, 2); in TEST_F() 38 int32_t sizeInBytes = oboe::convertFormatToSizeInBytes(AudioFormat::Float); in TEST_F() local 39 ASSERT_EQ(sizeInBytes, 4); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | RingBufferAllocatorTests.cpp | 25 constexpr uint64_t sizeInBytes = 64000; in TEST() local 26 RingBufferAllocator allocator(sizeInBytes); 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()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | RingBufferTests.cpp | 56 constexpr size_t sizeInBytes = 64000; in TEST_F() local 57 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(sizeInBytes); in TEST_F() 62 ASSERT_EQ(buffer->GetSize(), sizeInBytes); in TEST_F() 65 ValidateInvalidUploadHandle(buffer->SubAllocate(sizeInBytes + 1)); in TEST_F() 68 ValidateValidUploadHandle(buffer->SubAllocate(sizeInBytes / 2)); in TEST_F() 69 ValidateValidUploadHandle(buffer->SubAllocate(sizeInBytes / 2)); in TEST_F()
|
/third_party/boost/boost/regex/v4/ |
D | regex_workaround.hpp | 197 std::size_t sizeInBytes, in strcpy_s() argument 202 if (lenSourceWithNull > sizeInBytes) in strcpy_s() 209 std::size_t sizeInBytes, in strcat_s() argument 215 if (lenSourceWithNull + lenDestination > sizeInBytes) in strcat_s()
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer() argument 32 : INHERITED(gpu, sizeInBytes, type, pattern) in GrDawnBuffer() 35 bufferDesc.size = sizeInBytes; in GrDawnBuffer()
|
D | GrDawnBuffer.h | 18 GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType tpye, GrAccessPattern pattern);
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 106 void GrMtlBuffer::internalMap(size_t sizeInBytes) { 113 fMtlBuffer = this->mtlGpu()->resourceProvider().getDynamicBuffer(sizeInBytes, &fOffset); 120 [this->mtlGpu()->device() newBufferWithLength: sizeInBytes 127 void GrMtlBuffer::internalUnmap(size_t sizeInBytes) { 142 [fMtlBuffer didModifyRange: NSMakeRange(fOffset, sizeInBytes)]; 151 size: sizeInBytes];
|
D | GrMtlBuffer.h | 42 void internalMap(size_t sizeInBytes); 43 void internalUnmap(size_t sizeInBytes);
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 17 GrMockBuffer(GrMockGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrMockBuffer() argument 19 : INHERITED(gpu, sizeInBytes, type, accessPattern) { in GrMockBuffer()
|
/third_party/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 17 GrMockBuffer(GrMockGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrMockBuffer() argument 19 : INHERITED(gpu, sizeInBytes, type, accessPattern) { in GrMockBuffer()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 30 GrDawnBuffer::GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrDawnBuffer() argument 32 : INHERITED(gpu, sizeInBytes, type, pattern) { in GrDawnBuffer() 34 bufferDesc.size = sizeInBytes; in GrDawnBuffer()
|
D | GrDawnBuffer.h | 18 GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, GrAccessPattern pattern);
|
/third_party/flutter/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() argument 16 , fSizeInBytes(sizeInBytes) in GrGpuBuffer()
|
D | GrGpuBuffer.h | 84 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern);
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | Texture3DTests.cpp | 75 uint32_t sizeInBytes = in TEST_P() local 78 uint32_t size = sizeInBytes / bytesPerTexel; in TEST_P() 89 utils::CreateBufferFromData(device, data.data(), sizeInBytes, wgpu::BufferUsage::CopySrc); in TEST_P()
|
/third_party/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() argument 16 , fSizeInBytes(sizeInBytes) in GrGpuBuffer()
|
D | GrGpuBuffer.h | 84 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern);
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.hpp | 65 int sizeInBytes; member 80 int sizeInBytes; // intended size of the bound region -- slides along with dynamic offsets member
|
/third_party/skia/include/effects/ |
D | SkRuntimeEffect.h | 78 size_t sizeInBytes() const; 304 } else if (sizeof(val) != fVar->sizeInBytes()) { 316 } else if (fVar->sizeInBytes() != 9 * sizeof(float)) { 334 } else if (sizeof(T) * count != fVar->sizeInBytes()) { in set()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DBuffer.cpp | 215 sizeInBytes = SkAlign4(sizeInBytes); in internalUnmap()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkBuffer.h | 38 size_t sizeInBytes,
|
/third_party/icu/icu4c/source/common/ |
D | uarrsort.cpp | 39 static constexpr int32_t sizeInMaxAlignTs(int32_t sizeInBytes) { in sizeInMaxAlignTs() argument 40 return (sizeInBytes + sizeof(std::max_align_t) - 1) / sizeof(std::max_align_t); in sizeInMaxAlignTs()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uarrsort.cpp | 39 static constexpr int32_t sizeInMaxAlignTs(int32_t sizeInBytes) { in sizeInMaxAlignTs() argument 40 return (sizeInBytes + sizeof(std::max_align_t) - 1) / sizeof(std::max_align_t); in sizeInMaxAlignTs()
|