Searched refs:BufPtr (Results 1 – 5 of 5) sorted by relevance
/frameworks/compile/slang/BitWriter_3_2/ |
D | ReaderWriter_3_2.h | 66 static inline bool isBitcodeWrapper(const unsigned char *BufPtr, in isBitcodeWrapper() argument 70 return BufPtr != BufEnd && in isBitcodeWrapper() 71 BufPtr[0] == 0xDE && in isBitcodeWrapper() 72 BufPtr[1] == 0xC0 && in isBitcodeWrapper() 73 BufPtr[2] == 0x17 && in isBitcodeWrapper() 74 BufPtr[3] == 0x0B; in isBitcodeWrapper() 80 static inline bool isRawBitcode(const unsigned char *BufPtr, in isRawBitcode() argument 84 return BufPtr != BufEnd && in isRawBitcode() 85 BufPtr[0] == 'B' && in isRawBitcode() 86 BufPtr[1] == 'C' && in isRawBitcode() [all …]
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ReaderWriter_2_9_func.h | 66 static inline bool isBitcodeWrapper(const unsigned char *BufPtr, in isBitcodeWrapper() argument 70 return BufPtr != BufEnd && in isBitcodeWrapper() 71 BufPtr[0] == 0xDE && in isBitcodeWrapper() 72 BufPtr[1] == 0xC0 && in isBitcodeWrapper() 73 BufPtr[2] == 0x17 && in isBitcodeWrapper() 74 BufPtr[3] == 0x0B; in isBitcodeWrapper() 80 static inline bool isRawBitcode(const unsigned char *BufPtr, in isRawBitcode() argument 84 return BufPtr != BufEnd && in isRawBitcode() 85 BufPtr[0] == 'B' && in isRawBitcode() 86 BufPtr[1] == 'C' && in isRawBitcode() [all …]
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ReaderWriter_2_9.h | 66 static inline bool isBitcodeWrapper(const unsigned char *BufPtr, in isBitcodeWrapper() argument 70 return BufPtr != BufEnd && in isBitcodeWrapper() 71 BufPtr[0] == 0xDE && in isBitcodeWrapper() 72 BufPtr[1] == 0xC0 && in isBitcodeWrapper() 73 BufPtr[2] == 0x17 && in isBitcodeWrapper() 74 BufPtr[3] == 0x0B; in isBitcodeWrapper() 80 static inline bool isRawBitcode(const unsigned char *BufPtr, in isRawBitcode() argument 84 return BufPtr != BufEnd && in isRawBitcode() 85 BufPtr[0] == 'B' && in isRawBitcode() 86 BufPtr[1] == 'C' && in isRawBitcode() [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 3423 const unsigned char *BufPtr = (const unsigned char*)Buffer->getBufferStart(); in InitStreamFromBuffer() local 3424 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() 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/ |
D | BitcodeReader.cpp | 3765 const unsigned char *BufPtr = (const unsigned char*)Buffer->getBufferStart(); in InitStreamFromBuffer() local 3766 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() 3773 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3774 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 3777 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|