Home
last modified time | relevance | path

Searched refs:getBufferEnd (Results 1 – 25 of 44) sorted by relevance

12

/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemoryBuffer.h67 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() function
187 using MemoryBuffer::getBufferEnd;
195 char *getBufferEnd() { in getBufferEnd() function
196 return const_cast<char *>(MemoryBuffer::getBufferEnd()); in getBufferEnd()
199 return {getBufferStart(), getBufferEnd()}; in getBuffer()
251 using MemoryBuffer::getBufferEnd;
259 char *getBufferEnd() { in getBufferEnd() function
260 return const_cast<char *>(MemoryBuffer::getBufferEnd()); in getBufferEnd()
263 return {getBufferStart(), getBufferEnd()}; in getBuffer()
H A DBinaryByteStream.h209 Buffer->getBufferEnd()), in StreamImpl()
224 uint8_t *getBufferEnd() const { return FileBuffer->getBufferEnd(); } in getBufferEnd() function
259 uint8_t *getBufferEnd() const { return Impl.getBufferEnd(); } in getBufferEnd() function
H A DFileOutputBuffer.h55 virtual uint8_t *getBufferEnd() const = 0;
H A DMemoryBufferRef.h36 const char *getBufferEnd() const { return Buffer.end(); } in getBufferEnd() function
/src/contrib/llvm-project/llvm/lib/Support/
H A DCodeGenCoverage.cpp46 while (CurPtr != Buffer.getBufferEnd()) { in parse()
51 if (CurPtr == Buffer.getBufferEnd()) in parse()
55 while (CurPtr != Buffer.getBufferEnd()) { in parse()
56 if (std::distance(CurPtr, Buffer.getBufferEnd()) < 8) in parse()
H A DFileOutputBuffer.cpp40 uint8_t *getBufferEnd() const override { in getBufferEnd() function in __anon0e4f397c0111::OnDiskBuffer
85 uint8_t *getBufferEnd() const override { in getBufferEnd() function in __anon0e4f397c0111::InMemoryBuffer
H A DSourceMgr.cpp78 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) in FindBufferContainingLoc()
109 assert(Ptr >= BufStart && Ptr <= Buffer->getBufferEnd()); in getLineNumberSpecialized()
248 if (Ptr + ColNo > SB.Buffer->getBufferEnd()) in FindLocForLineAndColumn()
300 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage()
H A DFileUtilities.cpp203 const char *File1End = F1.getBufferEnd(); in DiffFilesWithTolerance()
204 const char *File2End = F2.getBufferEnd(); in DiffFilesWithTolerance()
H A DLineIterator.cpp48 assert(Buffer.getBufferEnd()[0] == '\0'); in line_iterator()
/src/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp37 (const unsigned char *)Buffer->getBufferEnd())) { in getLazyIRModule()
76 (const unsigned char *)Buffer.getBufferEnd())) { in parseIR()
/src/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp140 const char* FileEnd = Buf.getBufferEnd(); in EscapeText()
259 const char* FileEnd = Buf.getBufferEnd(); in AddLineNumbers()
307 const char* FileEnd = Buf.getBufferEnd(); in AddHeaderFooterInternalBuiltinCSS()
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp108 reinterpret_cast<const uint8_t *>(DataBuffer.getBufferEnd()); in readBinaryIdsInternal()
513 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
586 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader()
633 if (Start + ValueDataOffset > DataBuffer->getBufferEnd()) in readHeader()
812 ValueDataStart, (const unsigned char *)DataBuffer->getBufferEnd(), in readValueProfilingData()
1350 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) in readHeader()
1394 if (Ptr > (const unsigned char *)DataBuffer->getBufferEnd()) in readHeader()
1408 if (VTableNamePtr > (const char *)DataBuffer->getBufferEnd()) in readHeader()
1417 const auto *PtrEnd = (const unsigned char *)DataBuffer->getBufferEnd(); in readHeader()
H A DMemProfReader.cpp68 while (Next < Buffer.getBufferEnd()) { in checkBuffer()
661 while (Next < DataBuffer->getBufferEnd()) { in peekBuildIds()
692 while (Next < DataBuffer->getBufferEnd()) { in readRawProfile()
/src/contrib/llvm-project/llvm/lib/ObjCopy/
H A DArchive.cpp90 std::copy(Member.Buf->getBufferStart(), Member.Buf->getBufferEnd(), in deepWriteArchive()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp159 Buffer->getBufferStart(), BufferPos, Buffer->getBufferEnd()); in NormalizeLine()
/src/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DUtility.h181 char *getBufferEnd() { return Buffer + CurrentPosition - 1; } in getBufferEnd() function
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp855 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer()
858 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer()
860 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
881 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer()
/src/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h178 Addr + Size > reinterpret_cast<uintptr_t>(M.getBufferEnd()) || in checkOffset()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugUtils.cpp340 << " -- " << (const void *)(Obj->getBufferEnd() - 1) << " ] to " in operator ()()
/src/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp25 End(InputBuffer.getBufferEnd()) {} in Reader()
/src/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp436 if (Position > Buffer->getBufferEnd()) in SetCodeCompletionPoint()
437 Position = Buffer->getBufferEnd(); in SetCodeCompletionPoint()
447 std::copy(Position, Buffer->getBufferEnd(), NewPos+1); in SetCodeCompletionPoint()
/src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp351 xxh3_64bits({Buffer.getBufferStart(), Buffer.getBufferEnd()}); in commit()
/src/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp297 NewSection.SectionData->getBufferEnd()}); in handleArgs()
/src/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp218 MemBuf.get().getBufferEnd()))) { in loadArFile()
/src/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp358 *BufferEnd = Buffer->getBufferEnd(); in cacheSource()

12