Home
last modified time | relevance | path

Searched refs:codelen (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Python/
Dpeephole.c302 Py_ssize_t i, j, codelen; in PyCode_Optimize() local
326 codelen = PyString_GET_SIZE(code); in PyCode_Optimize()
327 if (codelen > 32700) in PyCode_Optimize()
331 codestr = (unsigned char *)PyMem_Malloc(codelen); in PyCode_Optimize()
335 PyString_AS_STRING(code), codelen); in PyCode_Optimize()
342 if (codestr[codelen-1] != RETURN_VALUE) in PyCode_Optimize()
346 addrmap = PyMem_New(int, codelen); in PyCode_Optimize()
352 blocks = markblocks(codestr, codelen); in PyCode_Optimize()
357 for (i=0 ; i<codelen ; i += CODESIZE(codestr[i])) { in PyCode_Optimize()
587 if (i+4 >= codelen) in PyCode_Optimize()
[all …]
/external/pdfium/core/fxcodec/jbig2/
DJBig2_HuffmanTable.cpp155 CODES[i].codelen = pTable[i].PREFLEN; in ParseFromStandardTable()
185 if ((pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) || in ParseFromCodedBuffer()
201 if (pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) in ParseFromCodedBuffer()
211 if (pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) in ParseFromCodedBuffer()
219 if (pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) in ParseFromCodedBuffer()
DJBig2_Define.h21 int32_t codelen; member
DJBig2_Context.cpp1128 if (m_pStream->readNBits(4, &huffman_codes[i].codelen) != 0) in DecodeSymbolIDHuffmanTable()
1154 if (nBits == huffman_codes[j].codelen && nVal == huffman_codes[j].code) in DecodeSymbolIDHuffmanTable()
1162 SBSYMCODES[i].codelen = runcode; in DecodeSymbolIDHuffmanTable()
1182 SBSYMCODES[i + k].codelen = SBSYMCODES[i - 1].codelen; in DecodeSymbolIDHuffmanTable()
1184 SBSYMCODES[i + k].codelen = 0; in DecodeSymbolIDHuffmanTable()
1209 LENMAX = std::max(SBSYMCODES[i].codelen, LENMAX); in HuffmanAssignCode()
1214 ++LENCOUNT[SBSYMCODES[i].codelen]; in HuffmanAssignCode()
1227 if (SBSYMCODES[j].codelen == i) in HuffmanAssignCode()
DJBig2_HuffmanDecoder.cpp35 if (code.codelen != nBits || code.code != nVal) in DecodeAValue()
DJBig2_TrdProc.cpp130 if (nBits == SBSYMCODES[IDI].codelen && nVal == SBSYMCODES[IDI].code) in DecodeHuffman()
DJBig2_SddProc.cpp317 SBSYMCODES[i].codelen = nTmp; in DecodeHuffman()
/external/fonttools/Lib/fontTools/ttLib/tables/
DS__i_l_f.py200 codelen = len(aCode)
203 while pc < codelen:
210 if instr[1] != 0 and pc >= codelen : return res
/external/starlark-go/internal/compile/
Dcompile.go730 func (fcomp *fcomp) generate(blocks []*block, codelen uint32) {
731 code := make([]byte, 0, codelen)
810 if len(code) != int(codelen) {