Home
last modified time | relevance | path

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

12345

/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/cpython3/Objects/
Dcodeobject.c197 co->co_name = name; in PyCode_New()
270 {"co_name", T_OBJECT, OFF(co_name), READONLY},
435 Py_XDECREF(co->co_name); in code_dealloc()
468 co->co_name, co, co->co_filename, lineno); in code_repr()
472 co->co_name, co, lineno); in code_repr()
616 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare()
677 h0 = PyObject_Hash(co->co_name); in code_hash()
/external/python/cpython3/Python/
Dtraceback.c437 tb->tb_frame->f_code->co_name == last_name) { in tb_printinternal()
448 last_name = tb->tb_frame->f_code->co_name; in tb_printinternal()
455 tb->tb_frame->f_code->co_name); in tb_printinternal()
671 if (code != NULL && code->co_name != NULL in dump_frame()
672 && PyUnicode_Check(code->co_name)) { in dump_frame()
673 _Py_DumpASCII(fd, code->co_name); in dump_frame()
/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")
/external/python/cpython3/Lib/test/
Dtest_code.py116 yield "<code object %s>" % elt.co_name
135 self.assertEqual(co.co_name, "funcname")
/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))
/external/python/cpython3/Lib/
Dbdb.py395 if frame.f_code.co_name:
396 s += frame.f_code.co_name
580 if frame.f_code.co_name != b.funcname:
646 name = frame.f_code.co_name
651 name = frame.f_code.co_name
Dprofile.py270 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
354 self.co_name = name
358 return repr((self.co_filename, self.co_line, self.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
/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/python/cpython3/Include/
Dcode.h42 PyObject *co_name; /* unicode (name, for reference) */ member
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py58 name = co.co_name
/external/python/cpython3/Lib/idlelib/
Ddebugger.py53 if code.co_name != "?":
54 message = "%s: %s()" % (message, code.co_name)
400 funcname = code.co_name
/external/python/cpython2/Lib/idlelib/
DDebugger.py48 if code.co_name != "?":
49 message = "%s: %s()" % (message, code.co_name)
396 funcname = code.co_name

12345