Lines Matching refs:lengthTable
232 if index not in self.lengthTable:
244 return self.lengthTable[index]
265 symbolLength = self.lengthTable[index]
283 lengthTable = {}
293 lengthTable[self.decodeTable[s]] = maskLength
298 self.lengthTable = lengthTable
299 self.minLength = min(lengthTable.values())
300 self.maxLength = max(lengthTable.values())
303 def setLength(self, lengthTable): argument
307 self.lengthTable = lengthTable
308 self.minLength = min(lengthTable.values())
309 self.maxLength = max(lengthTable.values())
318 code += sum(x==bits for x in lengthTable.values())
321 for symbol in sorted(lengthTable):
322 bits = lengthTable[symbol]