Searched defs:newfunc (Results 1 - 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_functools.py11 def newfunc(*fargs, **fkeywords): function in function:PythonPartial
15 newfunc.func = func
16 newfunc.args = args
17 newfunc.keywords = keywords
18 return newfunc
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dfuncobject.c372 PyFunctionObject *newfunc; local
426 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code,
428 if (newfunc == NULL)
433 Py_DECREF(newfunc->func_name);
434 newfunc->func_name = name;
438 newfunc->func_defaults = defaults;
442 newfunc->func_closure = closure;
445 return (PyObject *)newfunc;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dfuncobject.c372 PyFunctionObject *newfunc; local
426 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code,
428 if (newfunc == NULL)
433 Py_DECREF(newfunc->func_name);
434 newfunc->func_name = name;
438 newfunc->func_defaults = defaults;
442 newfunc->func_closure = closure;
445 return (PyObject *)newfunc;
/device/linaro/bootloader/edk2/StdLib/Include/sys/
H A Dsysctl.h119 int (*newfunc)(struct sysctl_req *, void *, size_t); member in struct:sysctl_req
151 #define SYSCTL_IN(r, p, l) (r->newfunc)(r, p, l)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dobject.h321 typedef PyObject *(*newfunc)(struct _typeobject *, PyObject *, PyObject *); typedef
390 newfunc tp_new;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dobject.h321 typedef PyObject *(*newfunc)(struct _typeobject *, PyObject *, PyObject *); typedef
390 newfunc tp_new;

Completed in 46 milliseconds