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/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.h405 NaClBitstreamReader *BitStream; variable
500 BitStream = R; in init()
501 NextChar = (BitStream == nullptr) ? 0 : BitStream->getInitialAddress(); in init()
504 if (BitStream) { in init()
506 Block(BitStream->getBlockInfo(naclbitc::TOP_LEVEL_BLOCKID))); in init()
526 return pos == 0 || BitStream->getBitcodeBytes().isValidAddress( in canSkipToPos()
551 return BitStream->getErrorOffset() * CHAR_BIT + Position; in getErrorBitNo()
557 NaClBitstreamReader *getBitStreamReader() { return BitStream; } in getBitStreamReader()
558 const NaClBitstreamReader *getBitStreamReader() const { return BitStream; } in getBitStreamReader()
638 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.cpp74 BlockScope.push_back(Block(BitStream->getBlockInfo(BlockID), CodeAbbrev)); in EnterSubBlock()
379 if (BitStream->BlockInfoRecords->isFrozen()) in ReadBlockInfoBlock()
383 *BitStream->BlockInfoRecords); in ReadBlockInfoBlock()
439 &BitStream->getBlockInfo((unsigned)Record[0])->getAbbrevs(); in ReadBlockInfoBlock()
/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.h62 CFX_BitStream* BitStream() { return m_BitStream.get(); } in BitStream() function
Dcpdf_streamcontentparser.cpp103 while (!stream.BitStream()->IsEOF()) { in GetShadingBBox()
133 stream.BitStream()->SkipBits(nBits.ValueOrDie()); in GetShadingBBox()
135 stream.BitStream()->ByteAlign(); in GetShadingBBox()
/external/pdfium/core/fxcrt/
Dcfx_bitstream_unittest.cpp21 TEST(fxcrt, BitStream) { in TEST() argument
/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_rendershading.cpp429 while (!stream.BitStream()->IsEOF()) { in DrawFreeGouraudShading()
800 while (!stream.BitStream()->IsEOF()) { in DrawCoonPatchMeshes()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2258 while (!stream.BitStream()->IsEOF()) { in DrawShading()
/external/freetype/docs/
DCHANGES3557 doesn't support PFR hinting -- note that BitStream has at