Home
last modified time | relevance | path

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

/external/brotli/csharp/org/brotli/dec/
DHuffman.cs72 …uildHuffmanTable(int[] rootTable, int tableOffset, int rootBits, int[] codeLengths, int codeLength… in BuildHuffmanTable() argument
87 count[codeLengths[symbol]]++; in BuildHuffmanTable()
98 if (codeLengths[symbol] != 0) in BuildHuffmanTable()
100 sorted[offset[codeLengths[symbol]]++] = symbol; in BuildHuffmanTable()
DDecode.cs180 …dHuffmanCodeLengths(int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, Org.Brotli.Dec… in ReadHuffmanCodeLengths() argument
199 codeLengths[symbol++] = codeLen; in ReadHuffmanCodeLengths()
234 codeLengths[symbol++] = repeatCodeLen; in ReadHuffmanCodeLengths()
248 Org.Brotli.Dec.Utils.FillWithZeroes(codeLengths, symbol, numSymbols - symbol); in ReadHuffmanCodeLengths()
258 int[] codeLengths = new int[alphabetSize]; in ReadHuffmanCode()
277 codeLengths[symbols[i]] = 2; in ReadHuffmanCode()
279 codeLengths[symbols[0]] = 1; in ReadHuffmanCode()
290 codeLengths[symbols[1]] = 1; in ReadHuffmanCode()
306 codeLengths[symbols[2]] = 3; in ReadHuffmanCode()
307 codeLengths[symbols[3]] = 3; in ReadHuffmanCode()
[all …]
/external/brotli/java/org/brotli/dec/
DHuffman.java62 static void buildHuffmanTable(int[] rootTable, int tableOffset, int rootBits, int[] codeLengths, in buildHuffmanTable() argument
73 count[codeLengths[symbol]]++; in buildHuffmanTable()
84 if (codeLengths[symbol] != 0) { in buildHuffmanTable()
85 sorted[offset[codeLengths[symbol]]++] = symbol; in buildHuffmanTable()
DDecode.java296 int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, State s) { in readHuffmanCodeLengths() argument
314 codeLengths[symbol++] = codeLen; in readHuffmanCodeLengths()
341 codeLengths[symbol++] = repeatCodeLen; in readHuffmanCodeLengths()
352 Utils.fillIntsWithZeroes(codeLengths, symbol, numSymbols); in readHuffmanCodeLengths()
372 int[] codeLengths = new int[alphabetSize]; in readHuffmanCode() local
389 codeLengths[symbols[i]] = 2; in readHuffmanCode()
391 codeLengths[symbols[0]] = 1; in readHuffmanCode()
394 codeLengths[symbols[1]] = 1; in readHuffmanCode()
398 codeLengths[symbols[2]] = 3; in readHuffmanCode()
399 codeLengths[symbols[3]] = 3; in readHuffmanCode()
[all …]
/external/brotli/js/
Ddecode.js263 function readHuffmanCodeLengths(codeLengthCodeLengths, numSymbols, codeLengths, s) { argument
284 codeLengths[symbol++] = codeLen;
314 codeLengths[symbol++] = repeatCodeLen;
324 codeLengths.fill(0, symbol, numSymbols);
354 var /** !Int32Array */ codeLengths = new Int32Array(alphabetSize);
375 codeLengths[symbols[i]] = 2;
377 codeLengths[symbols[0]] = 1;
380 codeLengths[symbols[1]] = 1;
384 codeLengths[symbols[2]] = 3;
385 codeLengths[symbols[3]] = 3;
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DHuffmanDecoder.java370 int codeLengths = (int) (readBits(reader, 4) + 4); in populateDynamicTables() local
373 for (int cLen = 0; cLen < codeLengths; cLen++) { in populateDynamicTables()
/external/brotli/research/
Dbrotlidump.py1463 codeLengths = {}
1477 codeLengths[newSymbol] = length
1480 if len(codeLengths)==1: codeLengths[list(codeLengths.keys())[0]] = 0
1482 lengthCode.setLength(codeLengths)