Home
last modified time | relevance | path

Searched refs:nextSym (Results 1 – 5 of 5) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorInputStream.java607 int nextSym = getAndMoveToFrontDecode0();
616 while (nextSym != eob) {
617 if ((nextSym == RUNA) || (nextSym == RUNB)) {
621 if (nextSym == RUNA) {
623 } else if (nextSym == RUNB) {
651 nextSym = perm_zt[tmp];
672 checkBounds(nextSym, 256 + 1, "nextSym");
674 final char tmp = yy[nextSym - 1];
684 if (nextSym <= 16) {
685 for (int j = nextSym - 1; j > 0;) {
[all …]
/external/bzip2/
Ddecompress.c123 Int32 nextSym; in BZ2_decompress() local
177 nextSym = s->save_nextSym; in BZ2_decompress()
374 GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); in BZ2_decompress()
378 if (nextSym == EOB) break; in BZ2_decompress()
380 if (nextSym == BZ_RUNA || nextSym == BZ_RUNB) { in BZ2_decompress()
392 if (nextSym == BZ_RUNA) es = es + (0+1) * N; else in BZ2_decompress()
393 if (nextSym == BZ_RUNB) es = es + (1+1) * N; in BZ2_decompress()
395 GET_MTF_VAL(BZ_X_MTF_3, BZ_X_MTF_4, nextSym); in BZ2_decompress()
397 while (nextSym == BZ_RUNA || nextSym == BZ_RUNB); in BZ2_decompress()
428 nn = (UInt32)(nextSym - 1); in BZ2_decompress()
[all …]
/external/u-boot/lib/bzip2/
Dbzlib_decompress.c166 Int32 nextSym; in BZ2_decompress() local
220 nextSym = s->save_nextSym; in BZ2_decompress()
416 GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); in BZ2_decompress()
423 if (nextSym == EOB) break; in BZ2_decompress()
425 if (nextSym == BZ_RUNA || nextSym == BZ_RUNB) { in BZ2_decompress()
430 if (nextSym == BZ_RUNA) es = es + (0+1) * N; else in BZ2_decompress()
431 if (nextSym == BZ_RUNB) es = es + (1+1) * N; in BZ2_decompress()
433 GET_MTF_VAL(BZ_X_MTF_3, BZ_X_MTF_4, nextSym); in BZ2_decompress()
435 while (nextSym == BZ_RUNA || nextSym == BZ_RUNB); in BZ2_decompress()
466 nn = (UInt32)(nextSym - 1); in BZ2_decompress()
[all …]
/external/toybox/toys/other/
Dbzcat.c322 int ii, jj, kk, runPos, dbufCount, symCount, selector, nextSym, in read_huffman_data() local
376 nextSym = hufGroup->permute[jj]; in read_huffman_data()
379 if ((unsigned)nextSym <= SYMBOL_RUNB) { in read_huffman_data()
393 hh += (runPos << nextSym); // +runPos if RUNA; +2*runPos if RUNB in read_huffman_data()
414 if (nextSym>bd->symTotal) break; in read_huffman_data()
423 ii = nextSym - 1; in read_huffman_data()
/external/python/cpython2/Parser/
Dspark.py389 nextSym = rhs[pos]
390 key = (X.stateno, nextSym)
391 if not rules.has_key(nextSym):
394 X.T.append(nextSym)
397 if not predicted.has_key(nextSym):
398 predicted[nextSym] = 1
399 for prule in rules[nextSym]: