Home
last modified time | relevance | path

Searched refs:BytesRead (Results 1 – 12 of 12) 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/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.cc133 uint64 BytesRead() const { return bytes_read_; } in BytesRead() function in tensorflow::table::StringSource
236 uint64 BytesRead() const { return source_->BytesRead(); } in BytesRead() function in tensorflow::table::TableConstructor
621 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()