Lines Matching refs:btype
371 unsigned long BTYPE = readBitFromStream(bp, &in[inpos]); BTYPE += 2 * readBitFromStream(bp, &in[inpos]);
373 zlibinfo->back().btype = BTYPE;
374 if(BTYPE == 3) { error = 20; return; } //error: invalid BTYPE
375 else if(BTYPE == 0) inflateNoCompression(out, &in[inpos], bp, pos, in.size());
376 else inflateHuffmanBlock(out, &in[inpos], bp, pos, in.size(), BTYPE);
481 const unsigned char* in, size_t& bp, size_t& pos, size_t inlength, unsigned long btype)
484 if(btype == 1) { generateFixedTrees(codetree, codetreeD); }
485 else if(btype == 2) { getTreeInflateDynamic(codetree, codetreeD, in, bp, inlength); if(error) return; }