/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dis.py | 21 """%(_f.func_code.co_firstlineno + 1, 22 _f.func_code.co_firstlineno + 2) 45 """%(bug708901.func_code.co_firstlineno + 1, 46 bug708901.func_code.co_firstlineno + 2, 47 bug708901.func_code.co_firstlineno + 3) 75 """%(bug1333982.func_code.co_firstlineno + 1, 76 bug1333982.func_code.co_firstlineno + 2, 77 bug1333982.func_code.co_firstlineno + 3)
|
test_new.py | 91 new.function(f.func_code, {}, "blah") 92 g2 = new.function(g.func_code, {}, "blah", (2,), g.func_closure) 94 g3 = new.function(g.func_code, {}, "blah", None, g.func_closure) 97 self.assertRaises(exc, new.function, func.func_code, {}, "", None, closure) 110 c = f.func_code
|
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)
|
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
|
test_sys_settrace.py | 272 self.compare_events(func.func_code.co_firstlineno, 282 self.compare_events(func.func_code.co_firstlineno, 441 frame.f_lineno == f.func_code.co_firstlineno + 2): 472 if not self.done and frame.f_code == self.function.func_code: 782 func_code = code variable in class:.test_jump_to_firstlineno.fake_function
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dis.py | 21 """%(_f.func_code.co_firstlineno + 1, 22 _f.func_code.co_firstlineno + 2) 45 """%(bug708901.func_code.co_firstlineno + 1, 46 bug708901.func_code.co_firstlineno + 2, 47 bug708901.func_code.co_firstlineno + 3) 75 """%(bug1333982.func_code.co_firstlineno + 1, 76 bug1333982.func_code.co_firstlineno + 2, 77 bug1333982.func_code.co_firstlineno + 3)
|
test_new.py | 91 new.function(f.func_code, {}, "blah") 92 g2 = new.function(g.func_code, {}, "blah", (2,), g.func_closure) 94 g3 = new.function(g.func_code, {}, "blah", None, g.func_closure) 97 self.assertRaises(exc, new.function, func.func_code, {}, "", None, closure) 110 c = f.func_code
|
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)
|
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
|
test_sys_settrace.py | 272 self.compare_events(func.func_code.co_firstlineno, 282 self.compare_events(func.func_code.co_firstlineno, 441 frame.f_lineno == f.func_code.co_firstlineno + 2): 472 if not self.done and frame.f_code == self.function.func_code: 782 func_code = code variable in class:.test_jump_to_firstlineno.fake_function
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
funcobject.h | 13 * They reference a code object in their func_code attribute, which is a 23 PyObject *func_code; /* A code object */ member in struct:__anon83979 34 * func_closure contains the bindings for func_code->co_freevars, so 35 * PyTuple_Size(func_closure) == PyCode_GetNumFree(func_code) 36 * (func_closure may be NULL if PyCode_GetNumFree(func_code) == 0). 56 (((PyFunctionObject *)func) -> func_code)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
types.py | 45 CodeType = type(_f.func_code) 81 GetSetDescriptorType = type(FunctionType.func_code)
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
funcobject.h | 13 * They reference a code object in their func_code attribute, which is a 23 PyObject *func_code; /* A code object */ member in struct:__anon84102 34 * func_closure contains the bindings for func_code->co_freevars, so 35 * PyTuple_Size(func_closure) == PyCode_GetNumFree(func_code) 36 * (func_closure may be NULL if PyCode_GetNumFree(func_code) == 0). 56 (((PyFunctionObject *)func) -> func_code)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
types.py | 45 CodeType = type(_f.func_code) 81 GetSetDescriptorType = type(FunctionType.func_code)
|
/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:
|
/external/chromium_org/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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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'))
|