/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 159 int co_firstlineno, PyBytesObject *co_code, 180 PyBytesObject *co_code = (PyBytesObject *)self->co_code; in code_replace() local 265 co_code = (PyBytesObject *)args[7]; in code_replace() 352 …, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_na… in code_replace()
|
/third_party/python/Objects/ |
D | codeobject.c | 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() [all …]
|
D | frameobject.c | 127 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks() 416 int len = (int)(PyBytes_GET_SIZE(f->f_code->co_code) / sizeof(_Py_CODEUNIT)); in frame_setlineno()
|
D | genobject.c | 192 …assert(f->f_lasti >= 0 || ((unsigned char *)PyBytes_AS_STRING(f->f_code->co_code))[0] == GEN_START… in gen_send_ex2() 347 PyObject *bytecode = f->f_code->co_code; in _PyGen_yf()
|
/third_party/python/Lib/ |
D | dis.py | 279 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 372 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names, 489 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 517 _disassemble_bytes(co.co_code, varnames=co.co_varnames,
|
D | modulefinder.py | 397 code = co.co_code 417 code = co.co_code
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | debug.py | 273 code.co_flags, code.co_code, code.co_consts, 280 code.co_flags, code.co_code, code.co_consts,
|
/third_party/python/Lib/test/ |
D | test_code.py | 222 co.co_code, 253 ("co_code", code2.co_code),
|
D | test_compile.py | 651 self.assertIs(f1.__code__.co_code, f2.__code__.co_code) 863 self.assertEqual(end, len(code.co_code)) 986 max_size = math.ceil(math.log(len(code.co_code)))
|
D | test_peepholer.py | 52 self.assertLess(max_bytecode, len(code.co_code))
|
D | test_dis.py | 617 self.do_disassembly_test(_f.__code__.co_code, dis_f_co_code) 626 method_bytecode = _C(1).__init__.__code__.co_code
|
/third_party/python/Include/cpython/ |
D | code.h | 27 PyObject *co_code; /* instruction opcodes */ member
|
/third_party/ffmpeg/libavcodec/ |
D | dxv.c | 128 int co_code = co_indices[x + y * 4]; in cocg_block() local 132 plane1[x] = extract_component(co0, co1, co_code); in cocg_block()
|
/third_party/python/Python/ |
D | ceval.c | 1671 assert(PyBytes_Check(co->co_code)); in _PyEval_EvalFrameDefault() 1672 assert(PyBytes_GET_SIZE(co->co_code) <= INT_MAX); in _PyEval_EvalFrameDefault() 1673 assert(PyBytes_GET_SIZE(co->co_code) % sizeof(_Py_CODEUNIT) == 0); in _PyEval_EvalFrameDefault() 1674 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault() 1675 first_instr = (_Py_CODEUNIT *) PyBytes_AS_STRING(co->co_code); in _PyEval_EvalFrameDefault() 1711 PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT) + in _PyEval_EvalFrameDefault()
|
D | marshal.c | 518 w_object(co->co_code, p); in w_complex_object()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a6.rst | 119 Make the compiler merges same co_code and co_linetable objects in a module
|
/third_party/python/Doc/library/ |
D | inspect.rst | 151 | | co_code | string of raw compiled |
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 960 single: co_code (code object attribute) 985 containing the names of free variables; :attr:`co_code` is a string
|
/third_party/python/Misc/ |
D | HISTORY | 20471 interface as the co_code field of code objects (something that was
|