/external/llvm/include/llvm/Bitcode/ |
D | ReaderWriter.h | 65 const unsigned char *BufEnd) { in isBitcodeWrapper() argument 68 return BufPtr != BufEnd && in isBitcodeWrapper() 79 const unsigned char *BufEnd) { in isRawBitcode() argument 82 return BufPtr != BufEnd && in isRawBitcode() 93 const unsigned char *BufEnd) { in isBitcode() argument 94 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 95 isRawBitcode(BufPtr, BufEnd); in isBitcode() 115 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument 124 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader() 136 if (VerifyBufferSize && Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader() [all …]
|
/external/clang/lib/Format/ |
D | Encoding.h | 36 const UTF8 *BufEnd = reinterpret_cast<const UTF8 *>(Text.end()); in detectEncoding() local 37 if (::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 460 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local 463 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create() 484 if (PrologueOffset >= BufEnd) { in Create() 495 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create() 513 if (!(IData >= BufBeg && IData < BufEnd)) { in Create() 523 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create() 535 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
|
D | Lexer.cpp | 56 const char *BufEnd) { in InitLexer() argument 59 BufferEnd = BufEnd; in InitLexer() 61 assert(BufEnd[0] == 0 && in InitLexer() 132 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 135 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 242 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local 246 while (BufPtr < BufEnd) { in getSpellingSlow() 262 const char *RawEnd = BufEnd; in getSpellingSlow() 275 while (BufPtr < BufEnd) { in getSpellingSlow()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 96 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 97 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 46 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 48 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 51 BufferEnd = BufEnd; in init()
|
D | SourceMgr.cpp | 170 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 171 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 45 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 96 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 109 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 383 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 385 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess() 403 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 405 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3313 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local 3316 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3324 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3325 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 3328 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|