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.cpp448 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()
DLexer.cpp68 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/
DMemoryBuffer.cpp56 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()
DSourceMgr.cpp179 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/
DRewriter.h98 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
99 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h44 void init(const char *BufStart, const char *BufEnd,
/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/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp376 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/
DBitcodeReader.cpp2984 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()