Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCommentLexer.cpp126 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 …]
H A DCommentParser.cpp43 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp83 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()
1131 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
1425 if (BufferPtr > BufferEnd) in SetByteOffset()
1426 BufferPtr = BufferEnd; in SetByteOffset()
1623 (const llvm::UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char()
1690 if (CurPtr < BufferEnd) { in LexIdentifier()
[all …]
H A DPPLexerChange.cpp241 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos()
410 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
H A DPragma.cpp885 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandlePragmaHdrstop()
H A DPPDirectives.cpp2040 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DMemoryBuffer.h52 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h88 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCommentLexer.h234 const char *const BufferEnd; variable
309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
351 const char *BufferStart, const char *BufferEnd,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp350 *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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProf.cpp898 const unsigned char *const BufferEnd, in getValueProfData() argument
902 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData()
907 if (D + TotalSize > BufferEnd) in getValueProfData()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DMemoryBuffer.cpp51 BufferEnd = BufEnd; in init()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELF.h107 DataRegion(const T *Data, const uint8_t *BufferEnd) in DataRegion()
108 : First(Data), BufEnd(BufferEnd) {} in DataRegion()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Drpcndr.d171 ubyte *BufferEnd; member