Lines Matching refs:code
3 [clinic start generated code]*/
19 "corresponding to the return value of the fcntl call in the C code.");
25 fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg);
32 int code;
41 code = _PyLong_AsInt(args[1]);
42 if (code == -1 && PyErr_Occurred()) {
50 return_value = fcntl_fcntl_impl(module, fd, code, arg);
87 "code.");
93 fcntl_ioctl_impl(PyObject *module, int fd, unsigned int code,
101 unsigned int code;
111 code = (unsigned int)PyLong_AsUnsignedLongMask(args[1]);
112 if (code == (unsigned int)-1 && PyErr_Occurred()) {
127 return_value = fcntl_ioctl_impl(module, fd, code, ob_arg, mutate_arg);
146 fcntl_flock_impl(PyObject *module, int fd, int code);
153 int code;
161 code = _PyLong_AsInt(args[1]);
162 if (code == -1 && PyErr_Occurred()) {
165 return_value = fcntl_flock_impl(module, fd, code);
202 fcntl_lockf_impl(PyObject *module, int fd, int code, PyObject *lenobj,
210 int code;
221 code = _PyLong_AsInt(args[1]);
222 if (code == -1 && PyErr_Occurred()) {
241 return_value = fcntl_lockf_impl(module, fd, code, lenobj, startobj, whence);
246 /*[clinic end generated code: output=b8cb14ab35de4c6a input=a9049054013a1b77]*/