/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 161 PyObject *co_varnames, PyObject *co_freevars, 183 PyObject *co_varnames = self->co_varnames; in code_replace() local 295 co_varnames = args[10]; in code_replace() 352 … co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, c… in code_replace()
|
/third_party/python/Lib/lib2to3/tests/data/ |
D | py2_test_grammar.py | 157 self.assertEquals(f2.func_code.co_varnames, ('one_argument',)) 158 self.assertEquals(f3.func_code.co_varnames, ('two', 'arguments')) 160 self.assertEquals(f4.func_code.co_varnames, 163 self.assertEquals(f5.func_code.co_varnames, 166 self.assertEquals(f4.func_code.co_varnames, 168 self.assertEquals(f5.func_code.co_varnames, 204 self.assertEquals(v3.func_code.co_varnames, ('a', '(b, c)', 'rest', 'b', 'c')) 206 self.assertEquals(v3.func_code.co_varnames, ('a', '.1', 'rest', 'b', 'c'))
|
D | py3_test_grammar.py | 192 self.assertEquals(f2.__code__.co_varnames, ('one_argument',)) 193 self.assertEquals(f3.__code__.co_varnames, ('two', 'arguments'))
|
/third_party/python/Lib/ |
D | dis.py | 173 if co.co_varnames: 175 for i_n in enumerate(co.co_varnames): 279 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 372 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names, 489 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 517 _disassemble_bytes(co.co_code, varnames=co.co_varnames,
|
D | inspect.py | 1200 names = co.co_varnames 1210 varargs = co.co_varnames[nargs] 1214 varkw = co.co_varnames[nargs] 2298 arg_names = func_code.co_varnames
|
D | pdb.py | 1147 name = co.co_varnames[i]
|
D | typing.py | 1734 arg_names = code.co_varnames
|
/third_party/python/Objects/ |
D | codeobject.c | 250 co->co_varnames = varnames; in PyCode_NewWithPosOnlyArgs() 393 {"co_varnames", T_OBJECT, OFF(co_varnames), READONLY}, 660 Py_XDECREF(co->co_varnames); in code_dealloc() 728 PyObject *co_varnames, PyObject *co_freevars, in code_replace_impl() argument 760 co_varnames, co_freevars, co_cellvars, co_filename, co_name, in code_replace_impl() 963 eq = PyObject_RichCompareBool(co->co_varnames, cp->co_varnames, Py_EQ); in code_richcompare() 1001 h4 = PyObject_Hash(co->co_varnames); in code_hash()
|
D | frameobject.c | 1033 map = co->co_varnames; in PyFrame_FastToLocalsWithError() 1098 map = co->co_varnames; in PyFrame_LocalsToFast() 1109 dict_to_map(co->co_varnames, j, locals, fast, 0, clear); in PyFrame_LocalsToFast()
|
/third_party/python/Python/ |
D | suggestions.c | 223 assert(code != NULL && code->co_varnames != NULL); in offer_suggestions_for_name_error() 224 PyObject *dir = PySequence_List(code->co_varnames); in offer_suggestions_for_name_error()
|
D | ceval.c | 1863 PyTuple_GetItem(co->co_varnames, oparg)); in _PyEval_EvalFrameDefault() 3053 PyTuple_GetItem(co->co_varnames, oparg) in _PyEval_EvalFrameDefault() 4642 PyObject *raw = PyTuple_GET_ITEM(co->co_varnames, i); in missing_arguments() 4723 PyObject* posonly_name = PyTuple_GET_ITEM(co->co_varnames, k); in positional_only_passed_as_keyword() 4841 PyObject **co_varnames; in _PyEval_MakeFrameVector() local 4855 co_varnames = ((PyTupleObject *)(co->co_varnames))->ob_item; in _PyEval_MakeFrameVector() 4857 PyObject *varname = co_varnames[j]; in _PyEval_MakeFrameVector() 4865 PyObject *varname = co_varnames[j]; in _PyEval_MakeFrameVector() 4953 PyObject *varname = PyTuple_GET_ITEM(co->co_varnames, i); in _PyEval_MakeFrameVector()
|
D | marshal.c | 521 w_object(co->co_varnames, p); in w_complex_object()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | debug.py | 274 code.co_names, code.co_varnames, filename, 281 code.co_names, code.co_varnames, filename,
|
/third_party/python/Lib/test/ |
D | test_code.py | 225 co.co_varnames, 256 ("co_varnames", code2.co_varnames),
|
D | test_compile.py | 421 self.assertIn("_A__mangled", A.f.__code__.co_varnames) 422 self.assertIn("__not_mangled__", A.f.__code__.co_varnames) 423 self.assertIn("_A__mangled_mod", A.f.__code__.co_varnames) 424 self.assertIn("__package__", A.f.__code__.co_varnames)
|
D | test_grammar.py | 571 self.assertEqual(f2.__code__.co_varnames, ('one_argument',)) 572 self.assertEqual(f3.__code__.co_varnames, ('two', 'arguments'))
|
/third_party/python/Include/cpython/ |
D | code.h | 30 PyObject *co_varnames; /* tuple of strings (local variable names) */ member
|
/third_party/mindspore/mindspore/nn/probability/transforms/ |
D | transform_bnn.py | 230 params = optimizer.__init__.__code__.co_varnames
|
/third_party/python/Misc/ |
D | gdbinit | 42 set $_names = f->f_code->co_varnames
|
/third_party/python/Tools/gdb/ |
D | libpython.py | 872 self.co_varnames = PyTupleObjectPtr.from_pyobject_ptr(self.co.field('co_varnames')) 886 pyop_name = PyObjectPtr.from_pyobject_ptr(self.co_varnames[i])
|
/third_party/python/Doc/library/ |
D | dis.rst | 1053 Pushes a reference to the local ``co_varnames[var_num]`` onto the stack. 1058 Stores TOS into the local ``co_varnames[var_num]``. 1063 Deletes local ``co_varnames[var_num]``.
|
D | inspect.rst | 198 | | co_varnames | tuple of names of |
|
/third_party/mindspore/mindspore/nn/ |
D | cell.py | 650 self._construct_inputs_names = fn.__code__.co_varnames
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 970 single: co_varnames (code object attribute) 981 function (including arguments); :attr:`co_varnames` is a tuple containing
|