Lines Matching defs:func
564 PyObject *func, *res;
565 func = PyList_GET_ITEM(cpy, i);
566 res = _PyObject_CallNoArgs(func);
568 PyErr_WriteUnraisable(func);
643 register_at_forker(PyObject **lst, PyObject *func)
645 if (func == NULL) /* nothing to register? do nothing. */
652 return PyList_Append(*lst, func);
1186 PyObject *func, *res;
1188 func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__));
1189 if (NULL == func) {
1192 res = _PyObject_CallNoArgs(func);
1193 Py_DECREF(func);
1770 posix_fildes_fd(int fd, int (*func)(int))
1778 res = (*func)(fd);
14570 PyObject *func = NULL;
14578 func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__));
14579 if (NULL == func) {
14586 path_repr = _PyObject_CallNoArgs(func);
14587 Py_DECREF(func);