Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/pnacl-llvm/
DStreamingMemoryObject.cpp81 size_t pos = BytesRead + kChunkSize; in getExtent()
94 (ObjectSize && ObjectSize < BytesRead) ? ObjectSize : BytesRead; in readBytes()
114 if (BytesRead < s) return true; in dropLeadingBytes()
116 BytesRead -= s; in dropLeadingBytes()
123 if (ObjectSize <= BytesRead) in setKnownObjectSize()
134 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject()
136 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
/external/llvm/lib/Support/
DStreamingMemoryObject.cpp81 size_t pos = BytesRead + kChunkSize; in getExtent()
94 (ObjectSize && ObjectSize < BytesRead) ? ObjectSize : BytesRead; in readBytes()
114 if (BytesRead < s) return true; in dropLeadingBytes()
116 BytesRead -= s; in dropLeadingBytes()
123 if (ObjectSize <= BytesRead) in setKnownObjectSize()
134 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject()
136 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
DPath.cpp905 int BytesRead = 0, BytesWritten = 0; in copy_file() local
907 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
908 if (BytesRead <= 0) in copy_file()
910 while (BytesRead) { in copy_file()
911 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
914 BytesRead -= BytesWritten; in copy_file()
923 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/external/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()
/external/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()
67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
69 BytesRead += bytes; in fetchToPos()
72 ObjectSize = BytesRead; in fetchToPos()
/external/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()
67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
69 BytesRead += bytes; in fetchToPos()
72 ObjectSize = BytesRead; in fetchToPos()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DRandomNumberGenerator.cpp77 ssize_t BytesRead = read(Fd, Buffer, Size); in getRandomBytes()
78 if (BytesRead == -1) in getRandomBytes()
80 else if (BytesRead != static_cast<ssize_t>(Size)) in getRandomBytes()
DPath.cpp933 int BytesRead = 0, BytesWritten = 0; in copy_file_internal() local
935 BytesRead = read(ReadFD, Buf, BufSize); in copy_file_internal()
936 if (BytesRead <= 0) in copy_file_internal()
938 while (BytesRead) { in copy_file_internal()
939 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file_internal()
942 BytesRead -= BytesWritten; in copy_file_internal()
949 if (BytesRead < 0 || BytesWritten < 0) in copy_file_internal()
989 int BytesRead = 0; in md5_contents() local
991 BytesRead = read(FD, Buf.data(), BufSize); in md5_contents()
992 if (BytesRead <= 0) in md5_contents()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamReader.h165 unsigned BytesRead; in fillCurWord() local
167 BytesRead = sizeof(word_t); in fillCurWord()
173 BytesRead = BitcodeBytes.size() - NextChar; in fillCurWord()
175 for (unsigned B = 0; B != BytesRead; ++B) in fillCurWord()
178 NextChar += BytesRead; in fillCurWord()
179 BitsInCurWord = BytesRead * 8; in fillCurWord()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h244 uint64_t BytesRead = in fillCurWord() local
248 if (BytesRead == 0) { in fillCurWord()
258 NextChar += BytesRead; in fillCurWord()
259 BitsInCurWord = BytesRead * 8; in fillCurWord()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTResourceFile.cpp42 size_t BytesRead = fread(pTmp, 1, size, pFile); in LoadFileFunc() local
44 if (BytesRead != size) in LoadFileFunc()
/external/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()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h666 uint64_t BytesRead = fillBuffer(Array, sizeof(Array), NextChar); in fillCurWord() local
669 if (BytesRead == 0) { in fillCurWord()
677 NextChar += BytesRead; in fillCurWord()
678 BitsInCurWord = BytesRead * CHAR_BIT; in fillCurWord()
/external/tensorflow/tensorflow/core/lib/io/
Dtable_test.cc144 uint64 BytesRead() const { return bytes_read_; } in BytesRead() function in tensorflow::table::StringSource
247 uint64 BytesRead() const { return source_->BytesRead(); } in BytesRead() function in tensorflow::table::TableConstructor
632 EXPECT_LT(c.BytesRead(), 200); in TEST()
/external/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()