Searched refs:BufEnd (Results 1 – 2 of 2) sorted by relevance
/frameworks/compile/slang/BitWriter_2_9/ |
D | ReaderWriter_2_9.h | 71 const unsigned char *BufEnd) { in isBitcodeWrapper() argument 74 return BufPtr != BufEnd && in isBitcodeWrapper() 85 const unsigned char *BufEnd) { in isRawBitcode() argument 88 return BufPtr != BufEnd && in isRawBitcode() 99 const unsigned char *BufEnd) { in isBitcode() argument 100 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 101 isRawBitcode(BufPtr, BufEnd); in isBitcode() 119 unsigned char *&BufEnd) { in SkipBitcodeWrapperHeader() argument 127 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader() 139 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader() [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 1820 unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in ParseBitcodeInto() local 1823 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in ParseBitcodeInto() 1831 if (isBitcodeWrapper(BufPtr, BufEnd)) in ParseBitcodeInto() 1832 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd)) in ParseBitcodeInto() 1835 StreamFile.init(BufPtr, BufEnd); in ParseBitcodeInto() 1951 unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in ParseTriple() local 1955 if (isBitcodeWrapper(BufPtr, BufEnd)) in ParseTriple() 1956 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd)) in ParseTriple() 1959 StreamFile.init(BufPtr, BufEnd); in ParseTriple()
|