/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
H A D | BitcodeReader.h | 240 const unsigned char *BufEnd) { 243 return BufPtr != BufEnd && in isBitcodeWrapper() 253 const unsigned char *BufEnd) { 256 return BufPtr != BufEnd && in isRawBitcode() 266 const unsigned char *BufEnd) { 267 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 268 isRawBitcode(BufPtr, BufEnd); in isBitcode() argument 288 const unsigned char *&BufEnd, 291 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4) in SkipBitcodeWrapperHeader() 299 if (VerifyBufferSize && BitcodeOffsetEnd > uint64_t(BufEnd in SkipBitcodeWrapperHeader() 242 isBitcodeWrapper(const unsigned char * BufPtr,const unsigned char * BufEnd) isBitcodeWrapper() argument 255 isRawBitcode(const unsigned char * BufPtr,const unsigned char * BufEnd) isRawBitcode() argument 290 SkipBitcodeWrapperHeader(const unsigned char * & BufPtr,const unsigned char * & BufEnd,bool VerifyBufferSize) SkipBitcodeWrapperHeader() argument [all...] |
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | RewriteBuffer.h | 43 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 44 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | Encoding.h | 35 const llvm::UTF8 *BufEnd = reinterpret_cast<const llvm::UTF8 *>(Text.end()); in detectEncoding() local 36 if (llvm::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 51 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 53 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 56 BufferEnd = BufEnd; in init()
|
H A D | SourceMgr.cpp | 300 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 301 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELF.h | 107 : First(Data), BufEnd(BufferEnd) {} in DataRegion() 110 assert(Size || BufEnd); 118 if (EntryStart + sizeof(T) > BufEnd) 126 const uint8_t *BufEnd = nullptr; member 797 const void *BufEnd) { in getDynSymtabSizeFromGnuHash() argument 808 while (It < BufEnd && (*It & 1) == 0) { in getDynSymtabSizeFromGnuHash() 812 if (It >= BufEnd) { in getDynSymtabSizeFromGnuHash()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MemoryBuffer.h | 58 void init(const char *BufStart, const char *BufEnd,
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 129 const char *BufEnd) { in InitLexer() argument 132 BufferEnd = BufEnd; in InitLexer() 134 assert(BufEnd[0] == 0 && in InitLexer() 200 const char *BufStart, const char *BufPtr, const char *BufEnd, in Lexer() argument 204 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 330 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local 334 while (BufPtr < BufEnd) { in getSpellingSlow() 350 const char *RawEnd = BufEnd; in getSpellingSlow() 363 while (BufPtr < BufEnd) { in getSpellingSlow()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | TextDiagnostic.cpp | 1314 const char *BufEnd = BufStart + BufData.size(); in emitSnippetAndCaret() local 1364 if (LineStart == BufEnd) in emitSnippetAndCaret() 1369 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 648 SVal BufEnd = in CheckBufferAccess() local 650 State = CheckLocation(C, State, Buffer, BufEnd, Access, CK); in CheckBufferAccess() 652 State = checkInit(C, State, Buffer, BufEnd, *Length); in CheckBufferAccess() 1178 SVal BufEnd = SB.evalBinOpLN(State, BO_Add, *BufLoc, LastOffset, PtrTy); in isFirstBufInBound() local 1181 const MemRegion *R = BufEnd.getAsRegion(); in isFirstBufInBound()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 154 const unsigned char *BufEnd = BufPtr + Buffer.getBufferSize(); in initStream() local 161 if (isBitcodeWrapper(BufPtr, BufEnd)) in initStream() 162 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in initStream() 165 BitstreamCursor Stream(ArrayRef<uint8_t>(BufPtr, BufEnd)); in initStream()
|