Searched refs:func_closure (Results 1 – 9 of 9) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | funcobject.c | 27 op->func_closure = NULL; in PyFunction_New() 131 return ((PyFunctionObject *) op) -> func_closure; in PyFunction_GetClosure() 152 Py_XDECREF(((PyFunctionObject *) op) -> func_closure); in PyFunction_SetClosure() 153 ((PyFunctionObject *) op) -> func_closure = closure; in PyFunction_SetClosure() 162 {"func_closure", T_OBJECT, OFF(func_closure), 164 {"__closure__", T_OBJECT, OFF(func_closure), 251 nclosure = (op->func_closure == NULL ? 0 : in func_set_code() 252 PyTuple_GET_SIZE(op->func_closure)); in func_set_code() 442 newfunc->func_closure = closure; in func_new() 461 Py_XDECREF(op->func_closure); in func_dealloc() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | funcobject.c | 27 op->func_closure = NULL; in PyFunction_New() 131 return ((PyFunctionObject *) op) -> func_closure; in PyFunction_GetClosure() 152 Py_XDECREF(((PyFunctionObject *) op) -> func_closure); in PyFunction_SetClosure() 153 ((PyFunctionObject *) op) -> func_closure = closure; in PyFunction_SetClosure() 162 {"func_closure", T_OBJECT, OFF(func_closure), 164 {"__closure__", T_OBJECT, OFF(func_closure), 251 nclosure = (op->func_closure == NULL ? 0 : in func_set_code() 252 PyTuple_GET_SIZE(op->func_closure)); in func_set_code() 442 newfunc->func_closure = closure; in func_new() 461 Py_XDECREF(op->func_closure); in func_dealloc() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_undocumented_details.py | 24 g_cell, = g.func_closure 25 h_cell, = h.func_closure
|
D | test_new.py | 92 g2 = new.function(g.func_code, {}, "blah", (2,), g.func_closure) 94 g3 = new.function(g.func_code, {}, "blah", None, g.func_closure) 102 test_closure(f, g.func_closure, ValueError) # no closure needed
|
D | test_py3kwarn.py | 120 cell0, = f(0).func_closure 121 cell1, = f(1).func_closure
|
D | test_funcattrs.py | 70 c = f.func_closure 80 f.func_closure[0].cell_contents
|
D | test_sys.py | 562 check(get_cell().func_closure[0], size(h + 'P'))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | funcobject.h | 26 PyObject *func_closure; /* NULL or a tuple of cell objects */ member 64 (((PyFunctionObject *)func) -> func_closure)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | funcobject.h | 26 PyObject *func_closure; /* NULL or a tuple of cell objects */ member 64 (((PyFunctionObject *)func) -> func_closure)
|