Home
last modified time | relevance | path

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

1234

/third_party/libnl/lib/
Dcache_mngt.c47 if (!strcmp(ops->co_name, name)) in __nl_cache_ops_lookup()
255 if (!ops->co_name || !ops->co_obj_ops) in nl_cache_mngt_register()
262 if (__nl_cache_ops_lookup(ops->co_name)) { in nl_cache_mngt_register()
272 NL_DBG(1, "Registered cache operations %s\n", ops->co_name); in nl_cache_mngt_register()
309 NL_DBG(1, "Unregistered cache operations %s\n", ops->co_name); in nl_cache_mngt_unregister()
/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()
/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()
/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:
/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)
/third_party/libnl/include/netlink-private/
Dcache-api.h168 char * co_name; member
Dnetlink.h204 return cache->c_ops ? cache->c_ops->co_name : "unknown"; in nl_cache_name()
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dprimitive_py.cc223 py::object co_name = py::getattr(code_obj, "co_name"); in RunCellHookFunction() local
224 if (std::string(py::str(co_name)) == "staging_specialize") { in RunCellHookFunction()
253 py::object co_name = py::getattr(code_obj, "co_name"); in RunVariableHookFunction() local
254 if (std::string(py::str(co_name)) == "staging_specialize") { in RunVariableHookFunction()
/third_party/libnl/src/
Dnl-list-caches.c41 ops->co_name, ops->co_hdrsize, in print()
/third_party/python/Lib/asyncio/
Dbase_tasks.py67 name = co.co_name
/third_party/python/Include/cpython/
Dcode.h40 PyObject *co_name; /* unicode (name, for reference) */ member
/third_party/libnl/lib/route/
Droute.c183 .co_name = "route/route",
/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/libnl/lib/netfilter/
Dlog_msg.c177 .co_name = "netfilter/log_msg",
Dlog.c235 .co_name = "netfilter/log",
Dqueue.c235 .co_name = "netfilter/queue",
/third_party/jinja2/
Ddebug.py111 function = tb.tb_frame.f_code.co_name
/third_party/skia/third_party/externals/jinja2/
Ddebug.py111 function = tb.tb_frame.f_code.co_name
/third_party/libnl/lib/fib_lookup/
Dlookup.c330 .co_name = "fib_lookup/fib_lookup",

1234