/third_party/python/Objects/clinic/ |
H A D | codeobject.c.h | 164 " co_cellvars=None, co_filename=None, co_name=None,\n" 181 PyObject *co_name, PyObject *co_qualname, 189 static const char * const _keywords[] = {"co_argcount", "co_posonlyargcount", "co_kwonlyargcount", "co_nlocals", "co_stacksize", "co_flags", "co_firstlineno", "co_code", "co_consts", "co_names", "co_varnames", "co_freevars", "co_cellvars", "co_filename", "co_name", "co_qualname", "co_linetable", "co_exceptiontable", NULL}; in code_replace() 207 PyObject *co_name = self->co_name; in code_replace() local 357 _PyArg_BadArgument("replace", "argument 'co_name'", "str", args[14]); in code_replace() 363 co_name = args[14]; in code_replace() 397 return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_qualname, co_linetable, co_exceptiontable); in code_replace()
|
/third_party/jinja2/ |
H A D | debug.py | 114 function = tb.tb_frame.f_code.co_name 122 code = code.replace(co_name=location)
|
/third_party/python/Lib/ |
H A D | bdb.py | 564 if frame.f_code.co_name: 565 s += frame.f_code.co_name 796 if frame.f_code.co_name != b.funcname: 866 name = frame.f_code.co_name 871 name = frame.f_code.co_name
|
H A D | profile.py | 269 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name) 353 self.co_name = name 357 return repr((self.co_filename, self.co_line, self.co_name))
|
H A D | cProfile.py | 127 return (code.co_filename, code.co_firstlineno, code.co_name)
|
H A D | trace.py | 476 funcname = code.co_name 547 % (modulename, code.co_name)))
|
/third_party/python/Lib/test/ |
H A D | test_code.py | 155 yield "<code object %s>" % elt.co_name 179 self.assertEqual(co.co_name, "funcname") 235 co.co_name, 255 # different co_name, co_varnames, co_consts 277 ("co_name", "newname"), 312 co.co_name, 332 newcode = code.replace(co_name="func") # Should not raise SystemError
|
H A D | test_bdb.py | 6 ([event, [lineno[, co_name[, eargs]]]]), (set_type, [sargs]) 29 co_name: 119 funcname = code.co_name 308 """Check the line number and function co_name.""" 314 self.check_equal(self.expect[2], self.frame.f_code.co_name, 335 co_name = self.frame.f_code.co_name 336 state = "('%s', %d, '%s'" % (self.event, lineno, co_name)
|
H A D | test_dtrace.py | 141 if isinstance(c, types.CodeType) and c.co_name == funcname:
|
H A D | test_generators.py | 514 name = frame.f_code.co_name 580 self.assertEqual(gen_b.gi_yieldfrom.gi_code.co_name, 'a')
|
/third_party/python/Python/ |
H A D | traceback.c | 947 last_name == NULL || code->co_name != last_name) { in tb_printinternal() 955 last_name = code->co_name; in tb_printinternal() 961 tb->tb_frame, code->co_name, indent, margin) < 0) { in tb_printinternal() 1209 if (code->co_name != NULL in dump_frame() 1210 && PyUnicode_Check(code->co_name)) { in dump_frame() 1211 _Py_DumpASCII(fd, code->co_name); in dump_frame()
|
/third_party/python/Objects/ |
H A D | codeobject.c | 299 co->co_name = con->name; in init_code() 1630 Py_XDECREF(co->co_name); in code_dealloc() 1658 co->co_name, co, co->co_filename, lineno); in code_repr() 1662 co->co_name, co, lineno); in code_repr() 1683 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare() 1763 h0 = PyObject_Hash(co->co_name); in code_hash() 1799 {"co_name", T_OBJECT, OFF(co_name), READONLY}, 1895 co_name 1904 code_replace_impl(PyCodeObject *self, int co_argcount, int co_posonlyargcount, int co_kwonlyargcount, int co_nlocals, int co_stacksize, int co_flags, int co_firstlineno, PyBytesObject *co_code, PyObject *co_consts, PyObject *co_names, PyObject *co_varnames, PyObject *co_freevars, PyObject *co_cellvars, PyObject *co_filename, PyObject *co_name, PyObject *co_qualname, PyBytesObject *co_linetable, PyBytesObject *co_exceptiontable) code_replace_impl() argument [all...] |
H A D | frameobject.c | 959 f, code->co_filename, lineno, code->co_name); in frame_repr() 1049 .fc_name = code->co_name, in PyFrame_New() 1050 .fc_qualname = code->co_name, in PyFrame_New()
|
H A D | funcobject.c | 60 PyObject *name = code_obj->co_name; in PyFunction_NewWithQualName() 646 code->co_name, code->co_nfreevars, nclosure); in func_new_impl()
|
/third_party/python/Lib/asyncio/ |
H A D | base_tasks.py | 74 name = co.co_name
|
/third_party/python/Include/cpython/ |
H A D | code.h | 41 * - co_name \ 88 PyObject *co_name; /* unicode (name, for reference) */ \
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | debug.py | 111 function = tb.tb_frame.f_code.co_name
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | debug.py | 111 function = tb.tb_frame.f_code.co_name
|
/third_party/python/Lib/idlelib/ |
H A D | stackviewer.py | 74 funcname = code.co_name
|
H A D | debugger.py | 53 if code.co_name != "?": 54 message = f"{message}: {code.co_name}()" 401 funcname = code.co_name
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_pep492.py | 173 self.assertEqual(f[0].f_code.co_name, 'foo')
|
/third_party/python/Tools/scripts/ |
H A D | deepfreeze.py | 245 co_name = self.generate(name + "_name", code.co_name) 284 self.write(f".co_name = {co_name},")
|
H A D | umarshal.py | 288 retval.co_name = self.r_object()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | debug.py | 263 function = tb.tb_frame.f_code.co_name
|
/third_party/python/Tools/gdb/ |
H A D | libpython.py | 1019 self.co_name = self.co.pyop_field('co_name') 1175 self.co_name.proxyval(visited))) 1201 self.co_name.proxyval(visited))) 2131 sys.stdout.write('Locals for %s\n' % (pyop_frame.co_name.proxyval(set())))
|