/third_party/vk-gl-cts/framework/delibs/destream/ |
D | deRingbuffer.c | 130 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 237 …writeSize = 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/ |
D | Queue.cpp | 299 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 …]
|
D | Queue.h | 55 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/ |
D | DWARFVisitor.cpp | 82 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/ |
D | test-stdio-pipe-redirect.js | 10 const writeSize = 100; constant 28 const buffer = Buffer.alloc(writeSize, '.'); 32 written += writeSize;
|
/third_party/node/test/sequential/ |
D | test-http2-timeout-large-write.js | 21 const writeSize = 3000000; constant 32 const content = Buffer.alloc(writeSize, 0x44); 69 receivedBufferLength < writeSize) {
|
D | test-http2-timeout-large-write-file.js | 26 const writeSize = 3000000; constant 32 const content = Buffer.alloc(writeSize, 0x44); 72 receivedBufferLength < writeSize) {
|
D | test-http-keep-alive-large-write.js | 10 const writeSize = 3000000; constant 15 const content = Buffer.alloc(writeSize, 0x44);
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
D | Queue.cpp | 74 const WGPUExtent3D* writeSize) { in WriteTexture() argument 81 cmd.writeSize = writeSize; in WriteTexture()
|
D | Queue.h | 42 const WGPUExtent3D* writeSize);
|
/third_party/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 122 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/ |
D | ServerQueue.cpp | 81 const WGPUExtent3D* writeSize) { in DoQueueWriteTexture() argument 100 dataLayout, writeSize); in DoQueueWriteTexture()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deBlockBuffer.cpp | 143 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/ |
D | VideoViewsValidationTests.cpp | 313 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/ |
D | surface_glue_android.cpp | 108 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/ |
D | ByteStringTest.java | 391 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/ |
D | QueueTests.cpp | 215 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()
|
D | DepthStencilCopyTests.cpp | 519 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/ |
D | ByteStringTest.java | 529 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/ |
D | Lzma2DecMt.c | 749 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/ |
D | SkPathRef.cpp | 297 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/ |
D | vktSynchronizationOperationMultiQueueTests.cpp | 224 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/ |
D | SkPathRef.h | 345 uint32_t writeSize() const;
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 622 size_t writeSize = dstTypeSize * descriptorCopies.descriptorCount; in CopyDescriptorSet() local 623 memcpy(memToWrite, memToRead, writeSize); in CopyDescriptorSet()
|
/third_party/node/lib/internal/fs/ |
D | promises.js | 449 const writeSize = MathMin(kWriteFileMaxChunkSize, remaining); 451 filehandle, toWrite, toWrite.byteLength - remaining, writeSize);
|