Lines Matching refs:co_code
244 co->co_code = code; in PyCode_NewWithPosOnlyArgs()
291 Py_ssize_t co_size = PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT); in _PyCode_InitOpcache()
297 const _Py_CODEUNIT *opcodes = (_Py_CODEUNIT*)PyBytes_AS_STRING(co->co_code); in _PyCode_InitOpcache()
390 {"co_code", T_OBJECT, OFF(co_code), READONLY},
657 Py_XDECREF(co->co_code); in code_dealloc()
691 res += PyBytes_GET_SIZE(co->co_code) / sizeof(_Py_CODEUNIT); in code_sizeof()
726 int co_firstlineno, PyBytesObject *co_code, in code_replace_impl() argument
751 co_code, co_filename, co_name, co_argcount, in code_replace_impl()
759 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl()
944 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare()
995 h1 = PyObject_Hash(co->co_code); in code_hash()
1251 assert(addrq >= 0 && addrq < PyBytes_GET_SIZE(co->co_code)); in PyCode_Addr2Line()