/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 | 452 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local 455 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create() 476 if (PrologueOffset >= BufEnd) { in Create() 486 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create() 503 if (!(IData >= BufBeg && IData < BufEnd)) { in Create() 512 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create() 523 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
|
D | Lexer.cpp | 66 const char *BufEnd) { in InitLexer() argument 71 BufferEnd = BufEnd; in InitLexer() 73 assert(BufEnd[0] == 0 && in InitLexer() 133 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 136 InitLexer(BufStart, BufPtr, BufEnd); in Lexer()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 48 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 50 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 53 BufferEnd = BufEnd; in init()
|
D | SourceMgr.cpp | 174 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 175 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 94 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 95 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/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/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 43 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 386 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 388 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess() 406 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 408 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2868 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local 2871 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 2879 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 2880 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 2883 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|