Searched refs:co_name (Results 1 – 25 of 69) sorted by relevance
123
/external/python/cpython2/Tools/compiler/ |
D | stacktest.py | 13 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,
|
D | dumppyc.py | 22 if match is None or co.co_name == match:
|
/external/libnl/lib/ |
D | cache_mngt.c | 46 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/ |
D | codeobject.c | 141 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()
|
D | genobject.c | 291 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/ |
D | test_code.py | 93 yield "<code object %s>" % elt.co_name 112 self.assertEqual(co.co_name, "funcname")
|
D | test_exceptions.py | 171 self.assertEqual(co.co_name, "test_capi1") 183 self.assertEqual(co.co_name, "__init__") 186 self.assertEqual(co2.co_name, "test_capi2")
|
D | test_new.py | 120 name = c.co_name
|
/external/python/cpython2/Lib/ |
D | traceback.py | 65 name = co.co_name 99 name = co.co_name 304 name = co.co_name
|
D | bdb.py | 366 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
|
D | profile.py | 289 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))
|
D | cProfile.py | 159 return (code.co_filename, code.co_firstlineno, code.co_name)
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | testbase.py | 143 if code.co_name in ('nextToken', '<module>'): 146 if code.co_name.startswith('test'): 147 testName = code.co_name
|
/external/libnl/include/netlink-private/ |
D | cache-api.h | 168 char * co_name; member
|
D | netlink.h | 201 return cache->c_ops ? cache->c_ops->co_name : "unknown"; in nl_cache_name()
|
/external/python/cpython2/Include/ |
D | code.h | 24 PyObject *co_name; /* string (name, for reference) */ member
|
/external/autotest/client/samples/ |
D | control.soft_reboot | 21 this_functions_name = sys._getframe().f_code.co_name
|
/external/libnl/src/ |
D | nl-list-caches.c | 40 ops->co_name, ops->co_hdrsize, in print()
|
/external/python/cpython2/Lib/hotshot/ |
D | stats.py | 83 self.co_name = self.__name__ = funcname
|
/external/libnl/lib/route/ |
D | route.c | 181 .co_name = "route/route",
|
/external/python/cpython2/Lib/idlelib/ |
D | Debugger.py | 48 if code.co_name != "?": 49 message = "%s: %s()" % (message, code.co_name) 396 funcname = code.co_name
|
D | StackViewer.py | 72 funcname = code.co_name
|
/external/libnl/lib/netfilter/ |
D | log.c | 234 .co_name = "netfilter/log",
|
D | queue.c | 234 .co_name = "netfilter/queue",
|
D | log_msg.c | 188 .co_name = "netfilter/log_msg",
|
123