Home
last modified time | relevance | path

Searched refs:readFewBits (Results 1 – 3 of 3) sorted by relevance

/external/brotli/java/org/brotli/dec/
DDecode.java128 if (BitReader.readFewBits(s, 1) == 0) { in decodeWindowBits()
131 int n = BitReader.readFewBits(s, 3); in decodeWindowBits()
135 n = BitReader.readFewBits(s, 3); in decodeWindowBits()
183 if (BitReader.readFewBits(s, 1) != 0) { in decodeVarLenUnsignedByte()
184 int n = BitReader.readFewBits(s, 3); in decodeVarLenUnsignedByte()
188 return BitReader.readFewBits(s, n) + (1 << n); in decodeVarLenUnsignedByte()
196 s.inputEnd = BitReader.readFewBits(s, 1); in decodeMetaBlockLength()
200 if ((s.inputEnd != 0) && BitReader.readFewBits(s, 1) != 0) { in decodeMetaBlockLength()
203 int sizeNibbles = BitReader.readFewBits(s, 2) + 4; in decodeMetaBlockLength()
206 if (BitReader.readFewBits(s, 1) != 0) { in decodeMetaBlockLength()
[all …]
DBitReader.java125 static int readFewBits(State s, int n) { in readFewBits() method in BitReader
133 return readFewBits(s, n); in readBits()
135 return (n <= 16) ? readFewBits(s, n) : readManyBits(s, n); in readBits()
140 int low = readFewBits(s, 16); in readManyBits()
142 return low | (readFewBits(s, n - 16) << 16); in readManyBits()
176 int paddingBits = readFewBits(s, padding); in jumpToByteBoundary()
/external/brotli/js/
Ddecode.js48 if (readFewBits(s, 1) == 0) {
51 var /** !number */ n = readFewBits(s, 3);
55 n = readFewBits(s, 3);
107 if (readFewBits(s, 1) != 0) {
108 var /** !number */ n = readFewBits(s, 3);
112 return readFewBits(s, n) + (1 << n);
126 s.inputEnd = readFewBits(s, 1);
130 if ((s.inputEnd != 0) && readFewBits(s, 1) != 0) {
133 var /** !number */ sizeNibbles = readFewBits(s, 2) + 4;
136 if (readFewBits(s, 1) != 0) {
[all …]