| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 107 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument 108 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline() 112 return BufferEnd; in findNewline() 115 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument 116 if (BufferPtr == BufferEnd) in skipNewline() 124 if (BufferPtr != BufferEnd && *BufferPtr == '\n') in skipNewline() 131 const char *BufferEnd) { in skipNamedCharacterReference() argument 132 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in skipNamedCharacterReference() 136 return BufferEnd; in skipNamedCharacterReference() 140 const char *BufferEnd) { in skipDecimalCharacterReference() argument [all …]
|
| H A D | CommentParser.cpp | 43 const char *BufferEnd; member 62 Pos.BufferEnd = Tok.getText().end(); in setupBuffer() 74 assert(Pos.BufferPtr != Pos.BufferEnd); in peek() 80 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar() 82 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar() 260 if (Pos.BufferPtr + 1 == Pos.BufferEnd) { in lexParHeading() 371 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, in putBackLeftoverTokens() 373 Pos.BufferEnd - Pos.BufferPtr)); in putBackLeftoverTokens()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 131 BufferEnd = BufEnd; in InitLexer() 142 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 259 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 260 assert(L->BufferEnd[0] == 0 && "Buffer is not nul terminated!"); in Create_PragmaLexer() 280 assert((BufferStart + Offset) <= BufferEnd); in seek() 1211 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1536 if (BufferPtr > BufferEnd) in SetByteOffset() 1537 BufferPtr = BufferEnd; in SetByteOffset() 1838 (const llvm::UTF8 **)&UnicodePtr, (const llvm::UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1925 [[maybe_unused]] const char *BufferEnd) { in fastParseASCIIIdentifier() argument [all …]
|
| H A D | PPLexerChange.cpp | 260 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 443 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
| H A D | Pragma.cpp | 898 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
|
| H A D | PPDirectives.cpp | 2449 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MemoryBuffer.h | 54 const char *BufferEnd; // End of the buffer. variable 68 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 69 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 90 const char *BufferEnd; variable 241 return BufferPtr == BufferEnd; in LexFromRawLexer() 285 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer() 779 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 234 const char *const BufferEnd; variable 309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 354 const char *BufferStart, const char *BufferEnd,
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 357 *BufferEnd = Buffer->getBufferEnd(); in cacheSource() local 360 for (const char *I = BufferStart; I != BufferEnd; ++I) in cacheSource() 365 if (Start < BufferEnd) in cacheSource() 366 Lines.emplace_back(Start, BufferEnd - Start); in cacheSource()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 1278 const unsigned char *const BufferEnd, in getValueProfData() argument 1282 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 1288 if (D + TotalSize > BufferEnd) in getValueProfData()
|
| H A D | InstrProfReader.cpp | 598 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader() local 599 if (BinaryIdSize % sizeof(uint64_t) || BinaryIdEnd > BufferEnd) in readHeader()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 53 BufferEnd = BufEnd; in init()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELF.h | 107 DataRegion(const T *Data, const uint8_t *BufferEnd) in DataRegion() 108 : First(Data), BufEnd(BufferEnd) {} in DataRegion()
|