/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 92 const char *BufStart = Buffer->getBufferStart(); in getLineNumber() local 93 assert(Ptr >= BufStart && Ptr <= Buffer->getBufferEnd()); in getLineNumber() 94 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumber() 149 const char *BufStart = SB.Buffer->getBufferStart(); in getLineAndColumn() local 150 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() 152 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn() 188 const char *BufStart = CurMB->getBufferStart(); in GetMessage() local 189 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage()
|
D | MemoryBuffer.cpp | 46 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 50 BufferStart = BufStart; in init()
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 88 const char *BufStart = Buff->getBufferStart(); in getLineAndColumn() local 89 const char *Ptr = BufStart; in getLineAndColumn() 116 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() 118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn() 156 const char *BufStart = CurMB->getBufferStart(); in GetMessage() local 157 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage()
|
D | MemoryBuffer.cpp | 45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 49 BufferStart = BufStart; in init()
|
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteBuffer.h | 41 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 42 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 49 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 53 BufferStart = BufStart; in init()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 96 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 109 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MemoryBuffer.h | 43 void init(const char *BufStart, const char *BufEnd,
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 44 void init(const char *BufStart, const char *BufEnd,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 48 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 612 const unsigned char *BufStart = (const unsigned char *)Buf->getBufferStart(); in CreateLexer() local 614 const unsigned char* data = BufStart + FileData.getTokenOffset(); in CreateLexer() 617 const unsigned char* ppcond = BufStart + FileData.getPPCondOffset(); in CreateLexer()
|
D | Lexer.cpp | 55 void Lexer::InitLexer(const char *BufStart, const char *BufPtr, in InitLexer() argument 57 BufferStart = BufStart; in InitLexer() 132 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 135 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 464 const char *BufStart = Buffer.data(); in getBeginningOfFileToken() local 468 const char *StrData = BufStart+LocInfo.second; in getBeginningOfFileToken() 473 while (LexStart != BufStart) { in getBeginningOfFileToken() 484 Lexer TheLexer(LexerStartLoc, LangOpts, BufStart, LexStart, Buffer.end()); in getBeginningOfFileToken()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 49 BufferStart = BufStart; in init()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 49 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 392 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in CheckBufferAccess() local 393 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) { in CheckBufferAccess() 412 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); in CheckBufferAccess() 413 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) { in CheckBufferAccess() 859 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in IsFirstBufInBound() local 860 Optional<Loc> BufLoc = BufStart.getAs<Loc>(); in IsFirstBufInBound()
|
/external/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 1097 const char *BufStart = BufData.data(); in emitSnippetAndCaret() local 1098 const char *BufEnd = BufStart + BufData.size(); in emitSnippetAndCaret() 1109 const char *TokPtr = BufStart+FileOffset; in emitSnippetAndCaret()
|