| /external/python/cpython3/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 *,
|
| /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/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/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()
|
| D | traceback.cc | 118 for (const std::pair<PyCodeObject*, int>& frame : frames_) { in AsPythonTraceback() 190 return PyCode_Addr2Line(reinterpret_cast<PyCodeObject*>(code.ptr()), in BuildTracebackSubmodule()
|
| D | python_ref_manager.h | 72 void AddGarbage(absl::Span<std::pair<PyCodeObject*, int> const> garbage);
|
| /external/python/cpython3/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 …]
|
| /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… 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)
|
| /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()
|
| /external/python/cpython3/Include/ |
| D | code.h | 9 typedef struct PyCodeObject PyCodeObject; typedef
|
| D | pyframe.h | 17 PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);
|
| /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…
|
| /external/python/cpython3/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()
|
| /external/python/cpython3/Include/internal/ |
| D | pycore_code.h | 28 int _PyCode_InitOpcache(PyCodeObject *co);
|
| D | pycore_compile.h | 15 PyAPI_FUNC(PyCodeObject*) _PyAST_Compile(
|