Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DStreamingMemoryObject.cpp81 size_t pos = BytesRead + kChunkSize; in getExtent()
94 (ObjectSize && ObjectSize < BytesRead) ? ObjectSize : BytesRead; in readBytes()
108 if (BytesRead < s) return true; in dropLeadingBytes()
110 BytesRead -= s; in dropLeadingBytes()
117 if (ObjectSize <= BytesRead) in setKnownObjectSize()
128 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject()
130 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
DPath.cpp877 int BytesRead = 0, BytesWritten = 0; in copy_file() local
879 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
880 if (BytesRead <= 0) in copy_file()
882 while (BytesRead) { in copy_file()
883 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
886 BytesRead -= BytesWritten; in copy_file()
895 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/external/llvm/include/llvm/Support/
DStreamingMemoryObject.h59 mutable size_t BytesRead; // Bytes read from stream variable
71 while (Pos >= BytesRead) { in fetchToPos()
74 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
75 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
77 BytesRead += bytes; in fetchToPos()
80 ObjectSize = BytesRead; in fetchToPos()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h323 uint64_t BytesRead = in fillCurWord() local
327 if (BytesRead == 0) { in fillCurWord()
337 NextChar += BytesRead; in fillCurWord()
338 BitsInCurWord = BytesRead * 8; in fillCurWord()
/external/libnfc-nxp/src/
DphFriNfc_DesfireMap.c627 uint32_t BytesRead = 0; in phFriNfc_Desfire_Process() local
855 BytesRead = phFriNfc_Desfire_HGetLeBytes(NdefMap); in phFriNfc_Desfire_Process()
859 …( (NdefMap->DesfireCapContainer.SkipNlenBytesFlag == 1) && ((BytesRead == 1) || (BytesRead == 2 )… in phFriNfc_Desfire_Process()
861BytesRead += PH_FRINFC_NDEFMAP_DESF_NLEN_SIZE_IN_BYTES; /* to take care of first 2 len bytes*/ in phFriNfc_Desfire_Process()
870 if ( ( BytesRead == SendRecLen ) && in phFriNfc_Desfire_Process()