Home
last modified time | relevance | path

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

/external/brotli/java/org/brotli/dec/
DDecode.java483 private static int decodeBlockTypeAndLength(State s, int treeType, int numBlockTypes) { in decodeBlockTypeAndLength() argument
485 final int offset = 4 + treeType * 2; in decodeBlockTypeAndLength()
487 int blockType = readSymbol(s.blockTrees, treeType * HUFFMAN_TABLE_SIZE, s); in decodeBlockTypeAndLength()
488 int result = readBlockLength(s.blockTrees, (treeType + 3) * HUFFMAN_TABLE_SIZE, s); in decodeBlockTypeAndLength()
585 private static int readMetablockPartition(State s, int treeType, int numBlockTypes) { in readMetablockPartition() argument
589 readHuffmanCode(numBlockTypes + 2, s.blockTrees, treeType * HUFFMAN_TABLE_SIZE, s); in readMetablockPartition()
590 readHuffmanCode(NUM_BLOCK_LENGTH_CODES, s.blockTrees, (treeType + 3) * HUFFMAN_TABLE_SIZE, s); in readMetablockPartition()
591 return readBlockLength(s.blockTrees, (treeType + 3) * HUFFMAN_TABLE_SIZE, s); in readMetablockPartition()
/external/brotli/csharp/org/brotli/dec/
DDecode.cs404 private static void DecodeBlockTypeAndLength(Org.Brotli.Dec.State state, int treeType) in DecodeBlockTypeAndLength() argument
408 int offset = treeType * 2; in DecodeBlockTypeAndLength()
410 …int blockType = ReadSymbol(state.blockTypeTrees, treeType * Org.Brotli.Dec.Huffman.HuffmanMaxTable… in DecodeBlockTypeAndLength()
411 …state.blockLength[treeType] = ReadBlockLength(state.blockLenTrees, treeType * Org.Brotli.Dec.Huffm… in DecodeBlockTypeAndLength()
424 if (blockType >= state.numBlockTypes[treeType]) in DecodeBlockTypeAndLength()
426 blockType -= state.numBlockTypes[treeType]; in DecodeBlockTypeAndLength()
/external/brotli/js/
Ddecode.js495 function decodeBlockTypeAndLength(s, treeType, numBlockTypes) { argument
497 var /** !number */ offset = 4 + treeType * 2;
502 var /** !number */ blockType = readSymbol(s.blockTrees, treeType * 1080, s);
503 var /** !number */ result = readBlockLength(s.blockTrees, (treeType + 3) * 1080, s);
617 function readMetablockPartition(s, treeType, numBlockTypes) { argument
621 readHuffmanCode(numBlockTypes + 2, s.blockTrees, treeType * 1080, s);
622 readHuffmanCode(26, s.blockTrees, (treeType + 3) * 1080, s);
623 return readBlockLength(s.blockTrees, (treeType + 3) * 1080, s);
/external/antlr/runtime/Python/antlr3/
Dtree.py717 def getFirstChildWithType(self, treeType): argument
719 if child.getType() == treeType:
/external/antlr/runtime/Python3/antlr3/
Dtree.py713 def getFirstChildWithType(self, treeType): argument
715 if child.getType() == treeType: