Home
last modified time | relevance | path

Searched refs:func_closure (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfuncobject.c27 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/
Dfuncobject.c27 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/
Dtest_undocumented_details.py24 g_cell, = g.func_closure
25 h_cell, = h.func_closure
Dtest_new.py92 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
Dtest_py3kwarn.py120 cell0, = f(0).func_closure
121 cell1, = f(1).func_closure
Dtest_funcattrs.py70 c = f.func_closure
80 f.func_closure[0].cell_contents
Dtest_sys.py562 check(get_cell().func_closure[0], size(h + 'P'))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dfuncobject.h26 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/
Dfuncobject.h26 PyObject *func_closure; /* NULL or a tuple of cell objects */ member
64 (((PyFunctionObject *)func) -> func_closure)