Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp18 if (*Buffer < BufferEnd) { in appendChar()
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()
101 Res += appendChar(Buffer, BufferEnd, *S); in appendString()
105 Res += appendChar(Buffer, BufferEnd, ' '); in appendString()
130 Res += appendChar(&Buffer, BufferEnd, *Cur); in formatString()
200 Res += appendChar(&Buffer, BufferEnd, '%'); in formatString()
208 RAW_CHECK(Buffer <= BufferEnd); in formatString()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentLexer.cpp112 return BufferEnd; in findNewline()
136 return BufferEnd; in skipNamedCharacterReference()
145 return BufferEnd; in skipDecimalCharacterReference()
154 return BufferEnd; in skipHexCharacterReference()
170 return BufferEnd; in skipHTMLIdentifier()
188 return BufferEnd; in skipHTMLQuotedString()
196 return BufferEnd; in skipWhitespace()
200 return skipWhitespace(BufferPtr, BufferEnd) == BufferEnd; in isWhitespace()
216 return BufferEnd; in skipCommandName()
227 return BufferEnd; in findBCPLCommentEnd()
[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()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp84 BufferEnd = BufEnd; in InitLexer()
212 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
1445 if (BufferPtr > BufferEnd) in SetByteOffset()
1446 BufferPtr = BufferEnd; in SetByteOffset()
1828 if (CurPtr < BufferEnd) { in LexIdentifierContinue()
2701 if (CurPtr + 24 < BufferEnd && in SkipBlockComment()
2895 if (CurPtr-1 != BufferEnd) { in ReadToEndOfLine()
2954 BufferPtr = BufferEnd; in LexEndOfFile()
2999 Diag(BufferEnd, DiagID) in LexEndOfFile()
3160 if (CurPtr == BufferEnd) in findPlaceholderEnd()
[all …]
H A DPPLexerChange.cpp267 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos()
441 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.cpp2299 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleHeaderIncludeOrImport()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMachOTest.cpp37 unsigned char *BufferEnd = in TEST() local
39 while (Current < BufferEnd) { in TEST()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h90 const char *BufferEnd; variable
241 return BufferPtr == BufferEnd; in LexFromRawLexer()
285 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer()
765 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCommentLexer.h234 const char *const BufferEnd; variable
309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
354 const char *BufferStart, const char *BufferEnd,
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp352 *BufferEnd = Buffer->getBufferEnd(); in cacheSource() local
355 for (const char *I = BufferStart; I != BufferEnd; ++I) in cacheSource()
360 if (Start < BufferEnd) in cacheSource()
361 Lines.emplace_back(Start, BufferEnd - Start); in cacheSource()
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DPreprocessorTracker.cpp318 const char *BufferEnd = MemBuffer.getBufferEnd(); in getSourceLine() local
328 while (EndPtr < BufferEnd) { in getSourceLine()
344 const char *BufferEnd = MemBuffer.getBufferEnd(); in getSourceLine() local
346 const char *EndPtr = BufferEnd; in getSourceLine()
351 while (Buffer < BufferEnd) { in getSourceLine()
361 while (Buffer < BufferEnd) { in getSourceLine()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProf.cpp934 const unsigned char *const BufferEnd, in getValueProfData() argument
938 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData()
943 if (D + TotalSize > BufferEnd) in getValueProfData()
H A DInstrProfReader.cpp446 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader() local
447 if (BinaryIdsStart + BinaryIdsSize > BufferEnd) in readHeader()
/llvm-project-15.0.7/llvm/lib/Support/
H A DMemoryBuffer.cpp53 BufferEnd = BufEnd; in init()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELF.h103 DataRegion(const T *Data, const uint8_t *BufferEnd) in DataRegion()
104 : First(Data), BufEnd(BufferEnd) {} in DataRegion()