Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/clinic/
Dcodeobject.c.h24 PyObject *co_consts, PyObject *co_names,
46 PyObject *co_names = self->co_names; in code_replace() local
184 co_names = args[9]; in code_replace()
251 …co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_… in code_replace()
/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.py169 if co.co_names:
171 for i_n in enumerate(co.co_names):
279 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names,
369 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names,
502 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names,
531 names=co.co_names, constants=co.co_consts,
Dmodulefinder.py398 names = 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.c240 co->co_names = names; in PyCode_NewWithPosOnlyArgs()
384 {"co_names", T_OBJECT, OFF(co_names), READONLY},
574 Py_XDECREF(co->co_names); in code_dealloc()
642 PyObject *co_consts, PyObject *co_names, in code_replace_impl() argument
674 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl()
876 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare()
914 h3 = PyObject_Hash(co->co_names); in code_hash()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_rpc.py16 self.assertEqual(code.co_names, ('a', 'b', 'c'))
/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/tensorflow/tensorflow/python/platform/
Dbenchmark.py63 func_code.co_names, func_code.co_varnames,
74 func_code.co_names, func_code.co_varnames,
82 func_code.co_names, func_code.co_varnames,
/external/python/cpython2/Include/
Dcode.h18 PyObject *co_names; /* list of strings (names used) */ member
/external/python/cpython3/Include/cpython/
Dcode.h29 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/Doc/library/
Ddis.rst759 :attr:`co_names` of the code object. The compiler tries to use
765 Implements ``del name``, where *namei* is the index into :attr:`co_names`
790 :attr:`co_names`.
795 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`.
815 Pushes the value associated with ``co_names[namei]`` onto the stack.
899 Replaces TOS with ``getattr(TOS, co_names[namei])``.
924 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide
933 Loads the attribute ``co_names[namei]`` from the module found in TOS. The
995 Loads the global named ``co_names[namei]`` onto the stack.
1117 Loads a method named ``co_names[namei]`` from the TOS object. TOS is popped.
/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.py224 co.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()
Dceval.c1021 names = co->co_names; in PyEval_EvalFrameEx()
5193 PyObject *names = f->f_code->co_names; in string_concatenate()
/external/python/cpython3/Python/
Dmarshal.c520 w_object(co->co_names, p); in w_complex_object()

12