Home
last modified time | relevance | path

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

/external/python/cpython2/Mac/Modules/
DNav.c51 PyObject *pyfunc; in my_eventProc() local
55 if ( (pyfunc = PyDict_GetItemString(dict, "eventProc")) == NULL ) { in my_eventProc()
59 if ( pyfunc == Py_None ) { in my_eventProc()
62 rv = PyObject_CallFunction(pyfunc, "ls#", (long)callBackSelector, in my_eventProc()
77 PyObject *pyfunc; in my_previewProc() local
82 if ( (pyfunc = PyDict_GetItemString(dict, "previewProc")) == NULL ) { in my_previewProc()
86 rv = PyObject_CallFunction(pyfunc, "s#", (void *)callBackParms, sizeof(NavCBRec)); in my_previewProc()
103 PyObject *pyfunc; in my_filterProc() local
108 if ( (pyfunc = PyDict_GetItemString(dict, "filterProc")) == NULL ) { in my_filterProc()
112 rv = PyObject_CallFunction(pyfunc, "O&s#h", in my_filterProc()
/external/python/cpython3/Lib/test/
Dtest_call.py272 def pyfunc(arg1, arg2): function
309 (pyfunc, (1, 2), [1, 2]),
352 (pyfunc, (1,), {'arg2': 2}, [1, 2]),
353 (pyfunc, (), {'arg1': 1, 'arg2': 2}, [1, 2]),