Home
last modified time | relevance | path

Searched refs:nSelectors (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorOutputStream.java741 final int nSelectors = sendMTFValues1(nGroups, alphaSize); in sendMTFValues() local
744 sendMTFValues2(nGroups, nSelectors); in sendMTFValues()
753 sendMTFValues5(nGroups, nSelectors); in sendMTFValues()
813 int nSelectors = 0; in sendMTFValues1() local
824 nSelectors = 0; in sendMTFValues1()
890 selector[nSelectors] = (byte) bt; in sendMTFValues1()
891 nSelectors++; in sendMTFValues1()
912 return nSelectors; in sendMTFValues1()
915 private void sendMTFValues2(final int nGroups, final int nSelectors) { in sendMTFValues2() argument
925 for (int i = 0; i < nSelectors; i++) { in sendMTFValues2()
[all …]
DBZip2CompressorInputStream.java497 final int nSelectors = bsR(bin, 15);
500 checkBounds(nSelectors, MAX_SELECTORS + 1, "nSelectors");
502 for (int i = 0; i < nSelectors; i++) {
515 for (int i = 0; i < nSelectors; i++) {
/external/bzip2/
Dcompress.c242 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; in sendMTFValues() local
342 nSelectors = 0; in sendMTFValues()
404 s->selector[nSelectors] = bt; in sendMTFValues()
405 nSelectors++; in sendMTFValues()
456 AssertH( nSelectors < 32768 && in sendMTFValues()
457 nSelectors <= (2 + (900000 / BZ_G_SIZE)), in sendMTFValues()
465 for (i = 0; i < nSelectors; i++) { in sendMTFValues()
520 bsW ( s, 15, nSelectors ); in sendMTFValues()
521 for (i = 0; i < nSelectors; i++) { in sendMTFValues()
594 AssertH( selCtr == nSelectors, 3007 ); in sendMTFValues()
Ddecompress.c78 if (groupNo >= nSelectors) \
119 Int32 nSelectors; in BZ2_decompress() local
173 nSelectors = s->save_nSelectors; in BZ2_decompress()
289 GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); in BZ2_decompress()
290 if (nSelectors < 1) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
291 if (nSelectors > BZ_MAX_SELECTORS) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
292 for (i = 0; i < nSelectors; i++) { in BZ2_decompress()
308 for (i = 0; i < nSelectors; i++) { in BZ2_decompress()
621 s->save_nSelectors = nSelectors; in BZ2_decompress()
/external/u-boot/lib/bzip2/
Dbzlib_compress.c282 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; in sendMTFValues() local
383 nSelectors = 0; in sendMTFValues()
445 s->selector[nSelectors] = bt; in sendMTFValues()
446 nSelectors++; in sendMTFValues()
497 AssertH( nSelectors < 32768 && in sendMTFValues()
498 nSelectors <= (2 + (900000 / BZ_G_SIZE)), in sendMTFValues()
506 for (i = 0; i < nSelectors; i++) { in sendMTFValues()
561 bsW ( s, 15, nSelectors ); in sendMTFValues()
562 for (i = 0; i < nSelectors; i++) { in sendMTFValues()
635 AssertH( selCtr == nSelectors, 3007 ); in sendMTFValues()
Dbzlib_decompress.c121 if (groupNo >= nSelectors) \
162 Int32 nSelectors; in BZ2_decompress() local
216 nSelectors = s->save_nSelectors; in BZ2_decompress()
332 GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); in BZ2_decompress()
333 if (nSelectors < 1) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
334 for (i = 0; i < nSelectors; i++) { in BZ2_decompress()
350 for (i = 0; i < nSelectors; i++) { in BZ2_decompress()
648 s->save_nSelectors = nSelectors; in BZ2_decompress()
/external/toybox/toys/other/
Dbzcat.c97 int symTotal, groupCount, nSelectors; member
209 if (!(bd->nSelectors = get_bits(bd, 15))) return RETVAL_DATA_ERROR; in read_block_header()
211 for (ii=0; ii<bd->nSelectors; ii++) { in read_block_header()
352 if (selector >= bd->nSelectors) return RETVAL_DATA_ERROR; in read_huffman_data()