Home | History | Annotate | Download | only in Python

Lines Matching defs:errno

607    POSIX, set errno and return nonzero on error. Fill status and return 0 on
622 /* errno is already set by _get_osfhandle, but we also set
633 errno = winerror_to_errno(error);
648 /* The Win32 error is already set, but we also set errno for
650 errno = winerror_to_errno(GetLastError());
673 error on error. On POSIX, set errno on error. Fill status and return 0 on
848 if (errno != ENOTTY && errno != EACCES) {
900 Return 0 on success, set errno and return -1 on error. */
954 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
999 Return a file descriptor on success. Set errno and return -1 on error.
1026 errno = EINVAL;
1112 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
1130 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
1155 On error, raise an exception, set errno and return -1.
1194 errno = 0;
1200 /* save/restore errno because PyErr_CheckSignals()
1202 err = errno;
1211 errno = err;
1212 assert(errno == EINTR && PyErr_Occurred());
1217 errno = err;
1253 errno = 0;
1259 /* save/restore errno because PyErr_CheckSignals()
1261 err = errno;
1268 errno = 0;
1274 err = errno;
1283 errno = err;
1284 assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
1290 errno = err;
1300 including 0. On error, raise an exception, set errno and return -1.
1325 * including 0. On error, set errno and return -1.
1351 errno = EINVAL;
1359 errno = EINVAL;
1365 errno = EINVAL;
1370 errno = EINVAL;
1396 errno = EINVAL;
1406 errno = EINVAL;
1411 errno = EINVAL;