| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| D | string_utils.cpp | 17 static int appendChar(char **Buffer, const char *BufferEnd, char C) { in appendChar() argument 18 if (*Buffer < BufferEnd) { in appendChar() 28 static int appendNumber(char **Buffer, const char *BufferEnd, u64 AbsoluteValue, in appendNumber() argument 40 Res += appendChar(Buffer, BufferEnd, '-'); in appendNumber() 58 Res += appendChar(Buffer, BufferEnd, c); in appendNumber() 61 Res += appendChar(Buffer, BufferEnd, '-'); in appendNumber() 66 Res += appendChar(Buffer, BufferEnd, Digit); in appendNumber() 71 static int appendUnsigned(char **Buffer, const char *BufferEnd, u64 Num, in appendUnsigned() argument 74 return appendNumber(Buffer, BufferEnd, Num, Base, MinNumberLength, in appendUnsigned() 78 static int appendSignedDecimal(char **Buffer, const char *BufferEnd, s64 Num, in appendSignedDecimal() argument [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | CommentLexer.cpp | 126 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument 127 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline() 131 return BufferEnd; in findNewline() 134 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument 135 if (BufferPtr == BufferEnd) in skipNewline() 143 if (BufferPtr != BufferEnd && *BufferPtr == '\n') in skipNewline() 150 const char *BufferEnd) { in skipNamedCharacterReference() argument 151 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in skipNamedCharacterReference() 155 return BufferEnd; in skipNamedCharacterReference() 159 const char *BufferEnd) { in skipDecimalCharacterReference() argument [all …]
|
| 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() 241 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, in putBackLeftoverTokens() 243 Pos.BufferEnd - Pos.BufferPtr)); in putBackLeftoverTokens()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/ |
| D | Lexer.cpp | 83 BufferEnd = BufEnd; in InitLexer() 94 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 206 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 207 assert(L->BufferEnd[0] == 0 && "Buffer is not nul terminated!"); in Create_PragmaLexer() 227 if ((BufferPtr + NumBytes) > BufferEnd) in skipOver() 1146 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1440 if (BufferPtr > BufferEnd) in SetByteOffset() 1441 BufferPtr = BufferEnd; in SetByteOffset() 1638 (const llvm::UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1705 if (CurPtr < BufferEnd) { in LexIdentifier() [all …]
|
| D | PPLexerChange.cpp | 243 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 451 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
| D | Pragma.cpp | 936 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
|
| D | PPDirectives.cpp | 2111 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| D | MemoryBuffer.h | 52 const char *BufferEnd; // End of the buffer. variable 66 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 67 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/ |
| D | Lexer.h | 88 const char *BufferEnd; variable 203 return BufferPtr == BufferEnd; in LexFromRawLexer() 247 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer() 728 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
| D | CommentLexer.h | 234 const char *const BufferEnd; variable 309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 351 const char *BufferStart, const char *BufferEnd,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| D | SourcePrinter.cpp | 350 *BufferEnd = Buffer->getBufferEnd(); in cacheSource() local 353 for (const char *I = BufferStart; I != BufferEnd; ++I) in cacheSource() 358 if (Start < BufferEnd) in cacheSource() 359 Lines.emplace_back(Start, BufferEnd - Start); in cacheSource()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
| D | InstrProf.cpp | 899 const unsigned char *const BufferEnd, in getValueProfData() argument 903 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 908 if (D + TotalSize > BufferEnd) in getValueProfData()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | MemoryBuffer.cpp | 51 BufferEnd = BufEnd; in init()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
| D | ELF.h | 107 DataRegion(const T *Data, const uint8_t *BufferEnd) in DataRegion() 108 : First(Data), BufEnd(BufferEnd) {} in DataRegion()
|