Lines Matching refs:args
28 fcntl_fcntl(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
38 if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
41 code = _PyLong_AsInt(args[1]);
48 arg = args[2];
97 fcntl_ioctl(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
108 if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
111 code = (unsigned int)PyLong_AsUnsignedLongMask(args[1]);
118 ob_arg = args[2];
122 mutate_arg = PyObject_IsTrue(args[3]);
149 fcntl_flock(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
158 if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
161 code = _PyLong_AsInt(args[1]);
206 fcntl_lockf(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
218 if (!_PyLong_FileDescriptor_Converter(args[0], &fd)) {
221 code = _PyLong_AsInt(args[1]);
228 lenobj = args[2];
232 startobj = args[3];
236 whence = _PyLong_AsInt(args[4]);