Home
last modified time | relevance | path

Searched refs:BufferEnd (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DCommentLexer.cpp132 return BufferEnd; in findNewline()
156 return BufferEnd; in skipNamedCharacterReference()
165 return BufferEnd; in skipDecimalCharacterReference()
174 return BufferEnd; in skipHexCharacterReference()
190 return BufferEnd; in skipHTMLIdentifier()
208 return BufferEnd; in skipHTMLQuotedString()
216 return BufferEnd; in skipWhitespace()
220 return skipWhitespace(BufferPtr, BufferEnd) == BufferEnd; in isWhitespace()
236 return BufferEnd; in skipCommandName()
262 return BufferEnd; in findBCPLCommentEnd()
[all …]
H A DCommentParser.cpp44 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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DLexer.cpp84 BufferEnd = BufEnd; in InitLexer()
204 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
1415 if (BufferPtr > BufferEnd) in SetByteOffset()
1416 BufferPtr = BufferEnd; in SetByteOffset()
1678 if (CurPtr < BufferEnd) { in LexIdentifier()
2517 if (CurPtr + 24 < BufferEnd && in SkipBlockComment()
2664 if (CurPtr-1 != BufferEnd) { in ReadToEndOfLine()
2723 BufferPtr = BufferEnd; in LexEndOfFile()
2763 Diag(BufferEnd, DiagID) in LexEndOfFile()
2917 if (CurPtr == BufferEnd) in findPlaceholderEnd()
[all …]
H A DPPLexerChange.cpp242 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos()
408 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
H A DPragma.cpp893 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
H A DPPDirectives.cpp1935 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleIncludeDirective()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DMemoryBuffer.h44 const char *BufferEnd; // End of the buffer. variable
61 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd()
62 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DLexer.h89 const char *BufferEnd; variable
200 return BufferPtr == BufferEnd; in LexFromRawLexer()
244 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer()
710 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentLexer.h235 const char *const BufferEnd; variable
309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
351 const char *BufferStart, const char *BufferEnd,
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProf.cpp757 const unsigned char *const BufferEnd, in getValueProfData() argument
761 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData()
766 if (D + TotalSize > BufferEnd) in getValueProfData()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DMemoryBuffer.cpp51 BufferEnd = BufEnd; in init()