Home
last modified time | relevance | path

Searched refs:co_code (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Objects/clinic/
Dcodeobject.c.h159 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/
Dcodeobject.c244 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 …]
Dframeobject.c127 (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()
Dgenobject.c192 …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/
Ddis.py279 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,
Dmodulefinder.py397 code = co.co_code
417 code = co.co_code
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py273 code.co_flags, code.co_code, code.co_consts,
280 code.co_flags, code.co_code, code.co_consts,
/third_party/python/Lib/test/
Dtest_code.py222 co.co_code,
253 ("co_code", code2.co_code),
Dtest_compile.py651 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)))
Dtest_peepholer.py52 self.assertLess(max_bytecode, len(code.co_code))
Dtest_dis.py617 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/
Dcode.h27 PyObject *co_code; /* instruction opcodes */ member
/third_party/ffmpeg/libavcodec/
Ddxv.c128 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/
Dceval.c1671 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()
Dmarshal.c518 w_object(co->co_code, p); in w_complex_object()
/third_party/python/Misc/NEWS.d/
D3.10.0a6.rst119 Make the compiler merges same co_code and co_linetable objects in a module
/third_party/python/Doc/library/
Dinspect.rst151 | | co_code | string of raw compiled |
/third_party/python/Doc/reference/
Ddatamodel.rst960 single: co_code (code object attribute)
985 containing the names of free variables; :attr:`co_code` is a string
/third_party/python/Misc/
DHISTORY20471 interface as the co_code field of code objects (something that was