Home
last modified time | relevance | path

Searched refs:co_names (Results 1 - 13 of 13) sorted by relevance

/third_party/python/Lib/
H A Ddis.py208 if co.co_names:
210 for i_n in enumerate(co.co_names):
349 co.co_names, co.co_consts,
525 co.co_names, co.co_consts, linestarts, file=file,
662 names = co.co_names
684 names = co.co_names
717 co.co_names, co.co_consts,
751 names=co.co_names, co_consts=co.co_consts,
H A Dinspect.py499 co_names tuple of names other than arguments and function locals
1610 # Global and builtin references are named in co_names and resolved
1619 for name in code.co_names:
/third_party/python/Objects/clinic/
H A Dcodeobject.c.h163 " co_names=None, co_varnames=None, co_freevars=None,\n"
178 PyObject *co_consts, PyObject *co_names,
189 static const char * const _keywords[] = {"co_argcount", "co_posonlyargcount", "co_kwonlyargcount", "co_nlocals", "co_stacksize", "co_flags", "co_firstlineno", "co_code", "co_consts", "co_names", "co_varnames", "co_freevars", "co_cellvars", "co_filename", "co_name", "co_qualname", "co_linetable", "co_exceptiontable", NULL}; in code_replace()
202 PyObject *co_names = self->co_names; in code_replace() local
304 _PyArg_BadArgument("replace", "argument 'co_names'", "tuple", args[9]); in code_replace()
307 co_names = args[9]; in code_replace()
397 return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_qualname, co_linetable, co_exceptiontable); in code_replace()
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_rpc.py16 self.assertEqual(code.co_names, ('a', 'b', 'c'))
/third_party/node/tools/inspector_protocol/jinja2/
H A Ddebug.py274 code.co_names, code.co_varnames, filename,
281 code.co_names, code.co_varnames, filename,
/third_party/python/Objects/
H A Dcodeobject.c311 co->co_names = con->names; in init_code()
1626 Py_XDECREF(co->co_names); in code_dealloc()
1725 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare()
1767 h2 = PyObject_Hash(co->co_names); in code_hash()
1797 {"co_names", T_OBJECT, OFF(co_names), READONLY},
1890 co_names: object(subclass_of="&PyTuple_Type", c_default="self->co_names") = None
1908 PyObject *co_consts, PyObject *co_names, in code_replace_impl()
1904 code_replace_impl(PyCodeObject *self, int co_argcount, int co_posonlyargcount, int co_kwonlyargcount, int co_nlocals, int co_stacksize, int co_flags, int co_firstlineno, PyBytesObject *co_code, PyObject *co_consts, PyObject *co_names, PyObject *co_varnames, PyObject *co_freevars, PyObject *co_cellvars, PyObject *co_filename, PyObject *co_name, PyObject *co_qualname, PyBytesObject *co_linetable, PyBytesObject *co_exceptiontable) code_replace_impl() argument
[all...]
/third_party/python/Include/cpython/
H A Dcode.h50 * - co_names \
61 PyObject *co_names; /* list of strings (names used) */ \
/third_party/jinja2/
H A Ddebug.py132 code.co_names,
/third_party/python/Tools/scripts/
H A Ddeepfreeze.py243 co_names = self.generate(name + "_names", code.co_names)
266 self.write(f".co_names = {co_names},")
H A Dumarshal.py284 retval.co_names = self.r_object()
/third_party/python/Lib/test/
H A Dtest_code.py232 co.co_names,
272 ("co_names", ("myname",)),
309 co.co_names,
/third_party/python/Python/
H A Dmarshal.c566 w_object(co->co_names, p); in w_complex_object()
H A Dceval.c1699 names = co->co_names; \

Completed in 25 milliseconds