Home
last modified time | relevance | path

Searched refs:co_names (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython2/Objects/
Dcodeobject.c131 co->co_names = names; in PyCode_New()
207 {"co_names", T_OBJECT, OFF(co_names), READONLY},
349 Py_XDECREF(co->co_names); in code_dealloc()
401 cmp = PyObject_Compare(co->co_names, cp->co_names); in code_compare()
599 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare()
637 h3 = PyObject_Hash(co->co_names); in code_hash()
/external/python/cpython3/Lib/
Ddis.py159 if co.co_names:
161 for i_n in enumerate(co.co_names):
269 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names,
356 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names,
484 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names,
513 names=co.co_names, constants=co.co_consts,
Dtypes.py263 co.co_consts, co.co_names, co.co_varnames, co.co_filename,
Dmodulefinder.py342 names = co.co_names
564 co.co_code, tuple(consts), co.co_names,
/external/python/setuptools/setuptools/
Ddepends.py147 if symbol not in code.co_names:
151 name_idx = list(code.co_names).index(symbol)
/external/python/cpython3/Objects/
Dcodeobject.c203 co->co_names = names; in PyCode_New()
282 {"co_names", T_OBJECT, OFF(co_names), READONLY},
447 Py_XDECREF(co->co_names); in code_dealloc()
667 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare()
705 h3 = PyObject_Hash(co->co_names); in code_hash()
/external/python/cpython2/Doc/library/
Ddis.rst586 :attr:`co_names` of the code object. The compiler tries to use ``STORE_FAST``
592 Implements ``del name``, where *namei* is the index into :attr:`co_names`
611 :attr:`co_names`.
616 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`.
636 Pushes the value associated with ``co_names[namei]`` onto the stack.
665 Replaces TOS with ``getattr(TOS, co_names[namei])``.
676 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide
685 Loads the attribute ``co_names[namei]`` from the module found in TOS. The
732 Loads the global named ``co_names[namei]`` onto the stack.
Dinspect.rst196 | | co_names | tuple of names of local | |
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_rpc.py16 self.assertEqual(code.co_names, ('a', 'b', 'c'))
/external/python/cpython2/Include/
Dcode.h18 PyObject *co_names; /* list of strings (names used) */ member
/external/libchrome/third_party/jinja2/
Ddebug.py274 code.co_names, code.co_varnames, filename,
281 code.co_names, code.co_varnames, filename,
/external/python/cpython3/Include/
Dcode.h31 PyObject *co_names; /* list of strings (names used) */ member
/external/python/cpython3/Doc/library/
Ddis.rst750 :attr:`co_names` of the code object. The compiler tries to use
756 Implements ``del name``, where *namei* is the index into :attr:`co_names`
781 :attr:`co_names`.
786 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`.
806 Pushes the value associated with ``co_names[namei]`` onto the stack.
912 Replaces TOS with ``getattr(TOS, co_names[namei])``.
923 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide
932 Loads the attribute ``co_names[namei]`` from the module found in TOS. The
987 Loads the global named ``co_names[namei]`` onto the stack.
1119 Loads a method named ``co_names[namei]`` from TOS object. TOS is popped and
/external/python/cpython2/Lib/
Dmodulefinder.py364 names = co.co_names
381 names = co.co_names
610 co.co_flags, co.co_code, tuple(consts), co.co_names,
Ddis.py97 print '(' + co.co_names[oparg] + ')',
/external/python/cpython2/Lib/test/
Dtest_new.py117 names = c.co_names
Dtest_compiler.py92 self.assertIn('__doc__', c.co_names)
Dtest_import.py507 code.co_names, code.co_varnames, code.co_filename,
/external/python/cpython3/Lib/test/
Dtest_code.py161 c.co_stacksize, c.co_flags, c.co_code, c.co_consts, c.co_names,
/external/scapy/scapy/
Dautomaton.py474 for n in st.atmt_origfunc.__code__.co_names+st.atmt_origfunc.__code__.co_consts:
483 for n in f.__code__.co_names+f.__code__.co_consts:
493 for n in f.__code__.co_names+f.__code__.co_consts:
/external/python/setuptools/setuptools/command/
Dbdist_egg.py444 for name in code.co_names:
/external/python/cpython2/Python/
Dmarshal.c437 w_object(co->co_names, p); in w_object()
/external/python/cpython3/Lib/test/test_import/
D__init__.py611 code.co_names, code.co_varnames, code.co_filename,
/external/python/cpython3/Python/
Dmarshal.c558 w_object(co->co_names, p); in w_complex_object()
Dceval.c878 names = co->co_names; in _PyEval_EvalFrameDefault()
5041 PyObject *names = f->f_code->co_names; in unicode_concatenate()

12