Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMemoryBuffer.h48 void init(const char *BufStart, const char *BufEnd,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMemoryBuffer.h48 void init(const char *BufStart, const char *BufEnd,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp131 const unsigned char *BufEnd = BufPtr + Buffer.getBufferSize(); in initStream() local
138 if (isBitcodeWrapper(BufPtr, BufEnd)) in initStream()
139 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in initStream()
142 BitstreamCursor Stream(ArrayRef<uint8_t>(BufPtr, BufEnd)); in initStream()