Searched refs:func_code (Results 1 – 9 of 9) sorted by relevance
/third_party/python/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'))
|
/third_party/mbedtls/tests/scripts/ |
D | generate_test_code.py | 619 func_name, args, func_code, func_dispatch =\ 621 suite_functions += func_code 632 func_code = (suite_helpers + 634 return suite_dependencies, dispatch_code, func_code, func_info 995 suite_dependencies, dispatch_code, func_code, func_info = \ 997 snippets['functions_code'] = func_code
|
D | test_generate_test_code.py | 848 suite_dependencies, dispatch_code, func_code, func_info = \ 859 self.assertEqual(func_code, in_func_code) 891 suite_dependencies, dispatch_code, func_code, func_info = \ 953 self.assertEqual(func_code, expected_func_code)
|
/third_party/python/Objects/ |
D | funcobject.c | 70 op->func_code = (PyObject*)code_obj; in PyFunction_NewWithQualName() 108 return ((PyFunctionObject *) op) -> func_code; in PyFunction_GetCode() 306 Py_INCREF(op->func_code); in func_get_code() 307 return op->func_code; in func_get_code() 340 Py_XSETREF(op->func_code, value); in func_set_code() 623 Py_CLEAR(op->func_code); in func_clear() 659 Py_VISIT(f->func_code); in func_traverse()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_init.c | 711 void *func_code = LLVMGetPointerToGlobal(gallivm->engine, llvm_func); in gallivm_compile_module() local 712 lp_disassemble(llvm_func, func_code); in gallivm_compile_module() 724 void *func_code = LLVMGetPointerToGlobal(gallivm->engine, llvm_func); in gallivm_compile_module() local 725 lp_profile(llvm_func, func_code); in gallivm_compile_module()
|
/third_party/python/Include/ |
D | funcobject.h | 82 (((PyFunctionObject *)func) -> func_code)
|
/third_party/python/Lib/ |
D | inspect.py | 2296 func_code = func.__code__ 2297 pos_count = func_code.co_argcount 2298 arg_names = func_code.co_varnames 2299 posonly_count = func_code.co_posonlyargcount 2301 keyword_only_count = func_code.co_kwonlyargcount 2337 if func_code.co_flags & CO_VARARGS: 2354 if func_code.co_flags & CO_VARKEYWORDS: 2356 if func_code.co_flags & CO_VARARGS:
|
/third_party/python/Doc/whatsnew/ |
D | 3.0.rst | 785 :attr:`func_closure`, :attr:`func_code`, :attr:`func_defaults`,
|
/third_party/python/Misc/ |
D | HISTORY | 16648 ``func.func_code.co_name``. The repr() of a generator now also 25324 the func_code attribute is writable. 28920 - Allow assignment to some attributes of function objects: func_code,
|