Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Bitcode/
DReaderWriter.h117 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
120 return BufPtr != BufEnd && in isBitcodeWrapper()
131 const unsigned char *BufEnd) { in isRawBitcode() argument
134 return BufPtr != BufEnd && in isRawBitcode()
145 const unsigned char *BufEnd) { in isBitcode() argument
146 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
147 isRawBitcode(BufPtr, BufEnd); in isBitcode()
167 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
170 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4) in SkipBitcodeWrapperHeader()
178 if (VerifyBufferSize && BitcodeOffsetEnd > uint64_t(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/external/llvm-project/llvm/include/llvm/Bitcode/
DBitcodeReader.h200 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
203 return BufPtr != BufEnd && in isBitcodeWrapper()
213 const unsigned char *BufEnd) { in isRawBitcode() argument
216 return BufPtr != BufEnd && in isRawBitcode()
226 const unsigned char *BufEnd) { in isBitcode() argument
227 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
228 isRawBitcode(BufPtr, BufEnd); in isBitcode()
248 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
251 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4) in SkipBitcodeWrapperHeader()
259 if (VerifyBufferSize && BitcodeOffsetEnd > uint64_t(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
DBitcodeReader.h192 const unsigned char *BufEnd) { in isBitcodeWrapper() argument
195 return BufPtr != BufEnd && in isBitcodeWrapper()
205 const unsigned char *BufEnd) { in isRawBitcode() argument
208 return BufPtr != BufEnd && in isRawBitcode()
218 const unsigned char *BufEnd) { in isBitcode() argument
219 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode()
220 isRawBitcode(BufPtr, BufEnd); in isBitcode()
240 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument
243 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4) in SkipBitcodeWrapperHeader()
251 if (VerifyBufferSize && BitcodeOffsetEnd > uint64_t(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp178 const unsigned char *BufEnd, in ReadPrefix() argument
181 if (!isNaClBitcode(BufPtr, BufEnd)) { in ReadPrefix()
183 if (isBitcode(BufPtr, BufEnd)) { in ReadPrefix()
192 if (BufPtr + WordSize > BufEnd) in ReadPrefix()
203 const unsigned char *BufEnd, in ReadFields() argument
211 if (!Field->Read(BufPtr, BufEnd - BufPtr)) in ReadFields()
220 const unsigned char *BufEnd) { in Read() argument
223 if (ReadPrefix(BufPtr, BufEnd, NumFields, NumBytes)) in Read()
227 if (ReadFields(BufPtr, BufEnd, NumFields, NumBytes)) in Read()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeHeader.h196 bool Read(const unsigned char *BufPtr, const unsigned char *BufEnd);
240 bool ReadPrefix(const unsigned char *BufPtr, const unsigned char *BufEnd,
245 bool ReadFields(const unsigned char *BufPtr, const unsigned char *BufEnd,
DNaClReaderWriter.h118 const unsigned char *BufEnd) { in isNaClBitcode() argument
119 return BufPtr + 4 <= BufEnd && BufPtr[0] == 'P' && BufPtr[1] == 'E' && in isNaClBitcode()
/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/llvm-project/clang/include/clang/Rewrite/Core/
DRewriteBuffer.h43 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument
44 Buffer.assign(BufStart, BufEnd); in Initialize()
/external/llvm-project/clang/lib/Format/
DEncoding.h36 const llvm::UTF8 *BufEnd = reinterpret_cast<const llvm::UTF8 *>(Text.end()); in detectEncoding() local
37 if (llvm::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
/external/clang/lib/Format/
DEncoding.h37 const UTF8 *BufEnd = reinterpret_cast<const UTF8 *>(Text.end()); in detectEncoding() local
38 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/swiftshader/third_party/llvm-subzero/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()
/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/swiftshader/third_party/llvm-10.0/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.cpp190 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local
191 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
/external/llvm-project/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()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h44 void init(const char *BufStart, const char *BufEnd,
/external/llvm-project/clang/include/clang/Lex/
DLexer.h138 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd);
151 const char *BufStart, const char *BufPtr, const char *BufEnd);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMemoryBuffer.h48 void init(const char *BufStart, const char *BufEnd,
/external/llvm-project/llvm/include/llvm/Support/
DMemoryBuffer.h57 void init(const char *BufStart, const char *BufEnd,
/external/llvm-project/clang/lib/Lex/
DLexer.cpp80 const char *BufEnd) { in InitLexer() argument
83 BufferEnd = BufEnd; in InitLexer()
85 assert(BufEnd[0] == 0 && in InitLexer()
150 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument
152 InitLexer(BufStart, BufPtr, BufEnd); in Lexer()
278 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local
282 while (BufPtr < BufEnd) { in getSpellingSlow()
298 const char *RawEnd = BufEnd; in getSpellingSlow()
311 while (BufPtr < BufEnd) { in getSpellingSlow()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMemoryBuffer.h48 void init(const char *BufStart, const char *BufEnd,

12