Home
last modified time | relevance | path

Searched refs:writeSize (Results 1 – 25 of 27) sorted by relevance

12

/third_party/vk-gl-cts/framework/delibs/destream/
DdeRingbuffer.c130 deInt32 writeSize = 0; in producerStream_write() local
140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write()
144 deMemcpy(dst, src, (size_t)writeSize); in producerStream_write()
146 ringbuffer->inPos += writeSize; in producerStream_write()
147 *written += writeSize; in producerStream_write()
148 ringbuffer->blockUsage[ringbuffer->inBlock] += writeSize; in producerStream_write()
206 deInt32 writeSize = 0; in consumerStream_read() local
237writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read()
241 deMemcpy(dst, src, (size_t)writeSize); in consumerStream_read()
243 ringbuffer->outPos += writeSize; in consumerStream_read()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DQueue.cpp299 const Extent3D* writeSize) { in APIWriteTexture() argument
301 WriteTextureInternal(destination, data, dataSize, *dataLayout, writeSize)); in APIWriteTexture()
308 const Extent3D* writeSize) { in WriteTextureInternal() argument
309 DAWN_TRY(ValidateWriteTexture(destination, dataSize, dataLayout, writeSize)); in WriteTextureInternal()
311 if (writeSize->width == 0 || writeSize->height == 0 || writeSize->depthOrArrayLayers == 0) { in WriteTextureInternal()
318 ApplyDefaultTextureDataLayoutOptions(&layout, blockInfo, *writeSize); in WriteTextureInternal()
319 return WriteTextureImpl(*destination, data, layout, *writeSize); in WriteTextureInternal()
457 const Extent3D* writeSize) const { in ValidateWriteTexture()
462 DAWN_TRY(ValidateImageCopyTexture(GetDevice(), *destination, *writeSize)); in ValidateWriteTexture()
481 DAWN_TRY(ValidateTextureCopyRange(GetDevice(), *destination, *writeSize)); in ValidateWriteTexture()
[all …]
DQueue.h55 const Extent3D* writeSize);
79 const Extent3D* writeSize);
94 const Extent3D& writeSize);
102 const Extent3D* writeSize) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DDWARFVisitor.cpp82 auto writeSize = FormVal->BlockData.size(); in traverseDebugInfo() local
83 onValue((uint8_t)writeSize); in traverseDebugInfo()
91 auto writeSize = FormVal->BlockData.size(); in traverseDebugInfo() local
92 onValue((uint16_t)writeSize); in traverseDebugInfo()
100 auto writeSize = FormVal->BlockData.size(); in traverseDebugInfo() local
101 onValue((uint32_t)writeSize); in traverseDebugInfo()
/third_party/node/test/parallel/
Dtest-stdio-pipe-redirect.js10 const writeSize = 100; constant
28 const buffer = Buffer.alloc(writeSize, '.');
32 written += writeSize;
/third_party/node/test/sequential/
Dtest-http2-timeout-large-write.js21 const writeSize = 3000000; constant
32 const content = Buffer.alloc(writeSize, 0x44);
69 receivedBufferLength < writeSize) {
Dtest-http2-timeout-large-write-file.js26 const writeSize = 3000000; constant
32 const content = Buffer.alloc(writeSize, 0x44);
72 receivedBufferLength < writeSize) {
Dtest-http-keep-alive-large-write.js10 const writeSize = 3000000; constant
15 const content = Buffer.alloc(writeSize, 0x44);
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DQueue.cpp74 const WGPUExtent3D* writeSize) { in WriteTexture() argument
81 cmd.writeSize = writeSize; in WriteTexture()
DQueue.h42 const WGPUExtent3D* writeSize);
/third_party/skia/tests/
DPDFDeflateWStreamTest.cpp122 uint32_t writeSize = in DEF_TEST() local
124 if (!deflateWStream.write(&buffer[j], writeSize)) { in DEF_TEST()
128 j += writeSize; in DEF_TEST()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerQueue.cpp81 const WGPUExtent3D* writeSize) { in DoQueueWriteTexture() argument
100 dataLayout, writeSize); in DoQueueWriteTexture()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeBlockBuffer.cpp143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run() local
144 for (int ndx = 0; ndx < writeSize; ndx++) in run()
147 m_buffer.write(writeSize, &tmpBuf[0]); in run()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVideoViewsValidationTests.cpp313 wgpu::Extent3D writeSize = {1, 1, 1}; in TEST_F() local
318 dummyData.size(), &textureDataLayout, &writeSize)); in TEST_F()
331 wgpu::Extent3D writeSize = {1, 1, 1}; in TEST_F() local
336 dummmyData.size(), &textureDataLayout, &writeSize)); in TEST_F()
/third_party/skia/tools/sk_app/android/
Dsurface_glue_android.cpp108 SkDEBUGCODE(auto writeSize =) write(fPipes[1], &message, sizeof(message)); in postMessage()
109 SkASSERT(writeSize == sizeof(message)); in postMessage()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java391 for (int writeSize : writeSizes) { in testNewOutput_ArrayWrite()
394 for (int i = 0; i < length; i += writeSize) { in testNewOutput_ArrayWrite()
395 output.write(bytes, i, Math.min(writeSize, length - i)); in testNewOutput_ArrayWrite()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DQueueTests.cpp215 static DataSpec MinimumDataSpec(wgpu::Extent3D writeSize, in MinimumDataSpec() argument
218 uint32_t bytesPerRow = writeSize.width * utils::GetTexelBlockSizeInBytes(kTextureFormat); in MinimumDataSpec()
222 uint32_t rowsPerImage = writeSize.height; in MinimumDataSpec()
228 utils::RequiredBytesInCopy(bytesPerRow, rowsPerImage, writeSize, kTextureFormat); in MinimumDataSpec()
DDepthStencilCopyTests.cpp519 wgpu::Extent3D writeSize = {kWidth, kHeight, 1}; in TEST_P() local
521 stencilData.size() * sizeof(uint8_t), &stencilDataLayout, &writeSize); in TEST_P()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java529 for (int writeSize : writeSizes) { in testNewOutput_ArrayWrite()
532 for (int i = 0; i < length; i += writeSize) { in testNewOutput_ArrayWrite()
533 output.write(bytes, i, Math.min(writeSize, length - i)); in testNewOutput_ArrayWrite()
/third_party/lzma/C/
DLzma2DecMt.c749 size_t writeSize = dec->decoder.dicPos - wrPos; in Lzma2Dec_Decode_ST() local
750 size_t written = ISeqOutStream_Write(p->outStream, dec->decoder.dic + wrPos, writeSize); in Lzma2Dec_Decode_ST()
751 res2 = (written == writeSize) ? SZ_OK : SZ_ERROR_WRITE; in Lzma2Dec_Decode_ST()
/third_party/skia/src/core/
DSkPathRef.cpp297 SkASSERT(buffer->pos() - beforePos == (size_t) this->writeSize()); in writeToBuffer()
300 uint32_t SkPathRef::writeSize() const { in writeSize() function in SkPathRef
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationMultiQueueTests.cpp224 const int writeSize = static_cast<int>(write->second.queue.size()); in getQueuesPairs() local
227 for (int writeNdx = 0; writeNdx < writeSize; ++writeNdx) in getQueuesPairs()
233 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
/third_party/skia/include/private/
DSkPathRef.h345 uint32_t writeSize() const;
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp622 size_t writeSize = dstTypeSize * descriptorCopies.descriptorCount; in CopyDescriptorSet() local
623 memcpy(memToWrite, memToRead, writeSize); in CopyDescriptorSet()
/third_party/node/lib/internal/fs/
Dpromises.js449 const writeSize = MathMin(kWriteFileMaxChunkSize, remaining);
451 filehandle, toWrite, toWrite.byteLength - remaining, writeSize);

12