Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Bitcode/
DReaderWriter.h65 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
68 return BufPtr != BufEnd && in isBitcodeWrapper()
79 const unsigned char *BufEnd) { in isRawBitcode() argument
82 return BufPtr != BufEnd && in isRawBitcode()
93 const unsigned char *BufEnd) { in isBitcode() argument
94 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
95 isRawBitcode(BufPtr, BufEnd); in isBitcode()
115 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
124 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
136 if (VerifyBufferSize && Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/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.cpp460 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local
463 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create()
484 if (PrologueOffset >= BufEnd) { in Create()
495 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create()
513 if (!(IData >= BufBeg && IData < BufEnd)) { in Create()
523 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create()
535 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()
242 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local
246 while (BufPtr < BufEnd) { in getSpellingSlow()
262 const char *RawEnd = BufEnd; in getSpellingSlow()
275 while (BufPtr < BufEnd) { in getSpellingSlow()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h96 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
97 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/llvm/lib/Support/
DMemoryBuffer.cpp46 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument
48 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init()
51 BufferEnd = BufEnd; in init()
DSourceMgr.cpp170 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local
171 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h45 void init(const char *BufStart, const char *BufEnd,
/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/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.cpp3313 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local
3316 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer()
3324 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer()
3325 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer()
3328 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()