Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Bitcode/
DReaderWriter.h74 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
77 return BufPtr != BufEnd && in isBitcodeWrapper()
88 const unsigned char *BufEnd) { in isRawBitcode() argument
91 return BufPtr != BufEnd && in isRawBitcode()
102 const unsigned char *BufEnd) { in isBitcode() argument
103 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
104 isRawBitcode(BufPtr, BufEnd); in isBitcode()
124 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
133 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
145 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.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()
487 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create()
505 if (!(IData >= BufBeg && IData < BufEnd)) { in Create()
515 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create()
527 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.h45 void init(const char *BufStart, const char *BufEnd,
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp383 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/
DBitcodeReader.cpp4439 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local
4446 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer()
4447 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer()
4450 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()