/third_party/python/Include/cpython/ |
D | code.h | 18 struct PyCodeObject { struct 117 PyAPI_FUNC(PyCodeObject *) PyCode_New( 122 PyAPI_FUNC(PyCodeObject *) PyCode_NewWithPosOnlyArgs( 129 PyAPI_FUNC(PyCodeObject *) 135 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 175 int _PyCode_InitAddressRange(PyCodeObject* co, PyCodeAddressRange *bounds);
|
D | frameobject.h | 31 PyCodeObject *f_code; /* code segment */ 70 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
|
/third_party/python/Objects/ |
D | codeobject.c | 116 PyCodeObject * 124 PyCodeObject *co; in PyCode_NewWithPosOnlyArgs() 231 co = PyObject_New(PyCodeObject, &PyCode_Type); in PyCode_NewWithPosOnlyArgs() 274 PyCodeObject * 289 _PyCode_InitOpcache(PyCodeObject *co) in _PyCode_InitOpcache() 331 PyCodeObject * 338 PyCodeObject *result = NULL; in PyCode_NewEmpty() 381 #define OFF(x) offsetof(PyCodeObject, x) 446 code_getlnotab(PyCodeObject *code, void *closure) in code_getlnotab() 631 code_dealloc(PyCodeObject *co) in code_dealloc() [all …]
|
D | frameobject.c | 124 markblocks(PyCodeObject *code_obj, int len) in markblocks() 263 marklines(PyCodeObject *code, int len) in marklines() 603 PyCodeObject *co = f->f_code; in frame_dealloc() 630 PyCodeObject *code = frame->f_code; in frame_nslots() 709 PyCodeObject *code = f->f_code; in frame_sizeof() 726 PyCodeObject *code = f->f_code; in frame_repr() 778 frame_alloc(PyCodeObject *code) in frame_alloc() 837 PyFrameObject *f = frame_alloc((PyCodeObject *)con->fc_code); in _PyFrame_New_NoTrack() 843 f->f_code = (PyCodeObject *)Py_NewRef(con->fc_code); in _PyFrame_New_NoTrack() 863 PyFrame_New(PyThreadState *tstate, PyCodeObject *code, in PyFrame_New() [all …]
|
D | funcobject.c | 19 PyCodeObject *code_obj = (PyCodeObject *)code; in PyFunction_NewWithQualName() 328 nfree = PyCode_GetNumFree((PyCodeObject *)value); in func_set_code() 547 func_new_impl(PyTypeObject *type, PyCodeObject *code, PyObject *globals, in func_new_impl()
|
D | genobject.c | 81 ((PyCodeObject *)gen->gi_code)->co_flags & CO_COROUTINE && in _PyGen_Finalize() 129 if (((PyCodeObject *)gen->gi_code)->co_flags & CO_COROUTINE) { in gen_dealloc() 851 gen->gi_name = ((PyCodeObject *)gen->gi_code)->co_name; in gen_new_with_qualname() 885 PyCodeObject *code = (PyCodeObject *)((PyGenObject*)o)->gi_code; in gen_is_coroutine() 1181 PyCodeObject *code = frame->f_code; in compute_cr_origin()
|
D | call.c | 341 if (((PyCodeObject *)f->fc_code)->co_flags & CO_OPTIMIZED) { in _PyFunction_Vectorcall()
|
/third_party/python/Doc/c-api/ |
D | code.rst | 16 .. c:type:: PyCodeObject 32 .. c:function:: int PyCode_GetNumFree(PyCodeObject *co) 36 .. c:function:: PyCodeObject* PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksi… 43 .. c:function:: PyCodeObject* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwon… 49 .. c:function:: PyCodeObject* PyCode_NewEmpty(const char *filename, const char *funcname, int first… 55 .. c:function:: int PyCode_Addr2Line(PyCodeObject *co, int byte_offset)
|
/third_party/python/Objects/clinic/ |
D | funcobject.c.h | 23 func_new_impl(PyTypeObject *type, PyCodeObject *code, PyObject *globals, 36 PyCodeObject *code; in func_new() 50 code = (PyCodeObject *)fastargs[0]; in func_new()
|
D | codeobject.c.h | 156 code_replace_impl(PyCodeObject *self, int co_argcount, 166 code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in code_replace()
|
/third_party/python/Include/ |
D | code.h | 9 typedef struct PyCodeObject PyCodeObject; typedef
|
D | pyframe.h | 17 PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);
|
/third_party/python/Python/clinic/ |
D | import.c.h | 81 _imp__fix_co_filename_impl(PyObject *module, PyCodeObject *code, 88 PyCodeObject *code; in _imp__fix_co_filename() 98 code = (PyCodeObject *)args[0]; in _imp__fix_co_filename()
|
/third_party/python/Include/internal/ |
D | pycore_code.h | 28 int _PyCode_InitOpcache(PyCodeObject *co);
|
D | pycore_compile.h | 15 PyAPI_FUNC(PyCodeObject*) _PyAST_Compile(
|
/third_party/python/Python/ |
D | ceval.c | 37 PyCodeObject *code; // The code object for the bounds. May be NULL. 90 static void format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg); 1127 .fc_name = ((PyCodeObject *)co)->co_name, in PyEval_EvalCode() 1128 .fc_qualname = ((PyCodeObject *)co)->co_name, in PyEval_EvalCode() 1596 PyCodeObject *co; in _PyEval_EvalFrameDefault() 4556 PyCodeObject *co, PyObject *names, PyObject *qualname) in format_missing() 4618 missing_arguments(PyThreadState *tstate, PyCodeObject *co, in missing_arguments() 4657 too_many_positional(PyThreadState *tstate, PyCodeObject *co, in too_many_positional() 4715 positional_only_passed_as_keyword(PyThreadState *tstate, PyCodeObject *co, in positional_only_passed_as_keyword() 4785 PyCodeObject *co = (PyCodeObject*)con->fc_code; in _PyEval_MakeFrameVector() [all …]
|
D | pythonrun.c | 1266 run_eval_code_obj(PyThreadState *tstate, PyCodeObject *co, PyObject *globals, PyObject *locals) in run_eval_code_obj() 1303 PyCodeObject *co = _PyAST_Compile(mod, filename, flags, -1, arena); in run_mod() 1322 PyCodeObject *co; in run_pyc_file() 1349 co = (PyCodeObject *)v; in run_pyc_file() 1364 PyCodeObject *co; in Py_CompileStringObject()
|
D | import.c | 824 pathname = ((PyCodeObject *)co)->co_filename; in PyImport_ExecCodeModuleObject() 846 update_code_filenames(PyCodeObject *co, PyObject *oldname, PyObject *newname) in update_code_filenames() 862 update_code_filenames((PyCodeObject *)tmp, in update_code_filenames() 868 update_compiled_module(PyCodeObject *co, PyObject *newname) in update_compiled_module() 895 _imp__fix_co_filename_impl(PyObject *module, PyCodeObject *code, in _imp__fix_co_filename_impl() 1288 PyCodeObject *code = PyFrame_GetCode(frame); in remove_importlib_frames()
|
D | traceback.c | 261 PyCodeObject *code; in _PyTraceback_Add() 564 PyCodeObject *code = PyFrame_GetCode(tb->tb_frame); in tb_printinternal() 777 PyCodeObject *code = PyFrame_GetCode(frame); in dump_frame()
|
D | suggestions.c | 222 PyCodeObject *code = frame->f_code; in offer_suggestions_for_name_error()
|
D | compile.c | 271 static PyCodeObject *compiler_mod(struct compiler *, mod_ty); 310 static PyCodeObject *assemble(struct compiler *, int addNone); 402 PyCodeObject * 407 PyCodeObject *co = NULL; in _PyAST_Compile() 1936 static PyCodeObject * 1939 PyCodeObject *co; in compiler_mod() 2016 compiler_make_closure(struct compiler *c, PyCodeObject *co, Py_ssize_t flags, in compiler_make_closure() 2319 PyCodeObject *co; in compiler_function() 2425 PyCodeObject *co; in compiler_class() 2767 PyCodeObject *co; in compiler_lambda() [all …]
|
D | _warnings.c | 783 PyCodeObject *code = PyFrame_GetCode(frame); in is_internal_frame() 857 PyCodeObject *code = PyFrame_GetCode(f); in setup_context()
|
D | marshal.c | 510 PyCodeObject *co = (PyCodeObject *)v; in w_complex_object()
|
/third_party/python/Modules/ |
D | _lsprof.c | 408 PyCodeObject *code = PyFrame_GetCode(frame); in profiler_callback() 418 PyCodeObject *code = PyFrame_GetCode(frame); in profiler_callback()
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 235 PyCode_GetNumFree:PyCodeObject*:co:0: 237 PyCode_NewWithPosOnlyArgs:PyCodeObject*::+1: 255 PyCode_New:PyCodeObject*::+1: 272 PyCode_NewEmpty:PyCodeObject*::+1:
|