Home
last modified time | relevance | path

Searched refs:BufStart (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp95 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()
DMemoryBuffer.cpp48 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument
52 BufferStart = BufStart; in init()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h94 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
95 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/clang/include/clang/Lex/
DLexer.h90 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/
DMemoryBuffer.h43 void init(const char *BufStart, const char *BufEnd,
/external/clang/lib/Lex/
DPTHLexer.cpp606 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()
DLexer.cpp65 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/
DCStringChecker.cpp382 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/
DTextDiagnostic.cpp902 const char *BufStart = SM.getBufferData(FID, &Invalid).data(); in emitSnippetAndCaret() local
910 const char *TokPtr = BufStart+FileOffset; in emitSnippetAndCaret()