Searched refs:BufferEnd (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 118 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument 119 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline() 123 return BufferEnd; in findNewline() 126 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument 127 if (BufferPtr == BufferEnd) in skipNewline() 135 if (BufferPtr != BufferEnd && *BufferPtr == '\n') in skipNewline() 142 const char *BufferEnd) { in skipNamedCharacterReference() argument 143 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in skipNamedCharacterReference() 147 return BufferEnd; in skipNamedCharacterReference() 151 const char *BufferEnd) { in skipDecimalCharacterReference() argument [all …]
|
D | CommentParser.cpp | 45 const char *BufferEnd; member 63 Pos.BufferEnd = Tok.getText().end(); in setupBuffer() 75 assert(Pos.BufferPtr != Pos.BufferEnd); in peek() 81 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar() 83 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar() 242 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, in putBackLeftoverTokens() 244 Pos.BufferEnd - Pos.BufferPtr)); in putBackLeftoverTokens()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 59 BufferEnd = BufEnd; in InitLexer() 70 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 181 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 182 assert(L->BufferEnd[0] == 0 && "Buffer is not nul terminated!"); in Create_PragmaLexer() 1045 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1347 if (BufferPtr > BufferEnd) in SkipBytes() 1348 BufferPtr = BufferEnd; in SkipBytes() 1459 (const UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1737 (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. in LexStringLiteral() 1809 if (C == 0 && CurPtr-1 == BufferEnd) { in LexRawStringLiteral() [all …]
|
D | PPLexerChange.cpp | 276 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 379 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
D | PPDirectives.cpp | 1740 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleIncludeDirective()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 38 const char *BufferEnd; // End of the buffer. variable 50 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 51 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 52 const char *BufferEnd; // End of the buffer. variable 159 return BufferPtr == BufferEnd; in LexFromRawLexer() 203 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer() 622 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 236 const char *const BufferEnd; variable 305 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 349 const char *BufferStart, const char *BufferEnd);
|
/external/llvm/include/llvm/ADT/ |
D | StringExtras.h | 56 static inline char *utohex_buffer(IntTy X, char *BufferEnd, bool LowerCase = false) { 57 char *BufPtr = BufferEnd;
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 430 const unsigned char *const BufferEnd, in getValueProfData() argument 433 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 438 if (D + TotalSize > BufferEnd) in getValueProfData()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 50 BufferEnd = BufEnd; in init()
|