/fuchsia/zircon/system/utest/fs/ |
H A D | test-threading.cpp | 6 #include <errno.h> 98 } else if (errno == EEXIST) { 107 } else if (errno == ENOENT) { 122 } else if (errno == EEXIST) { 131 } else if (errno == ENOENT) { 149 } else if (errno == ENOENT) { 176 } else if (errno == ENOTEMPTY || errno == EEXIST) { 233 } else if (errno == EEXIST) {
|
H A D | test-unlink.cpp | 6 #include <errno.h> 114 ASSERT_EQ(errno, ENOENT); 121 ASSERT_EQ(errno, ENOENT); 128 ASSERT_EQ(errno, ENOTEMPTY); 132 ASSERT_EQ(errno, ENOENT);
|
H A D | test-maxfile.cpp | 5 #include <errno.h> 76 fprintf(stderr, "bigfile received error: %s\n", strerror(errno)); 77 if ((errno == EFBIG) || (errno == ENOSPC)) { 170 fprintf(stderr, "bigfile received error: %s\n", strerror(errno)); 173 ASSERT_TRUE(errno == EFBIG || errno == ENOSPC);
|
/fuchsia/zircon/system/utest/namespace/ |
H A D | namespace-test.c | 6 #include <errno.h> 35 ASSERT_TRUE(mkdir("/tmp/fake-namespace-test", 066) == 0 || errno == EEXIST, ""); 36 ASSERT_TRUE(mkdir("/tmp/fake-namespace-test/dev", 066) == 0 || errno == EEXIST, ""); 37 ASSERT_TRUE(mkdir("/tmp/fake-namespace-test-tmp", 066) == 0 || errno == EEXIST, "");
|
/fuchsia/zircon/system/utest/processor/ |
H A D | processor.c | 6 #include <errno.h>
|
/fuchsia/zircon/system/utest/pty/ |
H A D | pty-test.c | 7 #include <errno.h> 31 if (errno == EAGAIN) { 34 return -errno; 50 if (errno == EAGAIN) { 53 return -errno; 84 ASSERT_EQ(errno, EAGAIN, ""); 86 ASSERT_EQ(errno, EAGAIN, ""); 174 ASSERT_EQ(errno, EAGAIN, ""); 176 ASSERT_EQ(errno, EAGAIN, "");
|
/fuchsia/zircon/third_party/ulib/musl/src/network/ |
H A D | gethostbyaddr.c | 3 #include <errno.h>
|
H A D | gethostbyname2.c | 3 #include <errno.h>
|
/fuchsia/zircon/third_party/ulib/musl/src/process/ |
H A D | posix_spawn_file_actions_addopen.c | 2 #include <errno.h>
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netruncmd.c | 13 #include <errno.h> 65 if (errno == ETIMEDOUT) {
|
/fuchsia/zircon/system/ulib/mdns/ |
H A D | mdns.c | 9 #include <errno.h> 48 errno = ENAMETOOLONG; 59 errno = ENOMEM; 72 errno = ENOMEM; 109 errno = EINVAL; 120 errno = ENOMEM; 134 errno = ENOMEM; 209 errno = EBADMSG;
|
/fuchsia/zircon/system/utest/core/memory-mapping/ |
H A D | memory-mapping.cpp | 5 #include <errno.h> 108 auto test_errno = errno; 110 EXPECT_EQ(EINVAL, test_errno, "mmap errno should be EINVAL when len == 0"); 113 test_errno = errno; 115 EXPECT_EQ(ENOMEM, test_errno, "mmap errno should be ENOMEM when len >= PTRDIFF_MAX"); 124 auto test_errno = errno; 126 EXPECT_EQ(EINVAL, test_errno, "mmap errno should be EINVAL for unaligned offset"); 211 auto test_errno = errno; 213 EXPECT_EQ(EINVAL, test_errno, "mmap errno should be EINVAL with bad flags"); 216 test_errno = errno; [all...] |
/fuchsia/zircon/system/utest/vdso-variant/helper/ |
H A D | vdso-variant-helper.c | 7 #include <errno.h> 40 EXPECT_EQ(errno, EACCES, "opening vDSO file for writing");
|
/fuchsia/zircon/third_party/ulib/musl/src/multibyte/ |
H A D | mbrtowc.c | 2 #include <errno.h> 59 errno = EILSEQ;
|
/fuchsia/zircon/third_party/ulib/musl/src/passwd/ |
H A D | getpwent_a.c | 16 rv = ferror(f) ? errno : 0; 60 errno = rv;
|
H A D | pwf.h | 2 #include <errno.h>
|
H A D | getpw_a.c | 27 rv = errno; 61 rv = errno; 92 rv = errno; 100 rv = ferror(f) ? errno : EIO; 135 errno = rv;
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | __fdopen.c | 2 #include <errno.h> 14 errno = EINVAL;
|
H A D | fgetwc.c | 3 #include <errno.h> 32 errno = EILSEQ;
|
H A D | vswprintf.c | 2 #include <errno.h> 45 errno = EOVERFLOW;
|
H A D | vsnprintf.c | 2 #include <errno.h> 24 errno = EOVERFLOW;
|
/fuchsia/zircon/system/utest/runtests-utils/ |
H A D | runtests-utils-test-utils.cpp | 6 #include <errno.h> 37 ZX_ASSERT_MSG(-1 != fd, "%s", strerror(errno)); 43 ZX_ASSERT_MSG(-1 != close(fd), "%s", strerror(errno)); 58 ZX_ASSERT_MSG(input_fd, "%s", strerror(errno)); 61 ZX_ASSERT_MSG(output_fd, "%s", strerror(errno)); 68 ZX_ASSERT_MSG(write(output_fd.get(), buf, n) == n, "write failed: %s", strerror(errno)); 70 ZX_ASSERT_MSG(n != -1, "read failed: %s", strerror(errno));
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | tftp.c | 13 #include <errno.h> 122 ((errno == EAGAIN) || (errno == EWOULDBLOCK) || (errno == ENOBUFS))); 125 fprintf(stderr, "%s: Send failed with errno = %d (%s)\n", appname, errno, strerror(errno)); 156 if ((errno == EAGAIN) || (errno == EWOULDBLOCK)) { 187 fprintf(stderr, "%s: error: Cannot create socket %d\n", appname, errno); [all...] |
/fuchsia/zircon/system/utest/memfs/ |
H A D | memfs-tests.cpp | 6 #include <errno.h> 135 ASSERT_EQ(errno, ENOSPC); 146 errno = 0; 148 ASSERT_EQ(errno, ENOSPC); 153 errno = 0; 155 ASSERT_EQ(errno, 0); 247 return errno == EPIPE ? 0 : -1; 251 return errno == EPIPE ? 0 : -1; 270 ASSERT_EQ(errno, EPIPE, "Expected connection to remote server to be closed");
|
/fuchsia/zircon/kernel/lib/libc/ |
H A D | atoi.c | 11 #include <errno.h> 111 errno = EINVAL; 161 errno = ERANGE;
|