Searched refs:codelen (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Python/ |
D | peephole.c | 53 find_op(const _Py_CODEUNIT *codestr, Py_ssize_t codelen, Py_ssize_t i) in find_op() argument 55 while (i < codelen && _Py_OPCODE(codestr[i]) == EXTENDED_ARG) { in find_op() 131 fold_tuple_on_constants(_Py_CODEUNIT *codestr, Py_ssize_t codelen, in fold_tuple_on_constants() argument 146 pos = find_op(codestr, codelen, pos); in fold_tuple_on_constants() 226 Py_ssize_t h, i, nexti, op_start, codelen, tgt; in PyCode_Optimize() local 254 codelen = PyBytes_GET_SIZE(code); in PyCode_Optimize() 255 assert(codelen % sizeof(_Py_CODEUNIT) == 0); in PyCode_Optimize() 258 codestr = (_Py_CODEUNIT *)PyMem_Malloc(codelen); in PyCode_Optimize() 263 memcpy(codestr, PyBytes_AS_STRING(code), codelen); in PyCode_Optimize() 264 codelen /= sizeof(_Py_CODEUNIT); in PyCode_Optimize() [all …]
|
/external/python/cpython2/Python/ |
D | peephole.c | 302 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/ |
D | JBig2_Define.h | 25 int32_t codelen; member
|
D | JBig2_Context.cpp | 1239 if (pStream->readNBits(4, &huffman_codes[i].codelen) != 0) in decodeSymbolIDHuffmanTable() 1261 if (nBits == huffman_codes[j].codelen && nVal == huffman_codes[j].code) in decodeSymbolIDHuffmanTable() 1269 SBSYMCODES[i].codelen = runcode; in decodeSymbolIDHuffmanTable() 1289 SBSYMCODES[i + k].codelen = SBSYMCODES[i - 1].codelen; in decodeSymbolIDHuffmanTable() 1291 SBSYMCODES[i + k].codelen = 0; in decodeSymbolIDHuffmanTable() 1307 LENMAX = std::max(LENMAX, SBSYMCODES[i].codelen); in huffman_assign_code() 1311 ++LENCOUNT[SBSYMCODES[i].codelen]; in huffman_assign_code() 1317 if (SBSYMCODES[CURTEMP].codelen == CURLEN) { in huffman_assign_code()
|
D | JBig2_TrdProc.cpp | 99 if ((nBits == SBSYMCODES[IDI].codelen) && in decode_Huffman()
|
D | JBig2_SddProc.cpp | 349 SBSYMCODES[I].codelen = nTmp; in decode_Huffman()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | S__i_l_f.py | 195 codelen = len(aCode) 198 while pc < codelen: 205 if instr[1] != 0 and pc >= codelen : return res
|