Home
last modified time | relevance | path

Searched refs:co_name (Results 1 – 25 of 119) 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()
572 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare()
631 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.c214 co->co_name = name; in PyCode_New()
287 {"co_name", T_OBJECT, OFF(co_name), READONLY},
452 Py_XDECREF(co->co_name); in code_dealloc()
490 co->co_name, co, co->co_filename, lineno); in code_repr()
494 co->co_name, co, lineno); in code_repr()
638 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare()
699 h0 = PyObject_Hash(co->co_name); in code_hash()
/external/python/cpython2/Lib/test/
Dtest_code.py93 yield "<code object %s>" % elt.co_name
112 self.assertEqual(co.co_name, "funcname")
/external/python/cpython3/Python/
Dtraceback.c556 last_name == NULL || tb->tb_frame->f_code->co_name != last_name) { in tb_printinternal()
562 last_name = tb->tb_frame->f_code->co_name; in tb_printinternal()
570 tb->tb_frame->f_code->co_name); in tb_printinternal()
772 if (code != NULL && code->co_name != NULL in dump_frame()
773 && PyUnicode_Check(code->co_name)) { in dump_frame()
774 _Py_DumpASCII(fd, code->co_name); in dump_frame()
/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/test/
Dtest_code.py123 yield "<code object %s>" % elt.co_name
146 self.assertEqual(co.co_name, "funcname")
162 c.co_varnames, c.co_filename, c.co_name, c.co_firstlineno,
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)
/external/python/cpython3/Lib/
Dbdb.py545 if frame.f_code.co_name:
546 s += frame.f_code.co_name
775 if frame.f_code.co_name != b.funcname:
842 name = frame.f_code.co_name
847 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))
/external/antlr/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/antlr/runtime/Python3/tests/
Dtestbase.py130 if code.co_name in ('nextToken', '<module>'):
133 if code.co_name.startswith('test'):
134 testName = code.co_name
/external/tensorflow/tensorflow/python/platform/
Dtf_logging.py69 return (code.co_filename, frame.f_lineno, code.co_name, sinfo)
76 return (code.co_filename, frame.f_lineno, code.co_name)
/external/libnl/include/netlink-private/
Dcache-api.h168 char * co_name; member
/external/tensorflow/tensorflow/python/util/
Dtf_stack.py64 name = co.co_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/cpython3/Lib/asyncio/
Dbase_tasks.py58 name = co.co_name
/external/python/cpython2/Lib/hotshot/
Dstats.py83 self.co_name = self.__name__ = funcname

12345