Home
last modified time | relevance | path

Searched refs:pto (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_functoolsmodule.c107 partialobject *pto; in partial_new() local
123 pto = (partialobject *)type->tp_alloc(type, 0); in partial_new()
124 if (pto == NULL) in partial_new()
127 pto->fn = func; in partial_new()
129 pto->args = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX); in partial_new()
130 if (pto->args == NULL) { in partial_new()
131 pto->kw = NULL; in partial_new()
132 Py_DECREF(pto); in partial_new()
136 pto->kw = PyDict_Copy(kw); in partial_new()
137 if (pto->kw == NULL) { in partial_new()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_functoolsmodule.c107 partialobject *pto; in partial_new() local
123 pto = (partialobject *)type->tp_alloc(type, 0); in partial_new()
124 if (pto == NULL) in partial_new()
127 pto->fn = func; in partial_new()
129 pto->args = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX); in partial_new()
130 if (pto->args == NULL) { in partial_new()
131 pto->kw = NULL; in partial_new()
132 Py_DECREF(pto); in partial_new()
135 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); in partial_new()
136 if (pto->kw == NULL) { in partial_new()
[all …]