Home
last modified time | relevance | path

Searched refs:byteSize (Results 1 – 25 of 42) sorted by relevance

12

/third_party/libsnd/src/ALAC/
DALACBitUtilities.c34 void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) in BitBufferInit() argument
37 bits->end = bits->cur + byteSize ; in BitBufferInit()
39 bits->byteSize = byteSize ; in BitBufferInit()
143 begin = bits->end - bits->byteSize ; in BitBufferGetPosition()
203 if (bits->cur < (bits->end - bits->byteSize)) in BitBufferRewind()
207 bits->cur = (bits->end - bits->byteSize) ; in BitBufferRewind()
256 bits->cur = bits->end - bits->byteSize ; in BitBufferReset()
DALACBitUtilities.h66 uint32_t byteSize ; member
75 void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) ;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.hpp212 void append (const void* buf, const size_t byteSize) in append()
214 DE_ASSERT(byteSize > 0); in append()
216 valuesBuffer.resize(valuesBuffer.size() + byteSize); in append()
217 deMemcpy(&valuesBuffer[valuesBuffer.size() - byteSize], buf, byteSize); in append()
219 sizesBuffer.push_back(byteSize); in append()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DFormat.cpp154 (kTextureBytesPerRowAlignment % format.aspectInfo[0].block.byteSize) == 0); in BuildFormatTable()
161 bool supportsStorageUsage, uint32_t byteSize, in BuildFormatTable()
172 firstAspect->block.byteSize = byteSize; in BuildFormatTable()
199 auto AddDepthFormat = [&AddFormat](wgpu::TextureFormat format, uint32_t byteSize, in BuildFormatTable()
210 firstAspect->block.byteSize = byteSize; in BuildFormatTable()
229 firstAspect->block.byteSize = 1; in BuildFormatTable()
238 auto AddCompressedFormat = [&AddFormat](wgpu::TextureFormat format, uint32_t byteSize, in BuildFormatTable()
250 firstAspect->block.byteSize = byteSize; in BuildFormatTable()
DCommandValidation.cpp121 uint64_t bytesInLastRow = Safe32x32(widthInBlocks, blockInfo.byteSize); in ComputeRequiredBytesInCopy()
184 uint32_t bytesInLastRow = widthInBlocks * blockInfo.byteSize; in ApplyDefaultTextureDataLayoutOptions()
196 uint64_t byteSize, in ValidateLinearTextureData() argument
218 ASSERT(Safe32x32(widthInBlocks, blockInfo.byteSize) <= in ValidateLinearTextureData()
220 uint32_t bytesInLastRow = widthInBlocks * blockInfo.byteSize; in ValidateLinearTextureData()
243 layout.offset <= byteSize && (requiredBytesInCopy <= (byteSize - layout.offset)); in ValidateLinearTextureData()
248 requiredBytesInCopy, byteSize, layout.offset); in ValidateLinearTextureData()
DRenderPipeline.cpp135 ASSERT(kMaxVertexBufferArrayStride >= formatInfo.byteSize); in ValidateVertexAttribute()
137 attribute->offset > kMaxVertexBufferArrayStride - formatInfo.byteSize, in ValidateVertexAttribute()
140 attribute->offset, attribute->format, formatInfo.byteSize, in ValidateVertexAttribute()
148 attribute->offset + formatInfo.byteSize > vertexBufferStride, in ValidateVertexAttribute()
151 attribute->offset, attribute->format, formatInfo.byteSize, vertexBufferStride); in ValidateVertexAttribute()
153 DAWN_INVALID_IF(attribute->offset % std::min(4u, formatInfo.byteSize) != 0, in ValidateVertexAttribute()
155 std::min(4u, formatInfo.byteSize)); in ValidateVertexAttribute()
614 uint16_t(GetVertexFormatInfo(buffers[slot].attributes[i].format).byteSize); in RenderPipelineBase()
DVertexFormat.h30 uint32_t byteSize; member
DFormat.h64 uint32_t byteSize; member
DQueue.cpp95 ASSERT(IsPowerOfTwo(blockInfo.byteSize)); in UploadTextureDataAligningBytesPerRowAndOffset()
99 std::max(optimalOffsetAlignment, uint64_t(blockInfo.byteSize)); in UploadTextureDataAligningBytesPerRowAndOffset()
334 uint32_t alignedBytesPerRow = writeSizePixel.width / blockInfo.width * blockInfo.byteSize; in WriteTextureImpl()
DCommandValidation.h48 uint64_t byteSize,
DCommandBuffer.cpp200 const uint64_t copyTextureDataSizePerRow = widthInBlocks * blockInfo.byteSize; in IsFullBufferOverwrittenInTextureToBufferCopy()
/third_party/node/deps/npm/node_modules/smart-buffer/build/
Dsmartbuffer.js1162 _readNumberValue(func, byteSize, offset) { argument
1163 this.ensureReadable(byteSize, offset);
1168 this._readOffset += byteSize;
1184 _insertNumberValue(func, byteSize, value, offset) { argument
1188 this.ensureInsertable(byteSize, offset);
1192 this._writeOffset += byteSize;
1207 _writeNumberValue(func, byteSize, value, offset) { argument
1219 this._ensureWriteable(byteSize, offsetVal);
1223 this._writeOffset = Math.max(this._writeOffset, offsetVal + byteSize);
1227 this._writeOffset += byteSize;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureCopySplitter.cpp31 return {byteOffsetX / blockInfo.byteSize * blockInfo.width, in ComputeTexelOffsets()
40 return alignedOffset + bufferOffset.x * blockInfo.byteSize / blockInfo.width + in OffsetToFirstCopiedTexel()
61 ASSERT(bytesPerRow % blockInfo.byteSize == 0); in Compute2DTextureCopySubresource()
110 uint32_t copyBytesPerRowPitch = copySize.width / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource()
111 uint32_t byteOffsetInRowPitch = texelOffset.x / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource()
190 uint32_t texelsPerRow = bytesPerRow / blockInfo.byteSize * blockInfo.width; in Compute2DTextureCopySubresource()
201 offset + copy.copies[0].copySize.width / blockInfo.width * blockInfo.byteSize; in Compute2DTextureCopySubresource()
/third_party/icu/icu4c/source/common/
Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
Ducol_data.h78 uint32_t byteSize; member
/third_party/node/deps/icu-small/source/common/
Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
Ducol_data.h78 uint32_t byteSize; member
/third_party/skia/third_party/externals/icu/source/common/
Ducol_swp.cpp575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
589 uprv_memcpy(outBytes, inBytes, header.byteSize); in ucol_swapInverseUCA()
612 return headerSize+header.byteSize; in ucol_swapInverseUCA()
Ducol_data.h78 uint32_t byteSize; member
/third_party/skia/src/ports/
DSkImageGeneratorNDK.cpp205 auto byteSize = info.computeByteSize(rowBytes); in onGetPixels() local
206 switch (AImageDecoder_decodeImage(fDecoder, pixels, rowBytes, byteSize)) { in onGetPixels()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp340 ASSERT(blockInfo.byteSize <= MAX_TEXEL_SIZE); in ClearTexture()
452 ASSERT(kTextureBytesPerRowAlignment % blockInfo.byteSize == 0); in ClearTexture()
456 Align((largestMipSize.width / blockInfo.width) * blockInfo.byteSize, 4); in ClearTexture()
459 ASSERT(bytesPerRow % blockInfo.byteSize == 0); in ClearTexture()
DCommandBufferGL.cpp718 gl.PixelStorei(GL_PACK_ROW_LENGTH, dst.bytesPerRow / blockInfo.byteSize); in Execute()
1377 size_t rowSize = copySize.width / blockInfo.width * blockInfo.byteSize; in DoTexSubImage()
1387 if (dataLayout.bytesPerRow % blockInfo.byteSize == 0 && gl.GetVersion().IsDesktop()) { in DoTexSubImage()
1394 dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width); in DoTexSubImage()
1395 gl.PixelStorei(GL_UNPACK_COMPRESSED_BLOCK_SIZE, blockInfo.byteSize); in DoTexSubImage()
1451 if (dataLayout.bytesPerRow % blockInfo.byteSize == 0) { in DoTexSubImage()
1453 dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width); in DoTexSubImage()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp126 ASSERT(dataLayout.bytesPerRow % blockInfo.byteSize == 0); in ComputeBufferImageCopyRegion()
127 region.bufferRowLength = dataLayout.bytesPerRow / blockInfo.byteSize * blockInfo.width; in ComputeBufferImageCopyRegion()
/third_party/skia/include/core/
DSkImageInfo.h681 static bool ByteSizeOverflowed(size_t byteSize) { in ByteSizeOverflowed()
682 return SIZE_MAX == byteSize; in ByteSizeOverflowed()
/third_party/protobuf/php/tests/
DPhpImplementationTest.php518 $this->assertSame(504, $m->byteSize());
525 $this->assertSame(166, $m->byteSize());

12