/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 | 132 BufferEnd = BufEnd; in InitLexer() 143 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 260 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 261 assert(L->BufferEnd[0] == 0 && "Buffer is not nul terminated!"); in Create_PragmaLexer() 281 assert((BufferStart + Offset) <= BufferEnd); in seek() 1215 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1517 if (BufferPtr > BufferEnd) in SetByteOffset() 1518 BufferPtr = BufferEnd; in SetByteOffset() 1819 (const llvm::UTF8 **)&UnicodePtr, (const llvm::UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1906 [[maybe_unused]] const char *BufferEnd) { in fastParseASCIIIdentifier() argument [all …]
|
H A D | PPLexerChange.cpp | 267 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 450 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
H A D | Pragma.cpp | 905 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
|
H A D | PPDirectives.cpp | 2415 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MemoryBuffer.h | 53 const char *BufferEnd; // End of the buffer. variable 67 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 68 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/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 | 358 *BufferEnd = Buffer->getBufferEnd(); in cacheSource() local 361 for (const char *I = BufferStart; I != BufferEnd; ++I) in cacheSource() 366 if (Start < BufferEnd) in cacheSource() 367 Lines.emplace_back(Start, BufferEnd - Start); in cacheSource()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 1225 const unsigned char *const BufferEnd, in getValueProfData() argument 1229 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 1235 if (D + TotalSize > BufferEnd) in getValueProfData()
|
H A D | InstrProfReader.cpp | 586 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader() local 587 if (BinaryIdSize % sizeof(uint64_t) || BinaryIdEnd > BufferEnd) in readHeader()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 56 BufferEnd = BufEnd; in init()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELF.h | 106 DataRegion(const T *Data, const uint8_t *BufferEnd) in DataRegion() 107 : First(Data), BufEnd(BufferEnd) {} in DataRegion()
|