| /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);
|
| D | frameobject.h | 9 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
|
| /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 …]
|
| /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,
|
| D | compile.h | 13 PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *); 32 PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
|
| D | eval.h | 10 PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *); 12 PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co,
|
| D | frameobject.h | 19 PyCodeObject *f_code; /* code segment */ 61 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
|
| /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 …]
|
| D | pycore_frame.h | 28 extern PyFrameObject* _PyFrame_New_NoTrack(PyCodeObject *code); 53 PyCodeObject *f_code; /* Strong reference */ 107 frame->f_code = (PyCodeObject *)Py_NewRef(func->func_code); in _PyFrame_InitializeSpecials()
|
| /external/tensorflow/tensorflow/compiler/xla/python/ |
| 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_;
|
| D | traceback.h | 68 const absl::InlinedVector<std::pair<PyCodeObject*, int>, 32>& raw_frames() in raw_frames() 85 absl::InlinedVector<std::pair<PyCodeObject*, int>, 32> frames_;
|
| D | pprof_profile_builder.cc | 38 int PprofProfileBuilder::FunctionId(PyCodeObject* code) { in FunctionId() 53 int PprofProfileBuilder::LocationId(PyCodeObject* code, int instruction) { in LocationId()
|
| /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 …]
|
| D | funcobject.c | 24 op->func_name = ((PyCodeObject *)code)->co_name; in PyFunction_New() 28 consts = ((PyCodeObject *)code)->co_consts; in PyFunction_New() 248 nfree = PyCode_GetNumFree((PyCodeObject *)value); in func_set_code() 365 PyCodeObject *code; in func_new() 524 (PyCodeObject *)PyFunction_GET_CODE(func), in function_call()
|
| /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)
|
| /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 …]
|
| /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()
|
| D | codeobject.c.h | 174 code_replace_impl(PyCodeObject *self, int co_argcount, 186 code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in code_replace() 415 code__varname_from_oparg_impl(PyCodeObject *self, int oparg); 418 code__varname_from_oparg(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in code__varname_from_oparg()
|
| /external/python/cpython3/Include/ |
| D | pytypedefs.h | 21 typedef struct PyCodeObject PyCodeObject; typedef
|
| D | pyframe.h | 15 PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);
|
| /external/python/cpython3/Python/ |
| D | frame.c | 91 PyCodeObject *code = frame->f_code; in take_ownership() 153 PyCodeObject *code = (PyCodeObject *)func->func_code; in _PyFrame_Push()
|
| /external/tensorflow/tensorflow/python/profiler/internal/ |
| 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()
|
| /external/tensorflow/tensorflow/python/util/ |
| D | stack_trace.h | 67 PyCodeObject* code_obj = frame->f_code; in Capture() 112 absl::InlinedVector<std::pair<PyCodeObject*, int>, kStackTraceInitialSize>
|
| /external/python/cpython2/Doc/c-api/ |
| D | code.rst | 16 .. c:type:: PyCodeObject 36 .. c:function:: PyCodeObject *PyCode_New(int argcount, int nlocals, int stacksize, int flags, PyObj…
|