/third_party/skia/third_party/externals/oboe/src/common/ |
D | FixedBlockReader.cpp | 49 int32_t bytesRead; in read() local 54 bytesRead = readFromStorage(buffer, bytesLeft); in read() 55 buffer += bytesRead; in read() 56 bytesLeft -= bytesRead; in read() 59 bytesRead = mFixedBlockProcessor.onProcessFixedBlock(buffer, mSize); in read() 60 if (bytesRead < 0) return bytesRead; in read() 61 buffer += bytesRead; in read() 62 bytesLeft -= bytesRead; in read() 65 bytesRead = mFixedBlockProcessor.onProcessFixedBlock(mStorage.get(), mSize); in read() 66 if (bytesRead < 0) return bytesRead; in read() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
D | ByteArray.java | 230 int bytesRead = 0; in copyTo() local 233 while ((bytesRead = this.get(index + srcOffset, b, 0, bufferLength)) > 0) { in copyTo() 234 int bytesWritten = array.put(index + dstOffset, b, 0, bytesRead); in copyTo() 235 index += bytesRead; in copyTo() 236 length -= bytesRead; in copyTo() 263 int bytesRead = 0; in copyTo() local 266 while ((bytesRead = this.get(index + offset, b, 0, bufferLength)) > 0) { in copyTo() 267 os.write(b, 0, bytesRead); in copyTo() 268 index += bytesRead; in copyTo() 283 int bytesRead = 0; in copyFrom() local [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
D | ByteArray.java | 230 int bytesRead = 0; in copyTo() local 233 while ((bytesRead = this.get(index + srcOffset, b, 0, bufferLength)) > 0) { in copyTo() 234 int bytesWritten = array.put(index + dstOffset, b, 0, bytesRead); in copyTo() 235 index += bytesRead; in copyTo() 236 length -= bytesRead; in copyTo() 263 int bytesRead = 0; in copyTo() local 266 while ((bytesRead = this.get(index + offset, b, 0, bufferLength)) > 0) { in copyTo() 267 os.write(b, 0, bytesRead); in copyTo() 268 index += bytesRead; in copyTo() 283 int bytesRead = 0; in copyFrom() local [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-readv-promises.js | 36 let { bytesRead, buffers } = await handle.readv([Buffer.from('')], 38 assert.deepStrictEqual(bytesRead, 0); 41 ({ bytesRead, buffers } = await handle.readv(bufferArr, null)); 42 assert.deepStrictEqual(bytesRead, expectedLength); 56 let { bytesRead, buffers } = await handle.readv([Buffer.from('')]); 57 assert.deepStrictEqual(bytesRead, 0); 60 ({ bytesRead, buffers } = await handle.readv(bufferArr)); 61 assert.deepStrictEqual(bytesRead, expectedLength);
|
D | test-fs-read-optional-params.js | 15 fs.read(fd, common.mustCall((err, bytesRead, buffer) => { 16 assert.strictEqual(bytesRead, expected.length); 21 fs.read(fd, { position: 0 }, common.mustCall((err, bytesRead, buffer) => { 22 assert.strictEqual(bytesRead, expected.length); 33 common.mustCall((err, bytesRead, buffer) => { 34 assert.strictEqual(bytesRead, expected.length);
|
D | test-net-bytes-stats.js | 27 let bytesRead = 0; variable 38 bytesRead += s.bytesRead; 64 console.log(`Bytes read: ${bytesRead}`); 76 assert.strictEqual(bytesRead, 12);
|
D | test-fs-read-stream.js | 36 let bytesRead = 0; 41 assert.strictEqual(file.bytesRead, 0); 46 assert.strictEqual(file.bytesRead, 0); 62 bytesRead += data.length; 63 assert.strictEqual(file.bytesRead, bytesRead); 76 assert.strictEqual(bytesRead, fileSize); 77 assert.strictEqual(file.bytesRead, fileSize); 82 assert.strictEqual(bytesRead, fileSize); 83 assert.strictEqual(file.bytesRead, fileSize);
|
D | test-fs-promises-file-handle-read.js | 31 assert.deepStrictEqual(buffer.length, readAsyncHandle.bytesRead); 46 assert.deepStrictEqual(buffer.length, readAsyncHandle.bytesRead); 60 assert.strictEqual(readHandle.bytesRead, 0); 84 const { bytesRead } = await read(fileHandle, buf, 0, len, pos, opts); 85 assert.strictEqual(bytesRead, len);
|
D | test-tls-client-destroy-soon.js | 54 let bytesRead = 0; 59 bytesRead += d.length; 64 assert.strictEqual(big.length, bytesRead);
|
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
D | BitReader.cs | 71 int bytesRead = ByteReadSize - readOffset; in ReadMoreInput() 72 System.Array.Copy(br.byteBuffer, readOffset, br.byteBuffer, 0, bytesRead); in ReadMoreInput() 76 while (bytesRead < ByteReadSize) in ReadMoreInput() 78 int len = br.input.Read(br.byteBuffer, bytesRead, ByteReadSize - bytesRead); in ReadMoreInput() 83 br.tailBytes = bytesRead; in ReadMoreInput() 84 bytesRead += 3; in ReadMoreInput() 87 bytesRead += len; in ReadMoreInput() 94 Org.Brotli.Dec.IntReader.Convert(br.intReader, bytesRead >> 2); in ReadMoreInput()
|
/third_party/node/deps/npm/node_modules/tar/lib/ |
D | write-entry.js | 272 this[ONREAD](bytesRead) 280 [ONREAD] (bytesRead) { 281 if (bytesRead <= 0 && this.remain > 0) { 289 if (bytesRead > this.remain) { 303 if (bytesRead === this.remain) { 304 for (let i = bytesRead; i < this.length && bytesRead < this.blockRemain; i++) { 306 bytesRead++ 311 const writeBuf = this.offset === 0 && bytesRead === this.buf.length ? 312 this.buf : this.buf.slice(this.offset, this.offset + bytesRead) 378 const bytesRead = fs.readSync(fd, buf, offset, length, pos) [all …]
|
/third_party/skia/docs/examples/ |
D | Path_readFromMemory.cpp | 14 size_t bytesRead = copy.readFromMemory(storage.begin(), wrongSize); in draw() local 15 SkDebugf("length = %zu; returned by readFromMemory = %zu\n", wrongSize, bytesRead); in draw() 17 bytesRead = copy.readFromMemory(storage.begin(), largerSize); in draw() 18 SkDebugf("length = %zu; returned by readFromMemory = %zu\n", largerSize, bytesRead); in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Path_readFromMemory.cpp | 14 size_t bytesRead = copy.readFromMemory(storage.begin(), wrongSize); in draw() local 15 SkDebugf("length = %u; returned by readFromMemory = %u\n", wrongSize, bytesRead); in draw() 17 bytesRead = copy.readFromMemory(storage.begin(), largerSize); in draw() 18 SkDebugf("length = %u; returned by readFromMemory = %u\n", largerSize, bytesRead); in draw()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/ |
D | FontDataTests.java | 206 int bytesRead = rfd.readBytes(index, buffer, 0, buffer.length); in readFontDataWithBuffer() local 207 System.arraycopy(buffer, 0, b, index, bytesRead); in readFontDataWithBuffer() 208 index += bytesRead; in readFontDataWithBuffer() 219 int bytesRead = rfd.readBytes(index, b, index, windowSize); in readFontDataWithSlidingWindow() local 220 index += bytesRead; in readFontDataWithSlidingWindow() 240 int bytesRead = rfd.readBytes(index, buffer, 0, buffer.length); in writeFontDataWithBuffer() local 242 index += bytesRead; in writeFontDataWithBuffer() 253 int bytesRead = rfd.readBytes(index, b, index, windowSize); in writeFontDataWithSlidingWindow() local 254 wfd.writeBytes(index, b, index, bytesRead); in writeFontDataWithSlidingWindow() 255 index += bytesRead; in writeFontDataWithSlidingWindow()
|
D | ByteArrayTests.java | 107 int bytesRead = ba.get(index, buffer); in readByteArrayWithBuffer() local 108 System.arraycopy(buffer, 0, b, index, bytesRead); in readByteArrayWithBuffer() 109 index += bytesRead; in readByteArrayWithBuffer() 121 int bytesRead = ba.get(index, b, index, windowSize); in readByteArrayWithSlidingWindow() local 122 index += bytesRead; in readByteArrayWithSlidingWindow()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/ |
D | FontDataTests.java | 206 int bytesRead = rfd.readBytes(index, buffer, 0, buffer.length); in readFontDataWithBuffer() local 207 System.arraycopy(buffer, 0, b, index, bytesRead); in readFontDataWithBuffer() 208 index += bytesRead; in readFontDataWithBuffer() 219 int bytesRead = rfd.readBytes(index, b, index, windowSize); in readFontDataWithSlidingWindow() local 220 index += bytesRead; in readFontDataWithSlidingWindow() 240 int bytesRead = rfd.readBytes(index, buffer, 0, buffer.length); in writeFontDataWithBuffer() local 242 index += bytesRead; in writeFontDataWithBuffer() 253 int bytesRead = rfd.readBytes(index, b, index, windowSize); in writeFontDataWithSlidingWindow() local 254 wfd.writeBytes(index, b, index, bytesRead); in writeFontDataWithSlidingWindow() 255 index += bytesRead; in writeFontDataWithSlidingWindow()
|
D | ByteArrayTests.java | 107 int bytesRead = ba.get(index, buffer); in readByteArrayWithBuffer() local 108 System.arraycopy(buffer, 0, b, index, bytesRead); in readByteArrayWithBuffer() 109 index += bytesRead; in readByteArrayWithBuffer() 121 int bytesRead = ba.get(index, b, index, windowSize); in readByteArrayWithSlidingWindow() local 122 index += bytesRead; in readByteArrayWithSlidingWindow()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
D | DetectingViewer.java | 224 int bytesRead = in.read(buffer, bufLen, bytesRemaining); in filter() local 226 if (bytesRead <= 0) { in filter() 230 bufLen += bytesRead; in filter() 231 bytesRemaining -= bytesRead; in filter() 295 int bytesRead = 0; in show() local 314 while ((bytesRead = inputStream.read(bytes, offset, 1024)) >= 0) { in show() 315 offset = bytesRead % 4; in show() 316 chBytes = bytesRead - offset; in show() 329 while ((bytesRead = isr.read(buffer, 0, 1024)) >= 0) { in show() 330 sb.append(buffer, 0, bytesRead); in show()
|
/third_party/node/lib/internal/fs/ |
D | streams.js | 73 this.bytesRead = 0; 149 MathMin(this.end - this.bytesRead + 1, n); 160 .read(this.fd, buf, 0, n, this.pos, (er, bytesRead, buf) => { 174 } else if (bytesRead > 0) { 176 this.pos += bytesRead; 179 this.bytesRead += bytesRead; 181 if (bytesRead !== buf.length) { 185 const dst = Buffer.allocUnsafeSlow(bytesRead); 186 buf.copy(dst, 0, 0, bytesRead);
|
D | read_file_context.js | 28 function readFileAfterRead(err, bytesRead) { argument 34 context.pos += bytesRead; 36 if (context.pos === context.size || bytesRead === 0) { 41 const buffer = bytesRead === kReadFileUnknownBufferLength ? 42 context.buffer : context.buffer.slice(0, bytesRead);
|
/third_party/flutter/skia/src/codec/ |
D | SkIcoCodec.cpp | 21 bool SkIcoCodec::IsIco(const void* buffer, size_t bytesRead) { in IsIco() argument 24 return bytesRead >= sizeof(icoSig) && in IsIco() 111 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream() local 119 if (offset < bytesRead) { in MakeFromStream() 126 if (stream->skip(offset - bytesRead) != offset - bytesRead) { in MakeFromStream() 130 bytesRead = offset; in MakeFromStream() 147 bytesRead += size; in MakeFromStream()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | LimitedInputStream.cs | 88 int bytesRead = proxied.Read(buffer, offset, Math.Min(bytesLeft, count)); in Read() 89 bytesLeft -= bytesRead; in Read() 90 return bytesRead; in Read()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/ |
D | DecompressionTest.java | 41 int [] bytesRead = new int[1]; in decompressTest() local 46 bytesRead, in decompressTest() 51 logln("Bytes consumed: " + bytesRead[0]); in decompressTest() 58 bytesRead, in decompressTest() 64 logln("Bytes consumed: " + bytesRead[0]); in decompressTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/compression/ |
D | DecompressionTest.java | 44 int [] bytesRead = new int[1]; in decompressTest() local 49 bytesRead, in decompressTest() 54 logln("Bytes consumed: " + bytesRead[0]); in decompressTest() 61 bytesRead, in decompressTest() 67 logln("Bytes consumed: " + bytesRead[0]); in decompressTest()
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/common/ |
D | SetZeroDictionaryTest.java | 38 int bytesRead; in testZeroDictionary() local 39 while ((bytesRead = decoder.read(output, offset, 17 - offset)) != -1) { in testZeroDictionary() 40 offset += bytesRead; in testZeroDictionary()
|