/third_party/skia/third_party/externals/oboe/tests/ |
H A 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/ |
H A 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/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationCommonEdgeTests.cpp | 333 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) + sizeInBytes(gridIndices); in test() 335 const std::size_t vertexTessParamsOffset = sizeInBytes(gridPosComps); in test() 336 const std::size_t vertexIndicesOffset = vertexTessParamsOffset + sizeInBytes(gridTessParams); in test() 345 deMemcpy(pData + vertexPositionsOffset, &gridPosComps[0], static_cast<std::size_t>(sizeInBytes(gridPosComps))); in test() 346 deMemcpy(pData + vertexTessParamsOffset, &gridTessParams[0], static_cast<std::size_t>(sizeInBytes(gridTessParams))); in test() 347 deMemcpy(pData + vertexIndicesOffset, &gridIndices[0], static_cast<std::size_t>(sizeInBytes(gridIndices))); in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationCommonEdgeTests.cpp | 333 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) + sizeInBytes(gridIndices); in test() 335 const std::size_t vertexTessParamsOffset = sizeInBytes(gridPosComps); in test() 336 const std::size_t vertexIndicesOffset = vertexTessParamsOffset + sizeInBytes(gridTessParams); in test() 345 deMemcpy(pData + vertexPositionsOffset, &gridPosComps[0], static_cast<std::size_t>(sizeInBytes(gridPosComps))); in test() 346 deMemcpy(pData + vertexTessParamsOffset, &gridTessParams[0], static_cast<std::size_t>(sizeInBytes(gridTessParams))); in test() 347 deMemcpy(pData + vertexIndicesOffset, &gridIndices[0], static_cast<std::size_t>(sizeInBytes(gridIndices))); in test()
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_cmd.h | 1394 uint32 sizeInBytes; member 1433 uint32 sizeInBytes; member 1588 uint32 sizeInBytes; member 1600 uint32 sizeInBytes; member 1619 uint32 sizeInBytes; member 1644 uint32 sizeInBytes; member 1672 uint32 sizeInBytes; member 1687 uint32 sizeInBytes; member 2013 uint32 sizeInBytes; member
|
H A D | svga3d_dx.h | 231 uint32 sizeInBytes; member 426 uint32 sizeInBytes; member 445 uint32 sizeInBytes; member 476 uint32 sizeInBytes; member 486 uint32 sizeInBytes; member 678 uint32 sizeInBytes; member 1789 uint32 sizeInBytes; member 1798 uint32 sizeInBytes; member 1914 uint32 sizeInBytes; member 2038 uint32 sizeInBytes; member [all...] |
/third_party/skia/src/gpu/mock/ |
H A 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/ |
H A 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()
|
H A D | GrDawnBuffer.h | 18 GrDawnBuffer(GrDawnGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, GrAccessPattern pattern);
|
/third_party/libwebsockets/win32port/dirent/ |
H A D | dirent-win32.h | 340 size_t sizeInBytes, 1091 size_t sizeInBytes, /* max size of mbstr */ in dirent_wcstombs_s() 1100 error = wcstombs_s (pReturnValue, mbstr, sizeInBytes, wcstr, count); in dirent_wcstombs_s() 1108 n = wcstombs (mbstr, wcstr, sizeInBytes); in dirent_wcstombs_s() 1112 if (mbstr && sizeInBytes) { in dirent_wcstombs_s() 1113 if (n >= sizeInBytes) { in dirent_wcstombs_s() 1114 n = sizeInBytes - 1; in dirent_wcstombs_s() 1088 dirent_wcstombs_s( size_t *pReturnValue, char *mbstr, size_t sizeInBytes, const wchar_t *wcstr, size_t count) dirent_wcstombs_s() argument
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlBuffer.h | 41 void internalMap(size_t sizeInBytes); 42 void internalUnmap(size_t sizeInBytes);
|
/third_party/skia/src/gpu/ |
H A D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() argument 16 , fSizeInBytes(sizeInBytes) in GrGpuBuffer()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A 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/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd_vgpu10.c | 482 sot->sizeInBytes = targets[i].sizeInBytes; in SVGA3D_vgpu10_SetSOTargets() 488 sot->sizeInBytes = ~0u; in SVGA3D_vgpu10_SetSOTargets() 1072 uint32 sizeInBytes) in SVGA3D_vgpu10_DefineAndBindShader() 1091 dcmd->sizeInBytes = sizeInBytes; in SVGA3D_vgpu10_DefineAndBindShader() 1233 bufs[i].sizeInBytes = bufferInfo[i].sizeInBytes; in SVGA3D_vgpu10_SetVertexBuffersOffsetAndSize() 1280 uint32 sizeInBytes) in SVGA3D_vgpu10_SetIndexBuffer_v2() 1291 SVGA3D_COPY_BASIC_3(format, offset, sizeInBytes); in SVGA3D_vgpu10_SetIndexBuffer_v2() 1068 SVGA3D_vgpu10_DefineAndBindShader(struct svga_winsys_context *swc, struct svga_winsys_gb_shader *gbshader, SVGA3dShaderId shaderId, SVGA3dShaderType type, uint32 sizeInBytes) SVGA3D_vgpu10_DefineAndBindShader() argument 1276 SVGA3D_vgpu10_SetIndexBuffer_v2(struct svga_winsys_context *swc, struct svga_winsys_surface *indexes, SVGA3dSurfaceFormat format, uint32 offset, uint32 sizeInBytes) SVGA3D_vgpu10_SetIndexBuffer_v2() argument 1298 SVGA3D_vgpu10_SetIndexBufferOffsetAndSize(struct svga_winsys_context *swc, SVGA3dSurfaceFormat format, uint32 offset, uint32 sizeInBytes) SVGA3D_vgpu10_SetIndexBufferOffsetAndSize() argument 1318 SVGA3D_vgpu10_SetSingleConstantBuffer(struct svga_winsys_context *swc, unsigned slot, SVGA3dShaderType type, struct svga_winsys_surface *surface, uint32 offsetInBytes, uint32 sizeInBytes) SVGA3D_vgpu10_SetSingleConstantBuffer() argument 1750 SVGA3D_sm5_DefineAndBindStreamOutput(struct svga_winsys_context *swc, SVGA3dStreamOutputId soid, uint32 numOutputStreamEntries, uint32 numOutputStreamStrides, uint32 streamOutputStrideInBytes[SVGA3D_DX_MAX_SOTARGETS], struct svga_winsys_buffer *declBuf, uint32 rasterizedStream, uint32 sizeInBytes) SVGA3D_sm5_DefineAndBindStreamOutput() argument [all...] |
H A D | svga_cmd.h | 613 uint32 sizeInBytes); 668 uint32 sizeInBytes); 673 uint32 sizeInBytes); 681 uint32 sizeInBytes); 782 uint32 sizeInBytes);
|
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-debugger-script.cc | 44 size_t sizeInBytes = sizeof(UChar) * written; in calculateHash() local 46 for (size_t i = 0; i < sizeInBytes / 4; ++i) { in calculateHash() 59 if (sizeInBytes % 4) { in calculateHash() 62 for (size_t i = sizeInBytes - sizeInBytes % 4; i < sizeInBytes; ++i) { in calculateHash()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkDescriptorSetLayout.hpp | 65 int sizeInBytes; variable 80 int sizeInBytes; // intended size of the bound region -- slides along with dynamic offsets variable
|
/third_party/skia/include/effects/ |
H A D | SkRuntimeEffect.h | 78 size_t sizeInBytes() const; 311 } else if (sizeof(val) != fVar->sizeInBytes()) { in operator =() 323 } else if (fVar->sizeInBytes() != 9 * sizeof(float)) { in operator =() 341 } else if (sizeof(T) * count != fVar->sizeInBytes()) { in set()
|
/third_party/icu/icu4c/source/common/ |
H A 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/node/deps/icu-small/source/common/ |
H A 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/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicClass.cpp | 96 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(m_vertexPosData) + sizeInBytes(m_vertexAttrData); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicClass.cpp | 96 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(m_vertexPosData) + sizeInBytes(m_vertexAttrData); in iterate()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DBuffer.cpp | 215 sizeInBytes = SkAlign4(sizeInBytes); in internalUnmap()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A 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/src/gpu/effects/ |
H A D | GrSkSLFP.cpp | 57 size_t sizeInBytes = type->slotCount() * sizeof(float); variable 60 fUniformData += sizeInBytes; 366 uint32_t numBytes = iter->sizeInBytes(); in getShaderDfxInfo() 394 b->addBytes(iter->sizeInBytes(), uniformData + iter->offset, iter->name.c_str()); in onAddToKey()
|