/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deArrayBuffer.hpp | 91 const size_t storageSize = (numElements - 1) * Stride + sizeof(T); in ArrayBuffer() local 92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); in ArrayBuffer() 115 const size_t storageSize = sizeof(T) * numElements; in ArrayBuffer() local 116 deMemcpy(tmp.m_ptr, ptr, (int)storageSize); in ArrayBuffer() 138 const size_t storageSize = (other.m_cap - 1) * Stride + sizeof(T); in ArrayBuffer() local 141 deMemcpy(tmp.m_ptr, other.m_ptr, (int)storageSize); in ArrayBuffer()
|
/third_party/skia/src/core/ |
H A D | SkDeque.cpp | 38 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument 43 SkASSERT(storageSize == 0 || storage != nullptr); in SkDeque() 46 if (storageSize >= sizeof(Block) + elemSize) { in SkDeque() 48 fFrontBlock->init(storageSize); in SkDeque()
|
H A D | SkWriteBuffer.h | 83 SkBinaryWriteBuffer(void* initialStorage, size_t storageSize); 93 void reset(void* storage = nullptr, size_t storageSize = 0) { in reset() 94 fWriter.reset(storage, storageSize); in reset()
|
H A D | SkMipmap.cpp | 562 size_t storageSize = SkMipmap::AllocLevelsSize(countLevels, size); in Build() local 563 if (0 == storageSize) { in Build() 569 SkDiscardableMemory* dm = fact(storageSize); in Build() 573 mipmap = new SkMipmap(storageSize, dm); in Build() 575 mipmap = new SkMipmap(sk_malloc_throw(storageSize), storageSize); in Build()
|
H A D | SkWriteBuffer.cpp | 28 SkBinaryWriteBuffer::SkBinaryWriteBuffer(void* storage, size_t storageSize) in SkBinaryWriteBuffer() argument 31 , fWriter(storage, storageSize) in SkBinaryWriteBuffer()
|
H A D | SkMaskFilter.cpp | 136 size_t storageSize = (innerW + 1) * (sizeof(int16_t) + sizeof(uint8_t)); in draw_nine_clipped() local 137 SkAutoSMalloc<4*1024> storage(storageSize); in draw_nine_clipped()
|
/third_party/skia/third_party/externals/tint/tools/src/lut/ |
H A D | lut.go | 209 storageSize := t.storage.Count() 210 keys := make([]int32, storageSize) 212 for i := 0; i < storageSize; i++ {
|
/third_party/protobuf/objectivec/ |
H A D | GPBDescriptor_PackagePrivate.h | 194 storageSize:(uint32_t)storageSize 200 storageSize:(uint32_t)storage
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImage.cpp | 990 VkDeviceSize storageSize = 0; in getStorageSize() local 992 if(aspectMask & VK_IMAGE_ASPECT_COLOR_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_COLOR_BIT); in getStorageSize() 993 if(aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_DEPTH_BIT); in getStorageSize() 994 if(aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_STENCIL_BIT); in getStorageSize() 995 if(aspectMask & VK_IMAGE_ASPECT_PLANE_0_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_0_BIT); in getStorageSize() 996 if(aspectMask & VK_IMAGE_ASPECT_PLANE_1_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_1_BIT); in getStorageSize() 997 if(aspectMask & VK_IMAGE_ASPECT_PLANE_2_BIT) storageSize += getLayerSize(VK_IMAGE_ASPECT_PLANE_2_BIT); in getStorageSize() 999 return arrayLayers * storageSize; in getStorageSize()
|
/third_party/skia/include/private/ |
H A D | SkDeque.h | 33 SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount = 1);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Buffer11.h | 160 size_t storageSize);
|
H A D | Renderer11.h | 214 UniformStorageD3D *createUniformStorage(size_t storageSize) override;
|
H A D | Buffer11.cpp | 984 size_t storageSize) in updateBufferStorage() 1028 storage->copyFromStorage(context, latestBuffer, sourceOffset, storageSize, 0, ©Result)); in updateBufferStorage() 981 updateBufferStorage(const gl::Context *context, BufferStorage *storage, size_t sourceOffset, size_t storageSize) updateBufferStorage() argument
|
H A D | Renderer11.cpp | 3162 UniformStorageD3D *Renderer11::createUniformStorage(size_t storageSize) in createUniformStorage() argument 3164 return new UniformStorage11(storageSize); in createUniformStorage()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | RendererD3D.h | 284 virtual UniformStorageD3D *createUniformStorage(size_t storageSize) = 0;
|
/third_party/skia/src/shaders/gradients/ |
H A D | SkGradientShader.cpp | 161 size_t storageSize = fColorCount * (sizeof(SkColor4f) + (desc.fPos ? sizeof(SkScalar) : 0)); in SkGradientShaderBase() local 162 fOrigColors4f = reinterpret_cast<SkColor4f*>(fStorage.reset(storageSize)); in SkGradientShaderBase()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Renderer9.h | 256 UniformStorageD3D *createUniformStorage(size_t storageSize) override;
|
H A D | Renderer9.cpp | 2761 UniformStorageD3D *Renderer9::createUniformStorage(size_t storageSize) in createUniformStorage() argument 2763 return new UniformStorageD3D(storageSize); in createUniformStorage()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkRayTracingUtil.hpp | 525 const VkDeviceSize storageSize);
|
H A D | vkRayTracingUtil.cpp | 524 const VkDeviceSize storageSize) in SerialStorage() 526 , m_storageSize (storageSize) in SerialStorage() 529 const VkBufferCreateInfo bufferCreateInfo = makeBufferCreateInfo(storageSize, VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT); in SerialStorage() 520 SerialStorage(const DeviceInterface& vk, const VkDevice device, Allocator& allocator, const VkAccelerationStructureBuildTypeKHR buildType, const VkDeviceSize storageSize) SerialStorage() argument
|