/aosp_15_r20/external/python/cpython3/Objects/ |
D | codeobject.c | 208 get_localsplus_names(PyCodeObject *co, _PyLocals_Kind kind, int num) in get_localsplus_names() 289 init_code(PyCodeObject *co, struct _PyCodeConstructor *con) in init_code() 445 PyCodeObject * 481 PyCodeObject *co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size); in _PyCode_New() 497 PyCodeObject * 507 PyCodeObject *co = NULL; in PyCode_NewWithPosOnlyArgs() 621 PyCodeObject * 655 PyCodeObject * 663 PyCodeObject *result = NULL; in PyCode_NewEmpty() 722 _PyCode_CreateLineArray(PyCodeObject *co) in _PyCode_CreateLineArray() [all …]
|
D | frameobject.c | 277 mark_stacks(PyCodeObject *code_obj, int len) in mark_stacks() 550 marklines(PyCodeObject *code, int len) in marklines() 862 PyCodeObject *co = NULL; in frame_dealloc() 944 PyCodeObject *code = f->f_frame->f_code; in frame_sizeof() 956 PyCodeObject *code = f->f_frame->f_code; in frame_repr() 1011 PyCodeObject *code = (PyCodeObject *)func->func_code; in init_frame() 1020 _PyFrame_New_NoTrack(PyCodeObject *code) in _PyFrame_New_NoTrack() 1039 PyFrame_New(PyThreadState *tstate, PyCodeObject *code, in PyFrame_New() 1106 PyCodeObject *co; in _PyFrame_FastToLocalsWithError() 1120 PyCodeObject *co = frame->f_code; in _PyFrame_FastToLocalsWithError() [all …]
|
D | genobject.c | 90 ((PyCodeObject *)gen->gi_code)->co_flags & CO_COROUTINE && in _PyGen_Finalize() 140 if (((PyCodeObject *)gen->gi_code)->co_flags & CO_COROUTINE) { in gen_dealloc() 814 PyCodeObject *code = gen->gi_code; in gen_sizeof() 895 PyCodeObject *code = (PyCodeObject *)func->func_code; in make_gen() 902 gen->gi_code = (PyCodeObject *)func->func_code; in make_gen() 921 int coro_flags = ((PyCodeObject *)func->func_code)->co_flags & in _Py_MakeCoro() 965 PyCodeObject *code = f->f_frame->f_code; in gen_new_with_qualname() 1025 PyCodeObject *code = (PyCodeObject *)((PyGenObject*)o)->gi_code; in gen_is_coroutine() 1344 PyCodeObject *code = frame->f_code; in compute_cr_origin()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/ |
D | code.h | 103 struct PyCodeObject _PyCode_DEF(1); 148 PyAPI_FUNC(PyCodeObject *) PyCode_New( 154 PyAPI_FUNC(PyCodeObject *) PyCode_NewWithPosOnlyArgs( 162 PyAPI_FUNC(PyCodeObject *) 168 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 170 PyAPI_FUNC(int) PyCode_Addr2Location(PyCodeObject *, int, int *, int *, int *, int *); 211 PyAPI_FUNC(PyObject *) PyCode_GetCode(PyCodeObject *code); 213 PyAPI_FUNC(PyObject *) PyCode_GetVarnames(PyCodeObject *code); 215 PyAPI_FUNC(PyObject *) PyCode_GetCellvars(PyCodeObject *code); 217 PyAPI_FUNC(PyObject *) PyCode_GetFreevars(PyCodeObject *code);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/ |
D | code.h | 103 struct PyCodeObject _PyCode_DEF(1); 148 PyAPI_FUNC(PyCodeObject *) PyCode_New( 154 PyAPI_FUNC(PyCodeObject *) PyCode_NewWithPosOnlyArgs( 162 PyAPI_FUNC(PyCodeObject *) 168 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 170 PyAPI_FUNC(int) PyCode_Addr2Location(PyCodeObject *, int, int *, int *, int *, int *); 211 PyAPI_FUNC(PyObject *) PyCode_GetCode(PyCodeObject *code); 213 PyAPI_FUNC(PyObject *) PyCode_GetVarnames(PyCodeObject *code); 215 PyAPI_FUNC(PyObject *) PyCode_GetCellvars(PyCodeObject *code); 217 PyAPI_FUNC(PyObject *) PyCode_GetFreevars(PyCodeObject *code);
|
/aosp_15_r20/external/python/cpython3/Include/cpython/ |
D | code.h | 103 struct PyCodeObject _PyCode_DEF(1); 148 PyAPI_FUNC(PyCodeObject *) PyCode_New( 154 PyAPI_FUNC(PyCodeObject *) PyCode_NewWithPosOnlyArgs( 162 PyAPI_FUNC(PyCodeObject *) 168 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 170 PyAPI_FUNC(int) PyCode_Addr2Location(PyCodeObject *, int, int *, int *, int *, int *); 211 PyAPI_FUNC(PyObject *) PyCode_GetCode(PyCodeObject *code); 213 PyAPI_FUNC(PyObject *) PyCode_GetVarnames(PyCodeObject *code); 215 PyAPI_FUNC(PyObject *) PyCode_GetCellvars(PyCodeObject *code); 217 PyAPI_FUNC(PyObject *) PyCode_GetFreevars(PyCodeObject *code);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/ |
D | code.h | 103 struct PyCodeObject _PyCode_DEF(1); 148 PyAPI_FUNC(PyCodeObject *) PyCode_New( 154 PyAPI_FUNC(PyCodeObject *) PyCode_NewWithPosOnlyArgs( 162 PyAPI_FUNC(PyCodeObject *) 168 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 170 PyAPI_FUNC(int) PyCode_Addr2Location(PyCodeObject *, int, int *, int *, int *, int *); 211 PyAPI_FUNC(PyObject *) PyCode_GetCode(PyCodeObject *code); 213 PyAPI_FUNC(PyObject *) PyCode_GetVarnames(PyCodeObject *code); 215 PyAPI_FUNC(PyObject *) PyCode_GetCellvars(PyCodeObject *code); 217 PyAPI_FUNC(PyObject *) PyCode_GetFreevars(PyCodeObject *code);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/ |
D | code.h | 103 struct PyCodeObject _PyCode_DEF(1); 148 PyAPI_FUNC(PyCodeObject *) PyCode_New( 154 PyAPI_FUNC(PyCodeObject *) PyCode_NewWithPosOnlyArgs( 162 PyAPI_FUNC(PyCodeObject *) 168 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 170 PyAPI_FUNC(int) PyCode_Addr2Location(PyCodeObject *, int, int *, int *, int *, int *); 211 PyAPI_FUNC(PyObject *) PyCode_GetCode(PyCodeObject *code); 213 PyAPI_FUNC(PyObject *) PyCode_GetVarnames(PyCodeObject *code); 215 PyAPI_FUNC(PyObject *) PyCode_GetCellvars(PyCodeObject *code); 217 PyAPI_FUNC(PyObject *) PyCode_GetFreevars(PyCodeObject *code);
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | codeobject.c | 92 PyCodeObject * 99 PyCodeObject *co; in PyCode_New() 120 co = PyObject_NEW(PyCodeObject, &PyCode_Type); in PyCode_New() 151 PyCodeObject * 158 PyCodeObject *result = NULL; in PyCode_NewEmpty() 198 #define OFF(x) offsetof(PyCodeObject, x) 345 code_dealloc(PyCodeObject *co) in code_dealloc() 364 code_repr(PyCodeObject *co) in code_repr() 384 code_compare(PyCodeObject *co, PyCodeObject *cp) in code_compare() 549 PyCodeObject *co, *cp; in code_richcompare() [all …]
|
/aosp_15_r20/external/python/cpython3/android/Python/deepfreeze/ |
D | deepfreeze.c | 147873 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_1); in _Py_Deepfreeze_Fini() 147881 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_3); in _Py_Deepfreeze_Fini() 147884 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_4); in _Py_Deepfreeze_Fini() 147886 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_5); in _Py_Deepfreeze_Fini() 147898 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_7_consts_2); in _Py_Deepfreeze_Fini() 147907 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_7_consts_3); in _Py_Deepfreeze_Fini() 147913 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_7_consts_4); in _Py_Deepfreeze_Fini() 147917 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_7_consts_5); in _Py_Deepfreeze_Fini() 147922 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_7_consts_6); in _Py_Deepfreeze_Fini() 147923 _PyStaticCode_Dealloc((PyCodeObject *)&importlib__bootstrap_toplevel_consts_7); in _Py_Deepfreeze_Fini() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/ |
D | pycore_code.h | 100 void _PyCode_Quicken(PyCodeObject *code); 103 _PyCode_Warmup(PyCodeObject *code) in _PyCode_Warmup() 211 PyAPI_FUNC(PyCodeObject *) _PyCode_New(struct _PyCodeConstructor *); 217 extern PyObject* _PyCode_GetVarnames(PyCodeObject *); 218 extern PyObject* _PyCode_GetCellvars(PyCodeObject *); 219 extern PyObject* _PyCode_GetFreevars(PyCodeObject *); 220 extern PyObject* _PyCode_GetCode(PyCodeObject *); 223 extern int _PyCode_InitAddressRange(PyCodeObject* co, PyCodeAddressRange *bounds); 259 extern void _PyStaticCode_Dealloc(PyCodeObject *co); 261 extern int _PyStaticCode_InternStrings(PyCodeObject *co); [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/ |
D | pycore_code.h | 100 void _PyCode_Quicken(PyCodeObject *code); 103 _PyCode_Warmup(PyCodeObject *code) in _PyCode_Warmup() 211 PyAPI_FUNC(PyCodeObject *) _PyCode_New(struct _PyCodeConstructor *); 217 extern PyObject* _PyCode_GetVarnames(PyCodeObject *); 218 extern PyObject* _PyCode_GetCellvars(PyCodeObject *); 219 extern PyObject* _PyCode_GetFreevars(PyCodeObject *); 220 extern PyObject* _PyCode_GetCode(PyCodeObject *); 223 extern int _PyCode_InitAddressRange(PyCodeObject* co, PyCodeAddressRange *bounds); 259 extern void _PyStaticCode_Dealloc(PyCodeObject *co); 261 extern int _PyStaticCode_InternStrings(PyCodeObject *co); [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/ |
D | pycore_code.h | 100 void _PyCode_Quicken(PyCodeObject *code); 103 _PyCode_Warmup(PyCodeObject *code) in _PyCode_Warmup() 211 PyAPI_FUNC(PyCodeObject *) _PyCode_New(struct _PyCodeConstructor *); 217 extern PyObject* _PyCode_GetVarnames(PyCodeObject *); 218 extern PyObject* _PyCode_GetCellvars(PyCodeObject *); 219 extern PyObject* _PyCode_GetFreevars(PyCodeObject *); 220 extern PyObject* _PyCode_GetCode(PyCodeObject *); 223 extern int _PyCode_InitAddressRange(PyCodeObject* co, PyCodeAddressRange *bounds); 259 extern void _PyStaticCode_Dealloc(PyCodeObject *co); 261 extern int _PyStaticCode_InternStrings(PyCodeObject *co); [all …]
|
/aosp_15_r20/external/python/cpython3/Include/internal/ |
D | pycore_code.h | 100 void _PyCode_Quicken(PyCodeObject *code); 103 _PyCode_Warmup(PyCodeObject *code) in _PyCode_Warmup() 211 PyAPI_FUNC(PyCodeObject *) _PyCode_New(struct _PyCodeConstructor *); 217 extern PyObject* _PyCode_GetVarnames(PyCodeObject *); 218 extern PyObject* _PyCode_GetCellvars(PyCodeObject *); 219 extern PyObject* _PyCode_GetFreevars(PyCodeObject *); 220 extern PyObject* _PyCode_GetCode(PyCodeObject *); 223 extern int _PyCode_InitAddressRange(PyCodeObject* co, PyCodeAddressRange *bounds); 259 extern void _PyStaticCode_Dealloc(PyCodeObject *co); 261 extern int _PyStaticCode_InternStrings(PyCodeObject *co); [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/ |
D | pycore_code.h | 100 void _PyCode_Quicken(PyCodeObject *code); 103 _PyCode_Warmup(PyCodeObject *code) in _PyCode_Warmup() 211 PyAPI_FUNC(PyCodeObject *) _PyCode_New(struct _PyCodeConstructor *); 217 extern PyObject* _PyCode_GetVarnames(PyCodeObject *); 218 extern PyObject* _PyCode_GetCellvars(PyCodeObject *); 219 extern PyObject* _PyCode_GetFreevars(PyCodeObject *); 220 extern PyObject* _PyCode_GetCode(PyCodeObject *); 223 extern int _PyCode_InitAddressRange(PyCodeObject* co, PyCodeAddressRange *bounds); 259 extern void _PyStaticCode_Dealloc(PyCodeObject *co); 261 extern int _PyStaticCode_InternStrings(PyCodeObject *co); [all …]
|
/aosp_15_r20/external/python/cpython3/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… 48 .. c:function:: PyCodeObject* PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwon… 58 .. c:function:: PyCodeObject* PyCode_NewEmpty(const char *filename, const char *funcname, int first… 64 .. c:function:: int PyCode_Addr2Line(PyCodeObject *co, int byte_offset) 82 .. c:function:: PyObject* PyCode_GetCode(PyCodeObject *co) 95 .. c:function:: PyObject* PyCode_GetVarnames(PyCodeObject *co) 104 .. c:function:: PyObject* PyCode_GetCellvars(PyCodeObject *co) 113 .. c:function:: PyObject* PyCode_GetFreevars(PyCodeObject *co)
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | code.h | 30 } PyCodeObject; typedef 71 PyAPI_FUNC(PyCodeObject *) PyCode_New( 77 PyAPI_FUNC(PyCodeObject *) 83 PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); 98 PyAPI_FUNC(int) _PyCode_CheckLineNumber(PyCodeObject* co,
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/ |
H A D | pprof_profile_builder.h | 39 int FunctionId(PyCodeObject* code); 42 int LocationId(PyCodeObject* code, int instruction); 48 absl::flat_hash_map<PyCodeObject*, int> functions_; 49 absl::flat_hash_map<std::pair<PyCodeObject*, int>, int> locations_;
|
/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | pythoncapi_compat.h | 151 PYCAPI_COMPAT_STATIC_INLINE(PyCodeObject*) 156 return _Py_CAST(PyCodeObject*, Py_NewRef(frame->f_code)); in PyFrame_GetCode() 160 PYCAPI_COMPAT_STATIC_INLINE(PyCodeObject*) 163 PyCodeObject *code = PyFrame_GetCode(frame); in _PyFrame_GetCodeBorrow() 541 PyCode_GetCode(PyCodeObject *code) in PyCode_GetCode() 551 PyCode_GetVarnames(PyCodeObject *code) in PyCode_GetVarnames() 560 PyCode_GetFreevars(PyCodeObject *code) in PyCode_GetFreevars() 569 PyCode_GetCellvars(PyCodeObject *code) in PyCode_GetCellvars()
|
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/ |
H A D | extra_state.cpp | 60 ExtraState* get_extra_state(PyCodeObject* code) { in get_extra_state() 73 void set_extra_state(PyCodeObject* code, ExtraState* extra_state) { in set_extra_state() 79 ExtraState* init_and_set_extra_state(PyCodeObject* code) { in init_and_set_extra_state() 178 PyCodeObject* code = (PyCodeObject*)code_obj.ptr(); in _debug_get_cache_entry_list()
|
H A D | eval_frame.c | 298 PyCodeObject* code, in eval_custom_code_impl() 485 PyCodeObject* code, in eval_custom_code() 631 PyCodeObject* cached_code = (PyCodeObject*)maybe_cached_code; in _custom_eval_frame() 655 PyCodeObject* cached_code = (PyCodeObject*)maybe_cached_code; in _custom_eval_frame() 806 set_extra_state((PyCodeObject*)code, NULL); in reset_code() 828 set_extra_state((PyCodeObject*)obj, SKIP_CODE); in skip_code()
|
H A D | extra_state.h | 76 ExtraState* get_extra_state(PyCodeObject* code); 108 void set_extra_state(PyCodeObject* code, ExtraState* extra_state); 120 ExtraState* init_and_set_extra_state(PyCodeObject* code);
|
H A D | cpython_defs.c | 73 PyCodeObject *co = NULL; in THP_PyFrame_FastToLocalsWithError() 87 PyCodeObject *co = F_CODE(frame); in THP_PyFrame_FastToLocalsWithError() 180 _PyFunction_CopyWithNewCode(PyFunctionObject *o, PyCodeObject* code) in _PyFunction_CopyWithNewCode() 213 THP_PyFrame_New_NoTrack(const PyCodeObject *code) in THP_PyFrame_New_NoTrack() 303 PyCodeObject *code = F_CODE(frame); in THP_take_ownership()
|
/aosp_15_r20/external/python/cpython3/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()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/profiler/internal/ |
H A D | python_hooks.cc | 288 PyCodeObject* f_code = frame->f_code; in ProfileFast() 291 PyCodeObject* f_code = PyFrame_GetCode(frame); in ProfileFast() 306 PyCodeObject* f_code = frame->f_code; in ProfileFast() 309 PyCodeObject* f_code = PyFrame_GetCode(frame); in ProfileFast()
|