Home
last modified time | relevance | path

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

12

/external/llvm/unittests/Support/
DFileOutputBufferTest.cpp47 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20); in TEST()
82 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20); in TEST()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h51 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() function
162 const char *getBufferEnd() const { return Buffer.end(); } in getBufferEnd() function
DFileOutputBuffer.h50 uint8_t *getBufferEnd() { in getBufferEnd() function
/external/llvm/lib/IRReader/
DIRReader.cpp36 (const unsigned char *)Buffer->getBufferEnd())) { in getLazyIRModule()
69 (const unsigned char *)Buffer.getBufferEnd())) { in parseIR()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp199 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
245 if (Start + ProfileSize > DataBuffer->getBufferEnd()) in readHeader()
274 RawName.data() + RawName.size() > DataBuffer->getBufferEnd() || in readNextRecord()
319 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) in readHeader()
/external/llvm/lib/Support/
DFileUtilities.cpp198 const char *File1End = F1.getBufferEnd(); in DiffFilesWithTolerance()
199 const char *File2End = F2.getBufferEnd(); in DiffFilesWithTolerance()
DLineIterator.cpp44 assert(Buffer.getBufferEnd()[0] == '\0'); in line_iterator()
DSourceMgr.cpp71 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) in FindBufferContainingLoc()
163 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage()
DCommandLine.cpp718 ArrayRef<char> BufRef(MemBuf.getBufferStart(), MemBuf.getBufferEnd()); in ExpandResponseFile()
DYAMLParser.cpp716 End = InputBuffer.getBufferEnd(); in init()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp111 const char* FileEnd = Buf->getBufferEnd(); in EscapeText()
230 const char* FileEnd = Buf->getBufferEnd(); in AddLineNumbers()
275 const char* FileEnd = Buf->getBufferEnd(); in AddHeaderFooterInternalBuiltinCSS()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp706 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer()
709 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer()
711 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
723 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer()
/external/clang/lib/Lex/
DPreprocessor.cpp396 if (Position > Buffer->getBufferEnd()) in SetCodeCompletionPoint()
397 Position = Buffer->getBufferEnd(); in SetCodeCompletionPoint()
408 std::copy(Position, Buffer->getBufferEnd(), NewPos+1); in SetCodeCompletionPoint()
DHeaderMap.cpp143 if ((const char*)(BucketPtr+1) > FileBuffer->getBufferEnd()) { in getBucket()
DPTHLexer.cpp452 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create()
567 assert(IDData < (const unsigned char*)Buf->getBufferEnd()); in LazilyCreateIdentifierInfo()
DLexer.cpp115 InputFile->getBufferEnd()); in Lexer()
147 FromFile->getBufferStart(), FromFile->getBufferEnd()) {} in Lexer()
/external/clang/lib/Frontend/
DSerializedDiagnosticReader.cpp30 (const unsigned char *)(*Buffer)->getBufferEnd()); in readDiagnostics()
DFrontendActions.cpp645 const char *end = Buffer->getBufferEnd(); in ExecuteAction()
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp249 (const unsigned char *)Buffer->getBufferEnd()); in readIndex()
505 (const unsigned char *)(*Buffer)->getBufferEnd()); in loadModuleFile()
DModuleManager.cpp140 (const unsigned char *)New->Buffer->getBufferEnd()); in addModule()
/external/llvm/lib/Object/
DArchive.cpp127 if (NextLoc >= Parent->Data.getBufferEnd()) in getNext()
DCOFFObjectFile.cpp45 Addr + Size > uintptr_t(M.getBufferEnd()) || in checkOffset()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp358 const char* FileEnd = Buf->getBufferEnd(); in HandlePiece()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp209 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') in DetectEOL()
/external/llvm/utils/FileCheck/
DFileCheck.cpp649 for (const char *Ptr = MB->getBufferStart(), *End = MB->getBufferEnd(); in CanonicalizeInputFile()

12