Home
last modified time | relevance | path

Searched refs:co_varnames (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcompat.py130 names = co.co_varnames
135 varargs = co.co_varnames[nargs]
139 varkw = co.co_varnames[nargs]
/external/python/cpython2/Lib/lib2to3/tests/data/
Dpy2_test_grammar.py157 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'))
Dpy3_test_grammar.py168 self.assertEquals(f2.__code__.co_varnames, ('one_argument',))
169 self.assertEquals(f3.__code__.co_varnames, ('two', 'arguments'))
/external/python/cpython2/Objects/
Dcodeobject.c133 co->co_varnames = varnames; in PyCode_New()
208 {"co_varnames", T_OBJECT, OFF(co_varnames), READONLY},
350 Py_XDECREF(co->co_varnames); in code_dealloc()
403 cmp = PyObject_Compare(co->co_varnames, cp->co_varnames); in code_compare()
602 eq = PyObject_RichCompareBool(co->co_varnames, cp->co_varnames, Py_EQ); in code_richcompare()
640 h4 = PyObject_Hash(co->co_varnames); in code_hash()
Dframeobject.c887 map = co->co_varnames; in PyFrame_FastToLocals()
932 map = co->co_varnames; in PyFrame_LocalsToFast()
943 dict_to_map(co->co_varnames, j, locals, fast, 0, clear); in PyFrame_LocalsToFast()
/external/python/cpython2/Lib/test/
Dtest_grammar.py159 self.assertEqual(f2.func_code.co_varnames, ('one_argument',))
160 self.assertEqual(f3.func_code.co_varnames, ('two', 'arguments'))
162 self.assertEqual(f4.func_code.co_varnames,
165 self.assertEqual(f5.func_code.co_varnames,
168 self.assertEqual(f4.func_code.co_varnames,
170 self.assertEqual(f5.func_code.co_varnames,
207 self.assertEqual(v3.func_code.co_varnames, ('a', '(b, c)', 'rest', 'b', 'c'))
209 self.assertEqual(v3.func_code.co_varnames, ('a', '.1', 'rest', 'b', 'c'))
Dtest_compile.py517 self.assertIn("_A__mangled", A.f.func_code.co_varnames)
518 self.assertIn("__not_mangled__", A.f.func_code.co_varnames)
519 self.assertIn("_A__mangled_mod", A.f.func_code.co_varnames)
520 self.assertIn("__package__", A.f.func_code.co_varnames)
Dtest_new.py118 varnames = c.co_varnames
Dtest_import.py508 code.co_names, code.co_varnames, code.co_filename,
/external/python/cpython2/Include/
Dcode.h19 PyObject *co_varnames; /* tuple of strings (local variable names) */ member
/external/python/cpython2/Tools/framer/framer/
Dfunction.py103 args = code.co_varnames[:code.co_argcount]
/external/python/cpython2/Lib/idlelib/
DCallTips.py181 real_args = fob.func_code.co_varnames[arg_offset:argcount]
/external/python/cpython2/Lib/
Dinspect.py754 names = co.co_varnames
794 varargs = co.co_varnames[nargs]
798 varkw = co.co_varnames[nargs]
Ddis.py101 print '(' + co.co_varnames[oparg] + ')',
Dmodulefinder.py611 co.co_varnames, new_filename, co.co_name,
Dpdb.py745 name = co.co_varnames[i]
/external/libmojo/third_party/jinja2/
Ddebug.py250 code.co_names, code.co_varnames, filename,
/external/autotest/client/common_lib/
Dtest.py691 return func.func_code.co_varnames[:func.func_code.co_argcount]
756 all_varnames += func.func_code.co_varnames[:func.func_code.co_argcount]
/external/python/cpython2/Python/
Dceval.c1223 PyTuple_GetItem(co->co_varnames, oparg)); in PyEval_EvalFrameEx()
2399 PyTuple_GetItem(co->co_varnames, oparg) in PyEval_EvalFrameEx()
3417 PyObject **co_varnames; in PyEval_EvalCodeEx() local
3433 co_varnames = ((PyTupleObject *)(co->co_varnames))->ob_item; in PyEval_EvalCodeEx()
3435 PyObject *nm = co_varnames[j]; in PyEval_EvalCodeEx()
3441 PyObject *nm = co_varnames[j]; in PyEval_EvalCodeEx()
3545 PyTuple_GET_ITEM(co->co_varnames, j)); in PyEval_EvalCodeEx()
Dmarshal.c438 w_object(co->co_varnames, p); in w_object()
/external/python/cpython2/Lib/lib-tk/
Dturtle.py3789 items2 = list(fob.func_code.co_varnames[argOffset:counter])
3790 realArgs = fob.func_code.co_varnames[argOffset:counter]
3796 items1.append("*"+fob.func_code.co_varnames[counter])
3797 items2.append("*"+fob.func_code.co_varnames[counter])
3800 items1.append("**"+fob.func_code.co_varnames[counter])
3801 items2.append("**"+fob.func_code.co_varnames[counter])
/external/python/cpython2/Misc/
Dgdbinit39 set $_names = co->co_varnames
/external/python/cpython2/Doc/library/
Ddis.rst759 Pushes a reference to the local ``co_varnames[var_num]`` onto the stack.
764 Stores TOS into the local ``co_varnames[var_num]``.
769 Deletes local ``co_varnames[var_num]``.
Dinspect.rst204 | | co_varnames | tuple of names of | |
/external/python/cpython2/Tools/gdb/
Dlibpython.py842 self.co_varnames = PyTupleObjectPtr.from_pyobject_ptr(self.co.field('co_varnames'))
856 pyop_name = PyObjectPtr.from_pyobject_ptr(self.co_varnames[i])

12