Lines Matching defs:errno
61 TODO: change errno test code to build lists of possible errno values for
62 each erroneous parameter. Check that the errno value is in one
63 of the lists. Currently errno is not checked at all when multiple
88 #include <errno.h>
212 errno = 0;
222 if (errno != EINVAL) {
224 "epoll_create with negative set size didn't set errno to EINVAL");
240 if (errno != ENOMEM) {
262 errno = 0;
266 if (errno != ENOMEM) {
303 * the errno value may not match expectations. In this notation,
315 *_ERRNO_IGN no error number was expected and so errno was ignored
322 /* Did not get the expected return value, but errno value was expected */
324 /* Did not get the expected return value, but errno value was expected */
326 /* Did get the expected return value, and errno value was not expected */
328 /* Return value was neither 0 nor -1. Mismatch in value of errno */
330 /* Did not get the expected return value and errno is irrelevant */
332 /* Return value was neither 0 nor -1. value of errno is irrelevant */
334 /* We expected multiple errors so we were unable to check errno for conformance */
339 "Return value mismatched yet errno matched.",
340 "Return value was bad yet errno matched.",
341 "Return value matched yet errno mismatched.",
342 "Return value was bad and errno mismatched.",
343 "Return value mismatched so errno ignored.",
344 "Return value was bad so errno ignored.",
345 "Return value matched but errno ignored. (multiple errors expected)"
358 epoll_fds[fd_index], ev_ptr, ev_ptr->events, ev_ptr->data.fd, errno, \
359 strerror(errno)); \
363 epoll_fds[fd_index], ev_ptr, errno, strerror(errno)); \
372 epoll_fds[fd_index], ev_ptr, ev_ptr->events, ev_ptr->data.fd, errno, \
373 strerror(errno)); \
377 epoll_fds[fd_index], ev_ptr, errno, strerror(errno)); \
486 PROTECT_REGION_START errno = 0;
499 /* We can't test errno resulting from the epoll_ctl call outside of
581 /* We got an error. Check errno */
582 if (errno ==
592 getting an error and check errno. */
593 if (errno ==
607 /* We got an error. Check errno */
608 if (errno ==
613 /* Ignore errno because the desired value is unknowable
620 getting an error and check errno. */
621 if (errno ==
623 /* Don't Ignore errno because the desired value
628 /* Ignore errno because the desired value is unknowable