Home
last modified time | relevance | path

Searched refs:bytesRemaining (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DDebugFrameDataSubsection.cpp16 if (Reader.bytesRemaining() % sizeof(FrameData) != 0) { in initialize()
21 if (Reader.bytesRemaining() % sizeof(FrameData) != 0) in initialize()
25 uint32_t Count = Reader.bytesRemaining() / sizeof(FrameData); in initialize()
DDebugCrossImpSubsection.cpp29 if (Reader.bytesRemaining() < sizeof(CrossModuleImport)) in operator ()()
35 if (Reader.bytesRemaining() < Item.Header->Count * sizeof(uint32_t)) in operator ()()
46 return Reader.readArray(References, Reader.bytesRemaining()); in initialize()
DDebugCrossExSubsection.cpp20 if (Reader.bytesRemaining() % sizeof(CrossModuleExport) != 0) in initialize()
25 uint32_t Size = Reader.bytesRemaining() / sizeof(CrossModuleExport); in initialize()
DDebugInlineeLinesSubsection.cpp50 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize()
53 assert(Reader.bytesRemaining() == 0); in initialize()
DCodeViewRecordIO.cpp68 Optional<uint32_t> Min = Limits.front().bytesRemaining(Offset); in maxFieldLength()
70 Optional<uint32_t> ThisMin = X.bytesRemaining(Offset); in maxFieldLength()
88 if (Reader->bytesRemaining() == 0) in skipPadding()
110 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) in mapByteVectorTail()
DRecordSerialization.cpp109 Data = Data.take_back(SR.bytesRemaining()); in consume()
135 Data = Data.take_back(SR.bytesRemaining()); in consume()
DDebugSymbolRVASubsection.cpp23 return Reader.readArray(RVAs, Reader.bytesRemaining() / sizeof(uint32_t)); in initialize()
DDebugChecksumsSubsection.cpp52 if (auto EC = Reader.readArray(Checksums, Reader.bytesRemaining())) in initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPublicsStream.cpp62 if (Reader.bytesRemaining() < in reload()
90 if (Reader.bytesRemaining() > 0) { in reload()
97 if (Reader.bytesRemaining() > 0) in reload()
DPDBStringTable.cpp38 assert(Reader.bytesRemaining() == 0); in readHeader()
53 assert(Reader.bytesRemaining() == 0); in readStrings()
80 assert(Reader.bytesRemaining() == 0); in readEpilogue()
105 assert(Reader.bytesRemaining() == 0); in reload()
DPDBStringTableBuilder.cpp161 assert(Writer.bytesRemaining() == 0); in writeHeader()
169 assert(Writer.bytesRemaining() == 0); in writeStrings()
197 assert(Writer.bytesRemaining() == 0); in writeHashTable()
204 assert(Writer.bytesRemaining() == 0); in writeEpilogue()
DModuleDebugStream.cpp44 if (Reader.bytesRemaining() > 0) in reload()
73 SymbolArray, SymbolReader.bytesRemaining(), sizeof(uint32_t))) in reloadSerialize()
78 SubsectionsReader.bytesRemaining())) in reloadSerialize()
DPDBFileBuilder.cpp237 Header.Size = Writer.bytesRemaining(); in commitSrcHeaderBlock()
242 assert(Writer.bytesRemaining() == 0); in commitSrcHeaderBlock()
258 assert(SourceWriter.bytesRemaining() == IS.Content->getBufferSize()); in commitInjectedSources()
DDbiStream.cpp36 if (Reader.bytesRemaining() % sizeof(ContribType) != 0) in loadSectionContribs()
41 uint32_t Count = Reader.bytesRemaining() / sizeof(ContribType); in loadSectionContribs()
134 if (Reader.bytesRemaining() > 0) in reload()
DInjectedSourceStream.cpp63 assert(Reader.bytesRemaining() == 0); in reload()
DDbiStreamBuilder.cpp242 if (NameBufferWriter.bytesRemaining() > 0) in generateFileInfoSubstream()
246 if (MetadataWriter.bytesRemaining() > sizeof(uint32_t)) in generateFileInfoSubstream()
451 if (Writer.bytesRemaining() > 0) in commit()
DPDBFile.cpp158 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) in parseFileHeaders()
228 assert(Reader.bytesRemaining() == 0); in parseStreamData()
377 assert(Reader.bytesRemaining() == 0); in getStringTable()
DInfoStreamBuilder.cpp80 assert(Writer.bytesRemaining() == 0); in commit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypeHashing.cpp58 while (Reader.bytesRemaining() != 0) { in fromDebugH()
63 assert(Reader.bytesRemaining() == 0); in fromDebugH()
85 assert(Writer.bytesRemaining() == 0); in toDebugH()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DBinaryStreamReader.cpp131 return readStreamRef(Ref, bytesRemaining()); in readStreamRef()
135 if (bytesRemaining() < Length) in readStreamRef()
149 if (Amount > bytesRemaining()) in skip()
DBinaryStreamWriter.cpp72 while (SrcReader.bytesRemaining() > 0) { in writeStreamRef()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java217 int bytesRemaining = BUFFER_SIZE; in filter() local
223 while (bytesRemaining > 0) { in filter()
224 int bytesRead = in.read(buffer, bufLen, bytesRemaining); in filter()
231 bytesRemaining -= bytesRead; in filter()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java875 int bytesRemaining = length; in readSkipInternal() local
876 while (bytesRemaining > 0) { in readSkipInternal()
883 int count = Math.min(currentPieceRemaining, bytesRemaining); in readSkipInternal()
889 bytesRemaining -= count; in readSkipInternal()
893 return length - bytesRemaining; in readSkipInternal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamReader.h253 bool empty() const { return bytesRemaining() == 0; } in empty()
257 uint32_t bytesRemaining() const { return getLength() - getOffset(); } in bytesRemaining() function
DBinaryStreamWriter.h186 uint32_t bytesRemaining() const { return getLength() - getOffset(); } in bytesRemaining() function

12