Home
last modified time | relevance | path

Searched refs:co_name (Results 1 – 25 of 47) sorted by relevance

12

/third_party/python/Objects/clinic/
Dcodeobject.c.h163 PyObject *co_name, PyBytesObject *co_linetable);
187 PyObject *co_name = self->co_name; in code_replace() local
341 co_name = args[14]; in code_replace()
352 …e, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_linetable); in code_replace()
/third_party/python/Objects/
Dcodeobject.c259 co->co_name = name; in PyCode_NewWithPosOnlyArgs()
397 {"co_name", T_OBJECT, OFF(co_name), READONLY},
664 Py_XDECREF(co->co_name); in code_dealloc()
730 PyObject *co_name, PyBytesObject *co_linetable) in code_replace_impl() argument
751 co_code, co_filename, co_name, co_argcount, in code_replace_impl()
760 co_varnames, co_freevars, co_cellvars, co_filename, co_name, in code_replace_impl()
775 co->co_name, co, co->co_filename, lineno); in code_repr()
779 co->co_name, co, lineno); in code_repr()
930 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare()
993 h0 = PyObject_Hash(co->co_name); in code_hash()
Dframeobject.c729 f, code->co_filename, lineno, code->co_name); in frame_repr()
873 .fc_name = code->co_name, in PyFrame_New()
874 .fc_qualname = code->co_name, in PyFrame_New()
Dfuncobject.c22 PyObject *name = code_obj->co_name; in PyFunction_NewWithQualName()
583 code->co_name, nfree, nclosure); in func_new_impl()
/third_party/python/Python/
Dtraceback.c568 last_name == NULL || code->co_name != last_name) { in tb_printinternal()
574 last_name = code->co_name; in tb_printinternal()
580 code->co_name); in tb_printinternal()
799 if (code->co_name != NULL in dump_frame()
800 && PyUnicode_Check(code->co_name)) { in dump_frame()
801 _Py_DumpASCII(fd, code->co_name); in dump_frame()
Dceval.c1127 .fc_name = ((PyCodeObject *)co)->co_name, in PyEval_EvalCode()
1128 .fc_qualname = ((PyCodeObject *)co)->co_name, in PyEval_EvalCode()
5138 .fc_name = ((PyCodeObject *)_co)->co_name, in PyEval_EvalCodeEx()
5139 .fc_qualname = ((PyCodeObject *)_co)->co_name, in PyEval_EvalCodeEx()
6436 funcname = PyUnicode_AsUTF8(code->co_name); in dtrace_function_entry()
6451 funcname = PyUnicode_AsUTF8(code->co_name); in dtrace_function_return()
6462 const char *co_filename, *co_name; in maybe_dtrace_line() local
6478 co_name = PyUnicode_AsUTF8(frame->f_code->co_name); in maybe_dtrace_line()
6479 if (!co_name) in maybe_dtrace_line()
6480 co_name = "?"; in maybe_dtrace_line()
[all …]
/third_party/jinja2/
Ddebug.py114 function = tb.tb_frame.f_code.co_name
122 code = code.replace(co_name=location)
/third_party/python/Lib/
Dbdb.py564 if frame.f_code.co_name:
565 s += frame.f_code.co_name
793 if frame.f_code.co_name != b.funcname:
860 name = frame.f_code.co_name
865 name = frame.f_code.co_name
Dprofile.py268 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
352 self.co_name = name
356 return repr((self.co_filename, self.co_line, self.co_name))
DcProfile.py126 return (code.co_filename, code.co_firstlineno, code.co_name)
Dtrace.py475 funcname = code.co_name
546 % (modulename, code.co_name)))
Dpdb.py665 funcname = code.co_name
1331 self.message('Method %s' % code.co_name)
1339 self.message('Function %s' % code.co_name)
/third_party/python/Lib/test/
Dtest_code.py146 yield "<code object %s>" % elt.co_name
170 self.assertEqual(co.co_name, "funcname")
227 co.co_name,
Dtest_bdb.py118 funcname = code.co_name
313 self.check_equal(self.expect[2], self.frame.f_code.co_name,
334 co_name = self.frame.f_code.co_name
335 state = "('%s', %d, '%s'" % (self.event, lineno, co_name)
Dtest_dtrace.py136 if isinstance(c, types.CodeType) and c.co_name == funcname:
Dtest_generators.py457 name = frame.f_code.co_name
523 self.assertEqual(gen_b.gi_yieldfrom.gi_code.co_name, 'a')
Dtest_sys_setprofile.py386 return code.co_firstlineno, code.co_name
/third_party/python/Lib/asyncio/
Dbase_tasks.py67 name = co.co_name
/third_party/python/Lib/idlelib/
Ddebugger.py53 if code.co_name != "?":
54 message = "%s: %s()" % (message, code.co_name)
400 funcname = code.co_name
Dstackviewer.py74 funcname = code.co_name
/third_party/python/Include/cpython/
Dcode.h40 PyObject *co_name; /* unicode (name, for reference) */ member
/third_party/skia/third_party/externals/jinja2/
Ddebug.py111 function = tb.tb_frame.f_code.co_name
/third_party/node/deps/v8/third_party/jinja2/
Ddebug.py111 function = tb.tb_frame.f_code.co_name
/third_party/python/Lib/test/test_asyncio/
Dtest_pep492.py187 self.assertEqual(f[0].f_code.co_name, 'foo')
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py263 function = tb.tb_frame.f_code.co_name

12