/external/llvm-project/llvm/lib/Support/ |
D | SourceMgr.cpp | 96 const char *BufStart = Buffer->getBufferStart(); in getLineNumberSpecialized() local 97 assert(Ptr >= BufStart && Ptr <= Buffer->getBufferEnd()); in getLineNumberSpecialized() 98 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumberSpecialized() 132 const char *BufStart = Buffer->getBufferStart(); in getPointerForLineNumberSpecialized() local 137 return BufStart; in getPointerForLineNumberSpecialized() 140 return BufStart + Offsets[LineNo - 1] + 1; in getPointerForLineNumberSpecialized() 189 const char *BufStart = SB.Buffer->getBufferStart(); in getLineAndColumn() local 190 size_t NewlineOffs = StringRef(BufStart, Ptr - BufStart).find_last_of("\n\r"); in getLineAndColumn() 193 return std::make_pair(LineNo, Ptr - BufStart - NewlineOffs); in getLineAndColumn() 281 const char *BufStart = CurMB->getBufferStart(); in GetMessage() local [all …]
|
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-10.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() 144 const char *BufStart = SB.Buffer->getBufferStart(); in getLineAndColumn() local 145 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() 147 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn() 183 const char *BufStart = CurMB->getBufferStart(); in GetMessage() local 184 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/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/llvm-project/clang/include/clang/Rewrite/Core/ |
D | RewriteBuffer.h | 43 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 44 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/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-10.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 605 const uint8_t *BufStart = in readImpl() local 613 const uint8_t *SecStart = BufStart + Entry.Offset; in readImpl() 638 Data = BufStart + Entry.Offset; in readImpl() 639 End = BufStart + Buffer->getBufferSize(); in readImpl() 761 const uint8_t *BufStart = in readHeader() local 763 Data = BufStart; in readHeader() 764 End = BufStart + Buffer->getBufferSize(); in readHeader()
|
/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/llvm-project/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 668 const uint8_t *BufStart = in readImpl() local 676 const uint8_t *SecStart = BufStart + Entry.Offset; in readImpl() 701 Data = BufStart + Entry.Offset; in readImpl() 702 End = BufStart + Buffer->getBufferSize(); in readImpl() 860 const uint8_t *BufStart = in readHeader() local 862 Data = BufStart; in readHeader() 863 End = BufStart + Buffer->getBufferSize(); in readHeader()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 44 void init(const char *BufStart, const char *BufEnd,
|
/external/llvm-project/clang/include/clang/Lex/ |
D | Lexer.h | 138 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 151 const char *BufStart, const char *BufPtr, 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/llvm-project/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 57 void init(const char *BufStart, const char *BufEnd,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 48 void init(const char *BufStart, const char *BufEnd,
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 79 void Lexer::InitLexer(const char *BufStart, const char *BufPtr, in InitLexer() argument 81 BufferStart = BufStart; in InitLexer() 150 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 152 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 493 const char *BufStart = Buffer.data(); in findBeginningOfLine() local 497 const char *LexStart = BufStart + Offset; in findBeginningOfLine() 498 for (; LexStart != BufStart; --LexStart) { in findBeginningOfLine() 500 !Lexer::isNewLineEscaped(BufStart, LexStart)) { in findBeginningOfLine()
|
/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()
|
/external/llvm-project/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 1187 const char *BufStart = BufData.data(); in emitSnippetAndCaret() local 1188 const char *BufEnd = BufStart + BufData.size(); in emitSnippetAndCaret() 1192 BufStart + in emitSnippetAndCaret()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 416 SVal BufStart = in CheckBufferAccess() local 418 if (Optional<Loc> BufLoc = BufStart.getAs<Loc>()) { in CheckBufferAccess() 902 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in IsFirstBufInBound() local 903 Optional<Loc> BufLoc = BufStart.getAs<Loc>(); in IsFirstBufInBound()
|