Home
last modified time | relevance | path

Searched refs:co_name (Results 1 – 25 of 123) 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/cpython3/Objects/clinic/
Dcodeobject.c.h27 PyObject *co_name, PyBytesObject *co_lnotab);
51 PyObject *co_name = self->co_name; in code_replace() local
240 co_name = args[14]; in code_replace()
251 …code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_lnotab); in code_replace()
/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/linux-kselftest/tools/testing/selftests/bpf/progs/
Dpyperf.h67 void* co_name; // PyCodeObject.co_name member
98 bpf_probe_read_user(&frame->co_name, in get_frame_data()
99 sizeof(frame->co_name), in get_frame_data()
107 if (frame->co_name) in get_frame_data()
110 frame->co_name + in get_frame_data()
/external/python/cpython3/Objects/
Dcodeobject.c230 co->co_name = name; in PyCode_NewWithPosOnlyArgs()
368 {"co_name", T_OBJECT, OFF(co_name), READONLY},
558 Py_XDECREF(co->co_name); in code_dealloc()
624 PyObject *co_name, PyBytesObject *co_lnotab) in code_replace_impl() argument
645 co_code, co_filename, co_name, co_argcount, in code_replace_impl()
654 co_varnames, co_freevars, co_cellvars, co_filename, co_name, in code_replace_impl()
669 co->co_name, co, co->co_filename, lineno); in code_repr()
673 co->co_name, co, lineno); in code_repr()
824 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare()
887 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/Lib/test/
Dtest_code.py147 yield "<code object %s>" % elt.co_name
171 self.assertEqual(co.co_name, "funcname")
228 co.co_name,
458 code.co_filename, code.co_name, code.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/tensorflow/tensorflow/python/platform/
Dtf_logging.py70 return (code.co_filename, frame.f_lineno, code.co_name, sinfo)
81 return (code.co_filename, frame.f_lineno, code.co_name, sinfo)
88 return (code.co_filename, frame.f_lineno, code.co_name)
/external/python/cpython3/Python/
Dtraceback.c567 last_name == NULL || tb->tb_frame->f_code->co_name != last_name) { in tb_printinternal()
573 last_name = tb->tb_frame->f_code->co_name; in tb_printinternal()
581 tb->tb_frame->f_code->co_name); in tb_printinternal()
783 if (code != NULL && code->co_name != NULL in dump_frame()
784 && PyUnicode_Check(code->co_name)) { in dump_frame()
785 _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
/external/python/cpython3/Lib/
Dbdb.py547 if frame.f_code.co_name:
548 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))
/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/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/cpython3/Lib/asyncio/
Dbase_tasks.py60 name = co.co_name
/external/python/cpython2/Lib/hotshot/
Dstats.py83 self.co_name = self.__name__ = funcname

12345