Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DStreamingMemoryObject.h56 mutable size_t BytesRead; // Bytes read from stream variable
69 while (Pos >= BytesRead) { in fetchToPos()
70 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
71 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
73 BytesRead += bytes; in fetchToPos()
75 ObjectSize = BytesRead; in fetchToPos()
80 return Pos < BytesRead; in fetchToPos()
/external/llvm/lib/Support/
DStreamingMemoryObject.cpp81 size_t pos = BytesRead + kChunkSize; in getExtent()
90 if (Address >= BytesRead) in readBytes()
94 if (End > BytesRead) in readBytes()
95 End = BytesRead; in readBytes()
103 if (BytesRead < s) return true; in dropLeadingBytes()
105 BytesRead -= s; in dropLeadingBytes()
120 Bytes(kChunkSize), Streamer(streamer), BytesRead(0), BytesSkipped(0), in StreamingMemoryObject()
122 BytesRead = streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
DPath.cpp822 int BytesRead = 0, BytesWritten = 0; in copy_file() local
824 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
825 if (BytesRead <= 0) in copy_file()
827 while (BytesRead) { in copy_file()
828 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
831 BytesRead -= BytesWritten; in copy_file()
840 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h321 uint64_t BytesRead = in fillCurWord() local
325 if (BytesRead == 0) { in fillCurWord()
333 NextChar += BytesRead; in fillCurWord()
334 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()