/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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)
74 """%(bug1333982.func_code.co_firstlineno + 1,
75 bug1333982.func_code.co_firstlineno + 2,
76 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 | 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)
|
/external/python/cpython2/Lib/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_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)
|
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)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
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:__anon5312 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)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
types.py | 45 CodeType = type(_f.func_code)
81 GetSetDescriptorType = type(FunctionType.func_code)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
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:__anon5619 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)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
types.py | 45 CodeType = type(_f.func_code)
81 GetSetDescriptorType = type(FunctionType.func_code)
|
/external/python/cpython2/Include/ |
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:__anon36504 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)
|
/external/python/cpython2/Lib/ |
types.py | 45 CodeType = type(_f.func_code) 81 GetSetDescriptorType = type(FunctionType.func_code)
|
/external/python/cpython3/Include/ |
funcobject.h | 23 PyObject *func_code; /* A code object, the __code__ attribute */ member in struct:__anon37070 37 * func_closure contains the bindings for func_code->co_freevars, so 38 * PyTuple_Size(func_closure) == PyCode_GetNumFree(func_code) 39 * (func_closure may be NULL if PyCode_GetNumFree(func_code) == 0). 78 (((PyFunctionObject *)func) -> func_code)
|
/external/libchrome/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...] |
/external/python/cpython2/Objects/ |
funcobject.c | 21 op->func_code = code; 70 return ((PyFunctionObject *) op) -> func_code; 229 Py_INCREF(op->func_code); 230 return op->func_code; 241 /* Not legal to del f.func_code or to set it to anything 259 tmp = op->func_code; 261 op->func_code = value; 331 {"func_code", (getter)func_get_code, (setter)func_set_code}, 451 Py_DECREF(op->func_code); 473 Py_VISIT(f->func_code); [all...] |
/external/python/cpython2/Lib/idlelib/ |
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/cpython3/Objects/ |
funcobject.c | 29 op->func_code = code; 83 return ((PyFunctionObject *) op) -> func_code; 247 Py_INCREF(op->func_code); 248 return op->func_code; 256 /* Not legal to del f.func_code or to set it to anything 275 Py_XSETREF(op->func_code, value); 532 Py_DECREF(op->func_code); 556 Py_VISIT(f->func_code);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_init.c | 652 void *func_code = LLVMGetPointerToGlobal(gallivm->engine, llvm_func); local 653 lp_disassemble(llvm_func, func_code); 665 void *func_code = LLVMGetPointerToGlobal(gallivm->engine, llvm_func); local 666 lp_profile(llvm_func, func_code);
|
/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'))
|