Searched refs:BufferEnd (Results 1 – 10 of 10) 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() 1455 (const UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1733 (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. in LexStringLiteral() 1805 if (C == 0 && CurPtr-1 == BufferEnd) { in LexRawStringLiteral() [all …]
|
D | PPLexerChange.cpp | 275 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 368 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
D | PPDirectives.cpp | 1702 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleIncludeDirective()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 39 const char *BufferEnd; // End of the buffer. variable 51 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 52 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/Support/ |
D | MemoryBuffer.cpp | 50 BufferEnd = BufEnd; in init()
|