Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/llvm/include/llvm/Bitcode/
H A DReaderWriter.h67 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
70 return BufPtr != BufEnd && in isBitcodeWrapper()
81 const unsigned char *BufEnd) { in isRawBitcode() argument
84 return BufPtr != BufEnd && in isRawBitcode()
95 const unsigned char *BufEnd) { in isBitcode() argument
96 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
97 isRawBitcode(BufPtr, BufEnd); in isBitcode()
117 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
126 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
138 if (VerifyBufferSize && Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/Format/
H A DEncoding.h36 const UTF8 *BufEnd = reinterpret_cast<const UTF8 *>(Text.end()); in detectEncoding() local
37 if (::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
/minix/external/bsd/llvm/dist/clang/lib/Lex/
H A 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()
H A 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()
/minix/external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriter.h95 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
96 Buffer.assign(BufStart, BufEnd); in Initialize()
/minix/external/bsd/llvm/dist/llvm/lib/Support/
H A 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()
H A DSourceMgr.cpp165 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local
166 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
/minix/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DLexer.h96 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd);
109 const char *BufStart, const char *BufPtr, const char *BufEnd);
/minix/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DMemoryBuffer.h47 void init(const char *BufStart, const char *BufEnd,
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A 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()
/minix/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3612 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local
3619 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer()
3620 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer()
3623 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()