Home
last modified time | relevance | path

Searched refs:BytesRead (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DStreamingMemoryObject.cpp81 size_t pos = BytesRead + kChunkSize; in getExtent()
95 (ObjectSize && ObjectSize < BytesRead) ? ObjectSize : BytesRead; in readBytes()
115 if (BytesRead < s) in dropLeadingBytes()
118 BytesRead -= s; in dropLeadingBytes()
125 if (ObjectSize <= BytesRead) in setKnownObjectSize()
136 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject()
138 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DStreamingMemoryObject.h51 mutable size_t BytesRead; // Bytes read from stream variable
63 while (Pos >= BytesRead) { in fetchToPos()
66 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
69 BytesRead += bytes; in fetchToPos()
72 ObjectSize = BytesRead; in fetchToPos()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Support/
DStreamingMemoryObject.h51 mutable size_t BytesRead; // Bytes read from stream variable
63 while (Pos >= BytesRead) { in fetchToPos()
66 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
68 Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], kChunkSize); in fetchToPos()
69 BytesRead += bytes; in fetchToPos()
72 ObjectSize = BytesRead; in fetchToPos()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRandomNumberGenerator.cpp72 ssize_t BytesRead = read(Fd, Buffer, Size); in getRandomBytes()
73 if (BytesRead == -1) in getRandomBytes()
75 else if (BytesRead != static_cast<ssize_t>(Size)) in getRandomBytes()
DPath.cpp965 int BytesRead = 0, BytesWritten = 0; in copy_file_internal() local
967 BytesRead = read(ReadFD, Buf, BufSize); in copy_file_internal()
968 if (BytesRead <= 0) in copy_file_internal()
970 while (BytesRead) { in copy_file_internal()
971 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file_internal()
974 BytesRead -= BytesWritten; in copy_file_internal()
981 if (BytesRead < 0 || BytesWritten < 0) in copy_file_internal()
1023 int BytesRead = 0; in md5_contents() local
1025 BytesRead = read(FD, Buf.data(), BufSize); in md5_contents()
1026 if (BytesRead <= 0) in md5_contents()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamReader.h171 unsigned BytesRead; in fillCurWord() local
173 BytesRead = sizeof(word_t); in fillCurWord()
179 BytesRead = BitcodeBytes.size() - NextChar; in fillCurWord()
181 for (unsigned B = 0; B != BytesRead; ++B) in fillCurWord()
184 NextChar += BytesRead; in fillCurWord()
185 BitsInCurWord = BytesRead * 8; in fillCurWord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp907 int BytesRead = 0, BytesWritten = 0; in copy_file() local
909 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
910 if (BytesRead <= 0) in copy_file()
912 while (BytesRead) { in copy_file()
913 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
916 BytesRead -= BytesWritten; in copy_file()
925 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h657 uint64_t BytesRead = fillBuffer(Array, sizeof(Array), NextChar); in fillCurWord() local
660 if (BytesRead == 0) { in fillCurWord()
668 NextChar += BytesRead; in fillCurWord()
669 BitsInCurWord = BytesRead * CHAR_BIT; in fillCurWord()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp1474 SizeT BytesRead = 0; in translate() local
1476 BytesRead += in translate()
1477 InputStream->GetBytes(&Buffer[BytesRead], Buffer.size() - BytesRead); in translate()
1478 LOG(out << "Read " << BytesRead << " bytes" in translate()
1480 if (BytesRead < Buffer.size()) in translate()
1489 Buffer.data() + BytesRead, false, kWasmOrigin); in translate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc1233 DWORD BytesRead = 0;
1234 if (::ReadFile(FileHandle, Buf.data(), BytesToRead, &BytesRead, Overlap))
1235 return BytesRead;
1239 return BytesRead;