Home
last modified time | relevance | path

Searched refs:extraBytes (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/src/codec/
DSkStreamBuffer.cpp50 const size_t extraBytes = totalBytesToBuffer - fBytesBuffered; in buffer() local
51 const size_t bytesBuffered = fStream->read(fBuffer + fBytesBuffered, extraBytes); in buffer()
/third_party/flutter/skia/src/codec/
DSkStreamBuffer.cpp50 const size_t extraBytes = totalBytesToBuffer - fBytesBuffered; in buffer() local
51 const size_t bytesBuffered = fStream->read(fBuffer + fBytesBuffered, extraBytes); in buffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBufferVk.cpp144 uint32_t extraBytes = 0u; in Initialize() local
150 extraBytes = 1u; in Initialize()
154 if (size > std::numeric_limits<uint64_t>::max() - extraBytes) { in Initialize()
158 size += extraBytes; in Initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DBufferMTL.mm88 NSUInteger extraBytes = 0u;
90 extraBytes = 4u;
93 if (GetSize() > std::numeric_limits<NSUInteger>::max() - extraBytes) {
97 std::max(static_cast<NSUInteger>(GetSize()) + extraBytes, NSUInteger(4));
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderFConvertTests.cpp333 const size_t extraBytes = vectorSize % kArrayAlignment; in calculate() local
335 info.vectorStrideBytes = vectorSize + ((extraBytes == 0) ? 0 : (kArrayAlignment - extraBytes)); in calculate()
376 const size_t extraBytes = vectorSize % kArrayAlignment; in unpackFloats() local
377 …const size_t vectorBlockSize = vectorSize + ((extraBytes == 0) ? 0 : (kArrayAlignment - extraBytes in unpackFloats()
DvktShaderExecutor.cpp2185 const int extraBytes = (offset % largest); in generateSpirv() local
2186 const int stride = offset + (extraBytes == 0 ? 0 : (largest - extraBytes)); in generateSpirv()
2256 const int extraBytes = (offset % largest); in generateSpirv() local
2257 const int stride = offset + ((extraBytes == 0) ? 0 : (largest - extraBytes)); in generateSpirv()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiFillBufferTests.cpp544 const VkDeviceSize extraBytes = params.dstSize % sizeof(deUint32); in createFillAndUpdateBufferTests() local
545 …const std::string name = "fill_buffer_vk_whole_size_" + de::toString(extraBytes) + "_extra_bytes_… in createFillAndUpdateBufferTests()
546 …ng description = "vkCmdFillBuffer with VK_WHOLE_SIZE, " + de::toString(extraBytes) + " extra bytes… in createFillAndUpdateBufferTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp1253 int extraBytes; in createDrawMultiExtTests() member
1348 const auto& extraBytes = strideCase.extraBytes; in createDrawMultiExtTests() local
1352 if (extraBytes >= 0) in createDrawMultiExtTests()
1353 testStride = static_cast<deUint32>(baseStride) + static_cast<deUint32>(extraBytes); in createDrawMultiExtTests()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferZeroInitTests.cpp39 uint64_t extraBytes; member
134 const uint64_t bufferSize = spec.bufferOffset + spec.extraBytes + in TestBufferZeroInitInCopyTextureToBuffer()
1190 for (uint32_t extraBytes : {0, 1, 2, 3, 4}) { in TEST_P()
1194 const uint32_t vertexBufferSize = vertexFormatSize + extraBytes; in TEST_P()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DMeasureUnit.java1335 byte[] extraBytes = new byte[extra]; in readExternal()
1336 in.read(extraBytes, 0, extra); in readExternal()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java2080 byte[] extraBytes = new byte[extra]; in readExternal()
2081 in.read(extraBytes, 0, extra); in readExternal()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp188 const VkDeviceSize extraBytes = kColorSize % alignment; in init() local
189 …kDeviceSize colorBlockInputSize = ((extraBytes == 0ull) ? kColorSize : (kColorSize + alignmen… in init()