Home
last modified time | relevance | path

Searched refs:writeSize (Results 1 – 25 of 36) 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/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/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/node/test/parallel/
Dtest-stdio-pipe-redirect.js10 const writeSize = 100; constant
27 const buffer = Buffer.alloc(writeSize, '.');
31 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/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DStandardMessageCodec.java114 protected static final void writeSize(ByteArrayOutputStream stream, int value) { in writeSize() method in StandardMessageCodec
197 writeSize(stream, bytes.length); in writeBytes()
257 writeSize(stream, array.length); in writeValue()
265 writeSize(stream, array.length); in writeValue()
273 writeSize(stream, array.length); in writeValue()
281 writeSize(stream, list.size()); in writeValue()
288 writeSize(stream, map.size()); in writeValue()
/third_party/flutter/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/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/flutter/flutter/packages/flutter/lib/src/services/
Dmessage_codecs.dart333 /// string's length as encoded by [writeSize] followed by the string bytes. On
360 writeSize(buffer, bytes.length);
364 writeSize(buffer, value.length);
368 writeSize(buffer, value.length);
372 writeSize(buffer, value.length);
376 writeSize(buffer, value.length);
380 writeSize(buffer, value.length);
386 writeSize(buffer, value.length);
463 void writeSize(WriteBuffer buffer, int value) {
476 /// Reads a non-negative int from [buffer] as written by [writeSize].
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/services/
Dmessage_codecs.dart321 writeSize(buffer, bytes.length);
325 writeSize(buffer, value.length);
329 writeSize(buffer, value.length);
333 writeSize(buffer, value.length);
337 writeSize(buffer, value.length);
341 writeSize(buffer, value.length);
347 writeSize(buffer, value.length);
445 void writeSize(WriteBuffer buffer, int value) {
458 /// Reads a non-negative int from [buffer] as written by [writeSize].
/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/flutter/engine/flutter/shell/platform/darwin/common/framework/Source/
DFlutterStandardCodec.mm236 - (void)writeSize:(UInt32)size {
260 [self writeSize:length];
308 [self writeSize:typedData.elementCount];
316 [self writeSize:array.count];
323 [self writeSize:dict.count];
/third_party/flutter/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/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/flutter/engine/flutter/shell/platform/darwin/common/framework/Headers/
DFlutterCodecs.h96 - (void)writeSize:(UInt32)size;

12