Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Bitcode/
DReaderWriter.h114 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
117 return BufPtr != BufEnd && in isBitcodeWrapper()
128 const unsigned char *BufEnd) { in isRawBitcode() argument
131 return BufPtr != BufEnd && in isRawBitcode()
142 const unsigned char *BufEnd) { in isBitcode() argument
143 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
144 isRawBitcode(BufPtr, BufEnd); in isBitcode()
164 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
173 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
179 if (VerifyBufferSize && Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/external/clang/include/clang/Rewrite/Core/
DRewriteBuffer.h41 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
42 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/clang/lib/Format/
DEncoding.h36 const UTF8 *BufEnd = reinterpret_cast<const UTF8 *>(Text.end()); in detectEncoding() local
37 if (::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
/external/clang/lib/Lex/
DPTHLexer.cpp451 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local
454 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create()
475 if (PrologueOffset >= BufEnd) { in Create()
486 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create()
504 if (!(IData >= BufBeg && IData < BufEnd)) { in Create()
514 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create()
526 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
DLexer.cpp56 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()
236 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local
240 while (BufPtr < BufEnd) { in getSpellingSlow()
256 const char *RawEnd = BufEnd; in getSpellingSlow()
269 while (BufPtr < BufEnd) { in getSpellingSlow()
/external/llvm/lib/Support/
DMemoryBuffer.cpp45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument
47 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init()
50 BufferEnd = BufEnd; in init()
DSourceMgr.cpp163 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local
164 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
/external/clang/include/clang/Lex/
DLexer.h96 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd);
109 const char *BufStart, const char *BufPtr, const char *BufEnd);
/external/llvm/include/llvm/Support/
DMemoryBuffer.h44 void init(const char *BufStart, const char *BufEnd,
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp392 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local
394 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess()
412 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local
414 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess()
860 SVal BufEnd = in IsFirstBufInBound() local
864 const MemRegion *R = BufEnd.getAsRegion(); in IsFirstBufInBound()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5333 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in initStreamFromBuffer() local
5340 if (isBitcodeWrapper(BufPtr, BufEnd)) in initStreamFromBuffer()
5341 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in initStreamFromBuffer()
5344 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in initStreamFromBuffer()
5743 const unsigned char *BufEnd = BufPtr + Buffer->getBufferSize(); in initStreamFromBuffer() local
5750 if (isBitcodeWrapper(BufPtr, BufEnd)) in initStreamFromBuffer()
5751 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in initStreamFromBuffer()
5754 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in initStreamFromBuffer()