Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Bitcode/
DReaderWriter.h69 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
72 return BufPtr != BufEnd && in isBitcodeWrapper()
83 const unsigned char *BufEnd) { in isRawBitcode() argument
86 return BufPtr != BufEnd && in isRawBitcode()
97 const unsigned char *BufEnd) { in isBitcode() argument
98 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
99 isRawBitcode(BufPtr, BufEnd); in isBitcode()
117 unsigned char *&BufEnd) { in SkipBitcodeWrapperHeader() argument
125 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
137 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/external/clang/lib/Lex/
DPTHLexer.cpp451 const unsigned char *BufEnd = (unsigned char*)File->getBufferEnd(); in Create() local
454 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 3 + 4) || in Create()
475 if (PrologueOffset >= BufEnd) { in Create()
485 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create()
502 if (!(IData >= BufBeg && IData < BufEnd)) { in Create()
511 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create()
522 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
DLexer.cpp63 const char *BufEnd) { in InitLexer() argument
68 BufferEnd = BufEnd; in InitLexer()
70 assert(BufEnd[0] == 0 && in InitLexer()
130 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument
133 InitLexer(BufStart, BufPtr, BufEnd); in Lexer()
/external/llvm/lib/Support/
DMemoryBuffer.cpp49 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument
51 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init()
54 BufferEnd = BufEnd; in init()
/external/clang/include/clang/Rewrite/
DRewriter.h96 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
97 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/clang/include/clang/Lex/
DLexer.h73 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd);
86 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/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1792 unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in ParseBitcodeInto() local
1795 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in ParseBitcodeInto()
1803 if (isBitcodeWrapper(BufPtr, BufEnd)) in ParseBitcodeInto()
1804 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd)) in ParseBitcodeInto()
1807 StreamFile.init(BufPtr, BufEnd); in ParseBitcodeInto()
1923 unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in ParseTriple() local
1927 if (isBitcodeWrapper(BufPtr, BufEnd)) in ParseTriple()
1928 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd)) in ParseTriple()
1931 StreamFile.init(BufPtr, BufEnd); in ParseTriple()
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp332 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local
334 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess()
352 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local
354 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess()