Searched refs:BufPtr (Results 1 – 5 of 5) sorted by relevance
/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/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/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 3411 const unsigned char *BufPtr = (const unsigned char*)Buffer->getBufferStart(); in InitStreamFromBuffer() local 3412 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() 3419 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3420 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 3423 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 3748 const unsigned char *BufPtr = (const unsigned char*)Buffer->getBufferStart(); in InitStreamFromBuffer() local 3749 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in InitStreamFromBuffer() 3756 if (isBitcodeWrapper(BufPtr, BufEnd)) in InitStreamFromBuffer() 3757 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in InitStreamFromBuffer() 3760 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in InitStreamFromBuffer()
|