Searched refs:BufStart (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 95 const char *BufStart = Buff->getBufferStart(); in getLineAndColumn() local 96 const char *Ptr = BufStart; in getLineAndColumn() 123 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() 125 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn() 167 const char *BufStart = CurMB->getBufferStart(); in GetMessage() local 168 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage()
|
D | MemoryBuffer.cpp | 48 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 52 BufferStart = BufStart; in init()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 94 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 95 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 90 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 103 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 43 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 606 const unsigned char *BufStart = (const unsigned char *)Buf->getBufferStart(); in CreateLexer() local 608 const unsigned char* data = BufStart + FileData.getTokenOffset(); in CreateLexer() 611 const unsigned char* ppcond = BufStart + FileData.getPPCondOffset(); in CreateLexer()
|
D | Lexer.cpp | 65 void Lexer::InitLexer(const char *BufStart, const char *BufPtr, in InitLexer() argument 69 BufferStart = BufStart; in InitLexer() 133 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 136 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 436 const char *BufStart = Buffer.data(); in getBeginningOfFileToken() local 440 const char *StrData = BufStart+LocInfo.second; in getBeginningOfFileToken() 445 while (LexStart != BufStart) { in getBeginningOfFileToken() 456 Lexer TheLexer(LexerStartLoc, LangOpts, BufStart, LexStart, Buffer.end()); in getBeginningOfFileToken()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 382 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in CheckBufferAccess() local 383 if (Loc *BufLoc = dyn_cast<Loc>(&BufStart)) { in CheckBufferAccess() 402 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); in CheckBufferAccess() 403 if (Loc *BufLoc = dyn_cast<Loc>(&BufStart)) { in CheckBufferAccess()
|
/external/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 902 const char *BufStart = SM.getBufferData(FID, &Invalid).data(); in emitSnippetAndCaret() local 910 const char *TokPtr = BufStart+FileOffset; in emitSnippetAndCaret()
|