/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_funcattrs.py | 60 test.func_code = self.b.func_code 117 self.assertEqual(type(func.func_code), types.CodeType) 120 d.func_code = c.func_code 121 self.assertEqual(c.func_code, d.func_code) 125 b.func_code = c.func_code 129 self.fail("func_code with different numbers of free vars should [all...] |
test_compile.py | 299 for variable in self.test_32_63_bit_values.func_code.co_consts: 387 self.assertNotEqual(id(f1.func_code), id(f2.func_code)) 477 self.assertIn("_A__mangled", A.f.func_code.co_varnames) 478 self.assertIn("__not_mangled__", A.f.func_code.co_varnames) 479 self.assertIn("_A__mangled_mod", A.f.func_code.co_varnames) 480 self.assertIn("__package__", A.f.func_code.co_varnames)
|
test_py3kwarn.py | 134 self.assertWarning(f.func_code < g.func_code, w, expected) 136 self.assertWarning(f.func_code <= g.func_code, w, expected) 138 self.assertWarning(f.func_code >= g.func_code, w, expected) 140 self.assertWarning(f.func_code > g.func_code, w, expected)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_funcattrs.py | 60 test.func_code = self.b.func_code 117 self.assertEqual(type(func.func_code), types.CodeType) 120 d.func_code = c.func_code 121 self.assertEqual(c.func_code, d.func_code) 125 b.func_code = c.func_code 129 self.fail("func_code with different numbers of free vars should [all...] |
test_compile.py | 299 for variable in self.test_32_63_bit_values.func_code.co_consts: 387 self.assertNotEqual(id(f1.func_code), id(f2.func_code)) 477 self.assertIn("_A__mangled", A.f.func_code.co_varnames) 478 self.assertIn("__not_mangled__", A.f.func_code.co_varnames) 479 self.assertIn("_A__mangled_mod", A.f.func_code.co_varnames) 480 self.assertIn("__package__", A.f.func_code.co_varnames)
|
test_py3kwarn.py | 134 self.assertWarning(f.func_code < g.func_code, w, expected) 136 self.assertWarning(f.func_code <= g.func_code, w, expected) 138 self.assertWarning(f.func_code >= g.func_code, w, expected) 140 self.assertWarning(f.func_code > g.func_code, w, expected)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
CallTips.py | 155 argcount = fob.func_code.co_argcount 156 real_args = fob.func_code.co_varnames[arg_offset:argcount] 161 if fob.func_code.co_flags & 0x4: 163 if fob.func_code.co_flags & 0x8:
|
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
CallTips.py | 155 argcount = fob.func_code.co_argcount 156 real_args = fob.func_code.co_varnames[arg_offset:argcount] 161 if fob.func_code.co_flags & 0x4: 163 if fob.func_code.co_flags & 0x8:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
CallTips.py | 155 argcount = fob.func_code.co_argcount 156 real_args = fob.func_code.co_varnames[arg_offset:argcount] 161 if fob.func_code.co_flags & 0x4: 163 if fob.func_code.co_flags & 0x8:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
CallTips.py | 155 argcount = fob.func_code.co_argcount 156 real_args = fob.func_code.co_varnames[arg_offset:argcount] 161 if fob.func_code.co_flags & 0x4: 163 if fob.func_code.co_flags & 0x8:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_compile.py | 271 for variable in self.test_32_63_bit_values.func_code.co_consts:
359 self.assertNotEqual(id(f1.func_code), id(f2.func_code))
449 self.assertIn("_A__mangled", A.f.func_code.co_varnames)
450 self.assertIn("__not_mangled__", A.f.func_code.co_varnames)
451 self.assertIn("_A__mangled_mod", A.f.func_code.co_varnames)
452 self.assertIn("__package__", A.f.func_code.co_varnames)
|
test_py3kwarn.py | 134 self.assertWarning(f.func_code < g.func_code, w, expected)
136 self.assertWarning(f.func_code <= g.func_code, w, expected)
138 self.assertWarning(f.func_code >= g.func_code, w, expected)
140 self.assertWarning(f.func_code > g.func_code, w, expected)
|
test_grammar.py | 153 self.assertEqual(f2.func_code.co_varnames, ('one_argument',))
154 self.assertEqual(f3.func_code.co_varnames, ('two', 'arguments'))
156 self.assertEqual(f4.func_code.co_varnames,
159 self.assertEqual(f5.func_code.co_varnames,
162 self.assertEqual(f4.func_code.co_varnames,
164 self.assertEqual(f5.func_code.co_varnames,
201 self.assertEqual(v3.func_code.co_varnames, ('a', '(b, c)', 'rest', 'b', 'c'))
203 self.assertEqual(v3.func_code.co_varnames, ('a', '.1', 'rest', 'b', 'c'))
[all...] |
test_hotshot.py | 92 f_lineno = f.func_code.co_firstlineno
93 g_lineno = g.func_code.co_firstlineno
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_compile.py | 299 for variable in self.test_32_63_bit_values.func_code.co_consts: 387 self.assertNotEqual(id(f1.func_code), id(f2.func_code)) 477 self.assertIn("_A__mangled", A.f.func_code.co_varnames) 478 self.assertIn("__not_mangled__", A.f.func_code.co_varnames) 479 self.assertIn("_A__mangled_mod", A.f.func_code.co_varnames) 480 self.assertIn("__package__", A.f.func_code.co_varnames)
|
test_py3kwarn.py | 134 self.assertWarning(f.func_code < g.func_code, w, expected) 136 self.assertWarning(f.func_code <= g.func_code, w, expected) 138 self.assertWarning(f.func_code >= g.func_code, w, expected) 140 self.assertWarning(f.func_code > g.func_code, w, expected)
|
test_grammar.py | 153 self.assertEqual(f2.func_code.co_varnames, ('one_argument',)) 154 self.assertEqual(f3.func_code.co_varnames, ('two', 'arguments')) 156 self.assertEqual(f4.func_code.co_varnames, 159 self.assertEqual(f5.func_code.co_varnames, 162 self.assertEqual(f4.func_code.co_varnames, 164 self.assertEqual(f5.func_code.co_varnames, 201 self.assertEqual(v3.func_code.co_varnames, ('a', '(b, c)', 'rest', 'b', 'c')) 203 self.assertEqual(v3.func_code.co_varnames, ('a', '.1', 'rest', 'b', 'c'))
|
test_hotshot.py | 92 f_lineno = f.func_code.co_firstlineno 93 g_lineno = g.func_code.co_firstlineno
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_compile.py | 299 for variable in self.test_32_63_bit_values.func_code.co_consts: 387 self.assertNotEqual(id(f1.func_code), id(f2.func_code)) 477 self.assertIn("_A__mangled", A.f.func_code.co_varnames) 478 self.assertIn("__not_mangled__", A.f.func_code.co_varnames) 479 self.assertIn("_A__mangled_mod", A.f.func_code.co_varnames) 480 self.assertIn("__package__", A.f.func_code.co_varnames)
|
test_py3kwarn.py | 134 self.assertWarning(f.func_code < g.func_code, w, expected) 136 self.assertWarning(f.func_code <= g.func_code, w, expected) 138 self.assertWarning(f.func_code >= g.func_code, w, expected) 140 self.assertWarning(f.func_code > g.func_code, w, expected)
|
test_grammar.py | 153 self.assertEqual(f2.func_code.co_varnames, ('one_argument',)) 154 self.assertEqual(f3.func_code.co_varnames, ('two', 'arguments')) 156 self.assertEqual(f4.func_code.co_varnames, 159 self.assertEqual(f5.func_code.co_varnames, 162 self.assertEqual(f4.func_code.co_varnames, 164 self.assertEqual(f5.func_code.co_varnames, 201 self.assertEqual(v3.func_code.co_varnames, ('a', '(b, c)', 'rest', 'b', 'c')) 203 self.assertEqual(v3.func_code.co_varnames, ('a', '.1', 'rest', 'b', 'c'))
|
/external/libmojo/third_party/ply/ |
lex.py | 51 def func_code(f): function 52 return f.func_code 54 def func_code(f): function 360 func_code(func).co_filename, func_code(func).co_firstlineno, 682 line = func_code(t).co_firstlineno 683 file = func_code(t).co_filename 709 f.sort(lambda x,y: cmp(func_code(x[1]).co_firstlineno,func_code(y[1]).co_firstlineno)) 712 f.sort(key=lambda x: func_code(x[1]).co_firstlineno [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
funcobject.c | 21 op->func_code = code;
70 return ((PyFunctionObject *) op) -> func_code;
231 Py_INCREF(op->func_code);
232 return op->func_code;
243 /* Not legal to del f.func_code or to set it to anything
261 tmp = op->func_code;
263 op->func_code = value;
333 {"func_code", (getter)func_get_code, (setter)func_set_code},
454 Py_DECREF(op->func_code);
476 Py_VISIT(f->func_code);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
funcobject.c | 21 op->func_code = code;
70 return ((PyFunctionObject *) op) -> func_code;
231 Py_INCREF(op->func_code);
232 return op->func_code;
243 /* Not legal to del f.func_code or to set it to anything
261 tmp = op->func_code;
263 op->func_code = value;
333 {"func_code", (getter)func_get_code, (setter)func_set_code},
454 Py_DECREF(op->func_code);
476 Py_VISIT(f->func_code);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/ |
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'))
|