Home
last modified time | relevance | path

Searched refs:BufEnd (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/Bitcode/
DReaderWriter.h75 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/
DPTHLexer.cpp452 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()
DLexer.cpp66 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/
DMemoryBuffer.cpp48 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()
DSourceMgr.cpp174 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/
DRewriter.h94 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
95 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/clang/include/clang/Lex/
DLexer.h90 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/
DMemoryBuffer.h43 void init(const char *BufStart, const char *BufEnd,
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp386 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/
DBitcodeReader.cpp2868 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()