/external/python/cpython2/Lib/test/ |
D | 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)
|
D | 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 132 e.func_code = d.func_code
|
D | 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
|
D | test_py3kwarn.py | 135 self.assertWarning(f.func_code < g.func_code, w, expected) 137 self.assertWarning(f.func_code <= g.func_code, w, expected) 139 self.assertWarning(f.func_code >= g.func_code, w, expected) 141 self.assertWarning(f.func_code > g.func_code, w, expected)
|
D | test_compile.py | 324 for variable in self.test_32_63_bit_values.func_code.co_consts: 412 self.assertNotEqual(id(f1.func_code), id(f2.func_code)) 517 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)
|
D | test_grammar.py | 174 self.assertEqual(f2.func_code.co_varnames, ('one_argument',)) 175 self.assertEqual(f3.func_code.co_varnames, ('two', 'arguments')) 177 self.assertEqual(f4.func_code.co_varnames, 180 self.assertEqual(f5.func_code.co_varnames, 183 self.assertEqual(f4.func_code.co_varnames, 185 self.assertEqual(f5.func_code.co_varnames, 223 self.assertEqual(v3.func_code.co_varnames, ('a', '(b, c)', 'rest', 'b', 'c')) 225 self.assertEqual(v3.func_code.co_varnames, ('a', '.1', 'rest', 'b', 'c'))
|
D | test_hotshot.py | 92 f_lineno = f.func_code.co_firstlineno 93 g_lineno = g.func_code.co_firstlineno
|
D | test_sys_settrace.py | 285 self.compare_events(func.func_code.co_firstlineno, 295 self.compare_events(func.func_code.co_firstlineno, 463 frame.f_lineno == f.func_code.co_firstlineno + 2): 487 self.code = function.func_code 1029 func_code = code variable in JumpTestCase.test_jump_to_firstlineno.fake_function
|
D | test_scope.py | 571 self.assertRaises(TypeError, eval, g.func_code) 574 exec g.func_code in {}
|
D | test_univnewlines2k.py | 86 self.assertEqual(func.func_code.co_firstlineno, 3)
|
/external/libchrome/third_party/ply/ |
D | 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) 730 line = func_code(f).co_firstlineno 731 file = func_code(f).co_filename [all …]
|
D | yacc.py | 91 def func_code(f): function 92 return f.func_code 94 def func_code(f): function 2880 eline = func_code(self.error_func).co_firstlineno 2881 efile = func_code(self.error_func).co_filename 2884 if (func_code(self.error_func).co_argcount != 1+ismethod): 2964 line = func_code(item).co_firstlineno 2965 file = func_code(item).co_filename 2988 if func_code(func).co_argcount > reqargs: 2991 elif func_code(func).co_argcount < reqargs: [all …]
|
/external/python/cpython2/Objects/ |
D | funcobject.c | 21 op->func_code = code; in PyFunction_New() 70 return ((PyFunctionObject *) op) -> func_code; in PyFunction_GetCode() 229 Py_INCREF(op->func_code); in func_get_code() 230 return op->func_code; in func_get_code() 259 tmp = op->func_code; in func_set_code() 261 op->func_code = value; in func_set_code() 451 Py_DECREF(op->func_code); in func_dealloc() 473 Py_VISIT(f->func_code); in func_traverse()
|
/external/python/cpython2/Include/ |
D | funcobject.h | 23 PyObject *func_code; /* A code object */ member 56 (((PyFunctionObject *)func) -> func_code)
|
/external/python/cpython2/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'))
|
/external/python/cpython3/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'))
|
/external/python/cpython2/Lib/idlelib/ |
D | CallTips.py | 180 argcount = fob.func_code.co_argcount 181 real_args = fob.func_code.co_varnames[arg_offset:argcount] 187 if fob.func_code.co_flags & flag:
|
/external/python/cpython2/Lib/ |
D | types.py | 45 CodeType = type(_f.func_code) 81 GetSetDescriptorType = type(FunctionType.func_code)
|
D | inspect.py | 161 object.func_code.co_flags & CO_GENERATOR) 411 object = object.func_code 568 object = object.func_code 826 args, varargs, varkw = getargs(func.func_code)
|
/external/python/funcsigs/funcsigs/ |
D | __init__.py | 522 func_code = func.__code__ 523 pos_count = func_code.co_argcount 524 arg_names = func_code.co_varnames 526 keyword_only_count = getattr(func_code, 'co_kwonlyargcount', 0) 554 if func_code.co_flags & 0x04: 571 if func_code.co_flags & 0x08: 573 if func_code.co_flags & 0x04:
|
/external/python/cpython3/Objects/ |
D | funcobject.c | 29 op->func_code = code; in PyFunction_NewWithQualName() 83 return ((PyFunctionObject *) op) -> func_code; in PyFunction_GetCode() 247 Py_INCREF(op->func_code); in func_get_code() 248 return op->func_code; in func_get_code() 275 Py_XSETREF(op->func_code, value); in func_set_code() 532 Py_DECREF(op->func_code); in func_dealloc() 556 Py_VISIT(f->func_code); in func_traverse()
|
/external/python/cpython3/Include/ |
D | funcobject.h | 23 PyObject *func_code; /* A code object, the __code__ attribute */ member 78 (((PyFunctionObject *)func) -> func_code)
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_init.c | 652 void *func_code = LLVMGetPointerToGlobal(gallivm->engine, llvm_func); in gallivm_compile_module() local 653 lp_disassemble(llvm_func, func_code); in gallivm_compile_module() 665 void *func_code = LLVMGetPointerToGlobal(gallivm->engine, llvm_func); in gallivm_compile_module() local 666 lp_profile(llvm_func, func_code); in gallivm_compile_module()
|
/external/autotest/client/common_lib/ |
D | test.py | 673 return func.func_code.co_varnames[:func.func_code.co_argcount] 691 if func.func_code.co_flags & 0x04: 698 if func.func_code.co_flags & 0x08: 737 all_co_flags |= func.func_code.co_flags 738 all_varnames += func.func_code.co_varnames[:func.func_code.co_argcount]
|
/external/python/cpython2/Tools/framer/framer/ |
D | function.py | 102 code = func.func_code
|