Home
last modified time | relevance | path

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

/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.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()
115 unsigned char *&BufEnd) { in SkipBitcodeWrapperHeader() argument
123 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.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()
115 unsigned char *&BufEnd) { in SkipBitcodeWrapperHeader() argument
123 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.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()
115 unsigned char *&BufEnd) { in SkipBitcodeWrapperHeader() argument
123 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader()
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp3424 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local
3431 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer()
3432 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer()
3435 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp3766 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() local
3773 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer()
3774 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer()
3777 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()