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/lib/Bitcode/Reader/
DBitstreamReader.cpp35 BitStream->getBlockInfo(BlockID)) { in EnterSubBlock()
145 NextChar = BitStream->getBitcodeBytes().getExtent(); in skipRecord()
220 NextChar = BitStream->getBitcodeBytes().getExtent(); in readRecord()
226 BitStream->getBitcodeBytes().getPointer(CurBitPos/8, NumElts); in readRecord()
276 if (BitStream->hasBlockInfoRecords()) in ReadBlockInfoBlock()
317 CurBlockInfo = &BitStream->getOrCreateBlockInfo((unsigned)Record[0]); in ReadBlockInfoBlock()
321 if (BitStream->isIgnoringBlockInfoNames()) break; // Ignore name. in ReadBlockInfoBlock()
330 if (BitStream->isIgnoringBlockInfoNames()) break; // Ignore name. in ReadBlockInfoBlock()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h165 BitstreamReader *BitStream; variable
208 BitStream = R; in init()
219 return pos == 0 || BitStream->getBitcodeBytes().isValidAddress( in canSkipToPos()
241 return BitStream; in getBitStreamReader()
244 return BitStream; in getBitStreamReader()
322 BitStream->getBitcodeBytes().readBytes(Array, sizeof(Array), NextChar); in fillCurWord()