/external/llvm/include/llvm/Bitcode/ |
D | 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 …]
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 448 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local 451 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create() 472 if (PrologueOffset >= BufEnd) { in Create() 482 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create() 499 if (!(IData >= BufBeg && IData < BufEnd)) { in Create() 508 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create() 519 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
|
D | Lexer.cpp | 68 const char *BufEnd) { in InitLexer() argument 71 BufferEnd = BufEnd; in InitLexer() 73 assert(BufEnd[0] == 0 && in InitLexer() 140 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 143 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 250 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local 254 while (BufPtr < BufEnd) { in getSpellingSlow() 270 const char *RawEnd = BufEnd; in getSpellingSlow() 283 while (BufPtr < BufEnd) { in getSpellingSlow()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 56 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 58 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 61 BufferEnd = BufEnd; in init()
|
D | SourceMgr.cpp | 179 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 180 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 98 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 99 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 44 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 90 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 103 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 376 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 378 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess() 396 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 398 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2984 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local 2987 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 2995 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 2996 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 2999 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|