Lines Matching refs:codelen
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()
600 for (i=0, nops=0 ; i<codelen ; i += CODESIZE(codestr[i])) { in PyCode_Optimize()
616 for (i=0, h=0 ; i<codelen ; ) { in PyCode_Optimize()
647 assert(h + nops == codelen); in PyCode_Optimize()