Home
last modified time | relevance | path

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

123

/external/python/cpython2/Tools/compiler/
Dstacktest.py13 if not (a.co_name == "?" or a.co_name.startswith('<lambda')):
14 assert a.co_name == b.co_name, (a, b)
16 print "stack mismatch %s: %d vs. %d" % (a.co_name,
Ddumppyc.py22 if match is None or co.co_name == match:
/external/libnl/lib/
Dcache_mngt.c46 if (!strcmp(ops->co_name, name)) in __nl_cache_ops_lookup()
254 if (!ops->co_name || !ops->co_obj_ops) in nl_cache_mngt_register()
258 if (__nl_cache_ops_lookup(ops->co_name)) { in nl_cache_mngt_register()
268 NL_DBG(1, "Registered cache operations %s\n", ops->co_name); in nl_cache_mngt_register()
305 NL_DBG(1, "Unregistered cache operations %s\n", ops->co_name); in nl_cache_mngt_unregister()
/external/python/cpython2/Objects/
Dcodeobject.c141 co->co_name = name; in PyCode_New()
212 {"co_name", T_OBJECT, OFF(co_name), READONLY},
354 Py_XDECREF(co->co_name); in code_dealloc()
375 if (co->co_name && PyString_Check(co->co_name)) in code_repr()
376 name = PyString_AS_STRING(co->co_name); in code_repr()
387 cmp = PyObject_Compare(co->co_name, cp->co_name); in code_compare()
573 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare()
632 h0 = PyObject_Hash(co->co_name); in code_hash()
Dgenobject.c291 code_name = PyString_AsString(((PyCodeObject *)gen->gi_code)->co_name); in gen_repr()
302 PyObject *name = ((PyCodeObject *)gen->gi_code)->co_name; in gen_get_name()
/external/python/cpython2/Lib/test/
Dtest_code.py93 yield "<code object %s>" % elt.co_name
112 self.assertEqual(co.co_name, "funcname")
Dtest_exceptions.py171 self.assertEqual(co.co_name, "test_capi1")
183 self.assertEqual(co.co_name, "__init__")
186 self.assertEqual(co2.co_name, "test_capi2")
Dtest_new.py120 name = c.co_name
/external/python/cpython2/Lib/
Dtraceback.py65 name = co.co_name
99 name = co.co_name
304 name = co.co_name
Dbdb.py366 if frame.f_code.co_name:
367 s = s + frame.f_code.co_name
545 if frame.f_code.co_name != b.funcname:
616 name = frame.f_code.co_name
621 name = frame.f_code.co_name
Dprofile.py289 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
373 self.co_name = name
377 return repr((self.co_filename, self.co_line, self.co_name))
DcProfile.py159 return (code.co_filename, code.co_firstlineno, code.co_name)
/external/antlr/antlr-3.4/runtime/Python/tests/
Dtestbase.py143 if code.co_name in ('nextToken', '<module>'):
146 if code.co_name.startswith('test'):
147 testName = code.co_name
/external/libnl/include/netlink-private/
Dcache-api.h168 char * co_name; member
Dnetlink.h201 return cache->c_ops ? cache->c_ops->co_name : "unknown"; in nl_cache_name()
/external/python/cpython2/Include/
Dcode.h24 PyObject *co_name; /* string (name, for reference) */ member
/external/autotest/client/samples/
Dcontrol.soft_reboot21 this_functions_name = sys._getframe().f_code.co_name
/external/libnl/src/
Dnl-list-caches.c40 ops->co_name, ops->co_hdrsize, in print()
/external/python/cpython2/Lib/hotshot/
Dstats.py83 self.co_name = self.__name__ = funcname
/external/libnl/lib/route/
Droute.c181 .co_name = "route/route",
/external/python/cpython2/Lib/idlelib/
DDebugger.py48 if code.co_name != "?":
49 message = "%s: %s()" % (message, code.co_name)
396 funcname = code.co_name
DStackViewer.py72 funcname = code.co_name
/external/libnl/lib/netfilter/
Dlog.c234 .co_name = "netfilter/log",
Dqueue.c234 .co_name = "netfilter/queue",
Dlog_msg.c188 .co_name = "netfilter/log_msg",

123