Home
last modified time | relevance | path

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

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DBitStreamTest.java32 final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[0])); in testEmptyStream()
41 …final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[] { (byte) 0xEA, 0x03 })); in testStream()
67 final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[0])); in testNextByteFromEmptyStream()
75 …final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[] { (byte) 0xEA, 0x35 })); in testReadAlignedBytes()
84 …final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[] { (byte) 0xEA, 0x35 })); in testNextByte()
DBinaryTreeTest.java40 …final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[] { (byte) 0x8D, (byte) 0… in testDecode()
69 binaryFinary.read(new BitStream(new ByteArrayInputStream(new byte[] {0}))); in testExceptions()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h124 BitstreamReader *BitStream; variable
152 BitstreamCursor() : BitStream(0), NextChar(0) { in BitstreamCursor()
154 BitstreamCursor(const BitstreamCursor &RHS) : BitStream(0), NextChar(0) { in BitstreamCursor()
158 explicit BitstreamCursor(BitstreamReader &R) : BitStream(&R) { in BitstreamCursor()
169 BitStream = &R; in init()
184 BitStream = RHS.BitStream;
229 return NextChar == BitStream->getLastChar() && BitsInCurWord == 0; in AtEndOfStream()
234 return (NextChar-BitStream->getFirstChar())*CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
238 return BitStream; in getBitStreamReader()
241 return BitStream; in getBitStreamReader()
[all …]
/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/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h399 NaClBitstreamReader *BitStream; variable
493 BitStream = R; in init()
494 NextChar = (BitStream == nullptr) ? 0 : BitStream->getInitialAddress(); in init()
497 if (BitStream) { in init()
499 Block(BitStream->getBlockInfo(naclbitc::TOP_LEVEL_BLOCKID))); in init()
521 return pos == 0 || BitStream->getBitcodeBytes().isValidAddress( in canSkipToPos()
546 return BitStream->getErrorOffset() * CHAR_BIT + Position; in getErrorBitNo()
555 return BitStream; in getBitStreamReader()
558 return BitStream; in getBitStreamReader()
641 return BitStream->getBitcodeBytes().readBytes(Buffer, Size, Address); in fillBuffer()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DBitStream.java33 class BitStream extends BitInputStream { class
35 BitStream(final InputStream in) { in BitStream() method in BitStream
DExplodingInputStream.java46 private BitStream bits;
115 bits = new BitStream(in); in init()
DBinaryTree.java84 public int read(final BitStream stream) throws IOException { in read()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp77 BlockScope.push_back(Block(BitStream->getBlockInfo(BlockID), CodeAbbrev)); in EnterSubBlock()
382 if (BitStream->BlockInfoRecords->isFrozen()) in ReadBlockInfoBlock()
386 Lock(*BitStream->BlockInfoRecords); in ReadBlockInfoBlock()
437 &BitStream->getBlockInfo((unsigned)Record[0])->getAbbrevs(); in ReadBlockInfoBlock()
/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.h60 CFX_BitStream* BitStream() { return m_BitStream.get(); } in BitStream() function
Dcpdf_streamcontentparser.cpp100 while (!stream.BitStream()->IsEOF()) { in GetShadingBBox()
130 stream.BitStream()->SkipBits(nBits.ValueOrDie()); in GetShadingBBox()
132 stream.BitStream()->ByteAlign(); in GetShadingBBox()
/external/brotli/research/
Dbrotlidump.py46 class BitStream: class
2346 l = Layout(BitStream(open(sys.argv[1],'rb').read()))
2356 olleke = BitStream(brotli.compress(
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp490 while (!stream.BitStream()->IsEOF()) { in DrawFreeGouraudShading()
860 while (!stream.BitStream()->IsEOF()) { in DrawCoonPatchMeshes()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2122 while (!stream.BitStream()->IsEOF()) { in DrawShading()
/external/freetype/docs/
DCHANGES3275 doesn't support PFR hinting -- note that BitStream has at