Home
last modified time | relevance | path

Searched refs:BitStream (Results 1 – 3 of 3) sorted by relevance

/external/bzip2/
Dbzip2recover.c150 BitStream; typedef
154 static BitStream* bsOpenReadStream ( FILE* stream ) in bsOpenReadStream()
156 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenReadStream()
157 if (bs == NULL) mallocFail ( sizeof(BitStream) ); in bsOpenReadStream()
167 static BitStream* bsOpenWriteStream ( FILE* stream ) in bsOpenWriteStream()
169 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenWriteStream()
170 if (bs == NULL) mallocFail ( sizeof(BitStream) ); in bsOpenWriteStream()
180 static void bsPutBit ( BitStream* bs, Int32 bit ) in bsPutBit()
199 static Int32 bsGetBit ( BitStream* bs ) in bsGetBit()
218 static void bsClose ( BitStream* bs ) in bsClose()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h169 BitstreamReader *BitStream; variable
203 BitstreamCursor() : BitStream(nullptr), NextChar(0) {} in BitstreamCursor()
205 : BitStream(nullptr), NextChar(0) { in BitstreamCursor()
209 explicit BitstreamCursor(BitstreamReader &R) : BitStream(&R) { in BitstreamCursor()
219 BitStream = &R; in init()
235 return BitStream->getBitcodeBytes().isObjectEnd(static_cast<uint64_t>(pos)); in isEndPos()
240 return pos == 0 || BitStream->getBitcodeBytes().isValidAddress( in canSkipToPos()
246 BitStream->getBitcodeBytes().readBytes(pos, sizeof(buf), buf); in getWord()
263 return BitStream; in getBitStreamReader()
266 return BitStream; in getBitStreamReader()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp21 BitStream = RHS.BitStream; in operator =()
65 BitStream->getBlockInfo(BlockID)) { in EnterSubBlock()
185 NextChar = BitStream->getBitcodeBytes().getExtent(); in skipRecord()
256 NextChar = BitStream->getBitcodeBytes().getExtent(); in readRecord()
262 BitStream->getBitcodeBytes().getPointer(CurBitPos/8, NumElts); in readRecord()
312 if (BitStream->hasBlockInfoRecords()) in ReadBlockInfoBlock()
354 CurBlockInfo = &BitStream->getOrCreateBlockInfo((unsigned)Record[0]); in ReadBlockInfoBlock()
358 if (BitStream->isIgnoringBlockInfoNames()) break; // Ignore name. in ReadBlockInfoBlock()
367 if (BitStream->isIgnoringBlockInfoNames()) break; // Ignore name. in ReadBlockInfoBlock()