| /trueos/contrib/llvm/include/llvm/Bitcode/ |
| HD | ReaderWriter.h | 75 const unsigned char *BufEnd) { in isBitcodeWrapper() argument 78 return BufPtr != BufEnd && in isBitcodeWrapper() 89 const unsigned char *BufEnd) { in isRawBitcode() argument 92 return BufPtr != BufEnd && in isRawBitcode() 103 const unsigned char *BufEnd) { in isBitcode() argument 104 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 105 isRawBitcode(BufPtr, BufEnd); in isBitcode() 125 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument 134 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader() 146 if (VerifyBufferSize && Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader() [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/Lex/ |
| HD | PTHLexer.cpp | 439 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local 442 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create() 463 if (PrologueOffset >= BufEnd) { in Create() 473 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create() 490 if (!(IData >= BufBeg && IData < BufEnd)) { in Create() 499 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create() 510 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
|
| HD | Lexer.cpp | 69 const char *BufEnd) { in InitLexer() argument 72 BufferEnd = BufEnd; in InitLexer() 74 assert(BufEnd[0] == 0 && in InitLexer() 145 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 148 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 255 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local 259 while (BufPtr < BufEnd) { in getSpellingSlow() 275 const char *RawEnd = BufEnd; in getSpellingSlow() 288 while (BufPtr < BufEnd) { in getSpellingSlow()
|
| /trueos/contrib/llvm/tools/clang/lib/Format/ |
| HD | Encoding.h | 36 const UTF8 *BufEnd = reinterpret_cast<const UTF8 *>(Text.end()); in detectEncoding() local 37 if (::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
|
| /trueos/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| HD | Rewriter.h | 96 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 97 Buffer.assign(BufStart, BufEnd); in Initialize()
|
| /trueos/contrib/llvm/lib/Support/ |
| HD | MemoryBuffer.cpp | 54 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 56 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 59 BufferEnd = BufEnd; in init()
|
| HD | SourceMgr.cpp | 179 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 180 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
| /trueos/contrib/llvm/include/llvm/Support/ |
| HD | MemoryBuffer.h | 46 void init(const char *BufStart, const char *BufEnd,
|
| /trueos/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | Lexer.h | 96 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 109 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | CStringChecker.cpp | 379 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 381 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess() 399 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 401 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess()
|
| /trueos/contrib/llvm/lib/Bitcode/Reader/ |
| HD | BitcodeReader.cpp | 3167 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local 3170 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3178 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3179 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 3182 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|