Home
last modified time | relevance | path

Searched refs:totalRead (Results 1 - 4 of 4) sorted by relevance

/third_party/protobuf/conformance/
H A Dconformance_nodejs.js110 function onEof(totalRead) {
111 if (totalRead == 0) {
121 var totalRead = 0;
122 while (totalRead < bytes) {
125 read = fs.readSync(process.stdin.fd, buf, totalRead, bytes - totalRead);
128 return onEof(totalRead)
135 totalRead += read;
/third_party/skia/tools/
H A Dremote_demo.cpp99 size_t totalRead = 0; in read_SkData() local
100 while (totalRead < size) { in read_SkData()
102 sizeRead = ::read(fd, &data[totalRead], size - totalRead); in read_SkData()
109 totalRead += sizeRead; in read_SkData()
/third_party/node/lib/internal/fs/
H A Dpromises.js494 let totalRead = 0;
505 length = MathMin(size - totalRead, kReadFileBufferLength);
510 totalRead += bytesRead;
513 totalRead === size ||
515 const singleRead = bytesRead === totalRead;
517 const bytesToCheck = chunkedRead ? totalRead : bytesRead;
526 return Buffer.concat(buffers, totalRead);
541 offset = totalRead;
/third_party/lzma/CPP/7zip/Compress/
H A DBcj2Coder.cpp180 UInt64 totalRead = 0; // size read from input stream in CodeReal() local
200 inPos_with_Temp = totalRead - (size_t)(srcLim_Read - enc.src); in CodeReal()
240 totalRead += curSize; in CodeReal()
292 (nextPos < totalRead in CodeReal()
293 || (nextPos <= totalRead && readWasFinished)); in CodeReal()
297 But only (totalRead) and (readWasFinished) values in CodeReal()
350 (totalRead <= real_end_of_subStream) in CodeReal()
351 so we can use BCJ2_ENC_FINISH_MODE_CONTINUE up to (totalRead) in CodeReal()
371 /* (real_end_of_subStream == nextPos <= totalRead) in CodeReal()
373 const size_t rem = (size_t)(totalRead in CodeReal()
[all...]

Completed in 4 milliseconds