Home
last modified time | relevance | path

Searched refs:errno (Results 51 - 75 of 5988) sorted by relevance

12345678910>>...240

/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dns_parse.c149 EXPECT_EQ("ns_name_uncompress_0200", errno, EMSGSIZE); in ns_name_uncompress_0200()
164 EXPECT_EQ("ns_name_uncompress_0200", errno, EMSGSIZE); in ns_name_uncompress_0300()
175 errno = 0; in ns_initparse_0100()
178 EXPECT_EQ("ns_initparse_0100", errno, CMPFLAG); in ns_initparse_0100()
194 errno = 0; in ns_initparse_0200()
197 EXPECT_EQ("ns_initparse_0200", errno, EMSGSIZE); in ns_initparse_0200()
199 errno = 0; in ns_initparse_0200()
202 EXPECT_EQ("ns_initparse_0200", errno, EMSGSIZE); in ns_initparse_0200()
216 errno = 0; in ns_skiprr_0100()
223 EXPECT_EQ("ns_skiprr_0100", errno, CMPFLA in ns_skiprr_0100()
[all...]
/third_party/selinux/libselinux/src/
H A Davc_internal.c11 #include <errno.h>
68 "%s: cache reset returned %d (errno %d)\n", in avc_process_setenforce()
69 avc_prefix, rc, errno); in avc_process_setenforce()
88 "%s: cache reset returned %d (errno %d)\n", in avc_process_policyload()
89 avc_prefix, rc, errno); in avc_process_policyload()
152 } while (rc < 0 && errno == EINTR); in avc_netlink_receive()
155 errno = EWOULDBLOCK; in avc_netlink_receive()
160 avc_prefix, errno); in avc_netlink_receive()
187 errno = EBADFD; in avc_netlink_receive()
214 errno in avc_netlink_process()
[all...]
H A Dfsetfilecon.c5 #include <errno.h>
13 int rc, fd_flag, saved_errno = errno; in fsetxattr_wrapper()
16 if (rc == 0 || errno != EBADF) in fsetxattr_wrapper()
22 errno = EBADF; in fsetxattr_wrapper()
27 errno = saved_errno; in fsetxattr_wrapper()
29 if (rc < 0 && errno == ENOENT) in fsetxattr_wrapper()
30 errno = EBADF; in fsetxattr_wrapper()
38 if (rc < 0 && errno == ENOTSUP) { in fsetfilecon_raw()
40 int err = errno; in fsetfilecon_raw()
45 errno in fsetfilecon_raw()
[all...]
/third_party/libfuse/example/
H A Dpassthrough.c42 #include <errno.h>
84 return -errno; in xmp_getattr()
95 return -errno; in xmp_access()
106 return -errno; in xmp_readlink()
126 return -errno; in xmp_readdir()
147 return -errno; in xmp_mknod()
158 return -errno; in xmp_mkdir()
169 return -errno; in xmp_unlink()
180 return -errno; in xmp_rmdir()
191 return -errno; in xmp_symlink()
[all...]
H A Dpassthrough_fh.c43 #include <errno.h>
83 return -errno; in xmp_getattr()
94 return -errno; in xmp_access()
105 return -errno; in xmp_readlink()
126 res = -errno; in xmp_opendir()
221 return -errno; in xmp_mknod()
232 return -errno; in xmp_mkdir()
243 return -errno; in xmp_unlink()
254 return -errno; in xmp_rmdir()
265 return -errno; in xmp_symlink()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dtcp.c28 #include <errno.h>
54 return UV__ERR(errno); in new_socket()
59 return UV__ERR(errno); in new_socket()
90 return UV__ERR(errno); in maybe_new_socket()
103 return UV__ERR(errno); in maybe_new_socket()
165 return UV__ERR(errno); in uv__tcp_bind()
177 if (errno == EOPNOTSUPP) in uv__tcp_bind()
180 return UV__ERR(errno); in uv__tcp_bind()
186 errno = 0; in uv__tcp_bind()
188 if (err == -1 && errno ! in uv__tcp_bind()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
H A D3-2.c47 #include <errno.h>
100 if (sem == SEM_FAILED && errno == EEXIST) { in main()
106 UNRESOLVED(errno, "Failed to create the semaphore"); in main()
112 } while (ret != 0 && errno == EINTR); in main()
115 UNRESOLVED(errno, "Failed to wait for the semaphore"); in main()
122 UNRESOLVED(errno, "Failed to close the semaphore"); in main()
129 UNRESOLVED(errno, "Failed to re-open the semaphore"); in main()
136 UNRESOLVED(errno, "Failed to get semaphore value"); in main()
148 UNRESOLVED(errno, "Failed to close the semaphore"); in main()
154 UNRESOLVED(errno, "Faile in main()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsetxattr.c16 #include <errno.h>
45 errno = 0; in setxattr_0100()
51 if (errno != 0) { in setxattr_0100()
52 t_error("%s failed: errno = %d\n", __func__, errno); in setxattr_0100()
57 errno = 0; in setxattr_0100()
63 if (errno != 0) { in setxattr_0100()
64 t_error("%s failed: errno = %d\n", __func__, errno); in setxattr_0100()
81 errno in setxattr_0200()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/sched/
H A Dsched_rr_get_interval.c16 #include <errno.h>
33 errno = 0; in sched_rr_get_interval_0100()
35 if (result != 0 || errno != 0) { in sched_rr_get_interval_0100()
37 t_error("%s failed: errno = %d\n", __func__, errno); in sched_rr_get_interval_0100()
56 errno = 0; in sched_rr_get_interval_0200()
58 if (result == 0 || errno == 0) { in sched_rr_get_interval_0200()
60 t_error("%s failed: errno = %d\n", __func__, errno); in sched_rr_get_interval_0200()
74 errno in sched_rr_get_interval_time64_0100()
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dfile.c32 #include <errno.h>
151 errno = EINVAL; in open()
156 errno = EINVAL; in open()
161 errno = ENOMEM; in open()
166 errno = ENOMEM; in open()
172 errno = EPERM; in open()
176 errno = ENOTDIR; in open()
184 errno = EPERM; in open()
187 errno = EISDIR; in open()
209 errno in close()
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dattrlist.c36 #include <errno.h>
55 * Return 1 if inode need attribute list, 0 if not, -1 on error with errno set
56 * to the error code. If function succeed errno set to 0. The following error
67 errno = EINVAL; in ntfs_attrlist_need()
75 errno = EINVAL; in ntfs_attrlist_need()
81 errno = EINVAL; in ntfs_attrlist_need()
85 errno = 0; in ntfs_attrlist_need()
100 * Return 0 on success and -1 on error with errno set to the error code. The
122 errno = EINVAL; in ntfs_attrlist_entry_add()
133 errno in ntfs_attrlist_entry_add()
[all...]
H A Dinode.c37 #include <errno.h>
155 * with errno set to the error code.
168 errno = EINVAL; in ntfs_inode_real_open()
177 errno = ENOENT; in ntfs_inode_real_open()
220 olderrno = errno; in ntfs_inode_real_open()
223 if (errno != ENOENT) in ntfs_inode_real_open()
226 /* restore previous errno to avoid misinterpretation */ in ntfs_inode_real_open()
227 errno = olderrno; in ntfs_inode_real_open()
235 errno = EIO; in ntfs_inode_real_open()
248 errno in ntfs_inode_real_open()
[all...]
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dlib64.c67 strerror(errno)); in get_long_name_buffer()
74 strerror(errno)); in get_long_name_buffer()
89 strerror(errno)); in get_long_name_buffer()
108 errno = 0; in execute_function()
124 if (errno != ENAMETOOLONG) { in execute_function()
125 tst_resm(TFAIL, "%s failed: errno should be %i but is %i", name, in execute_function()
126 ENAMETOOLONG, errno); in execute_function()
185 strerror(errno)); in test_ENAMETOOLONG_path()
196 pcPathMax + 2, strerror(errno)); in test_ENAMETOOLONG_path()
251 errno in test_ENOENT_empty()
[all...]
H A Dlib.c67 strerror(errno)); in get_long_name_buffer()
74 strerror(errno)); in get_long_name_buffer()
89 strerror(errno)); in get_long_name_buffer()
108 errno = 0; in execute_function()
124 if (errno != ENAMETOOLONG) { in execute_function()
125 tst_resm(TFAIL, "%s failed: errno should be %i but is %i", name, in execute_function()
126 ENAMETOOLONG, errno); in execute_function()
185 strerror(errno)); in test_ENAMETOOLONG_path()
196 pcPathMax + 2, strerror(errno)); in test_ENAMETOOLONG_path()
251 errno in test_ENOENT_empty()
[all...]
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_recvmsg.c54 #include <errno.h>
130 if (count != -1 || errno != EBADF) in main()
132 "descriptor count:%d, errno:%d", count, errno); in main()
141 filename, strerror(errno)); in main()
144 err_no = errno; in main()
149 "count:%d, errno:%d", count, err_no); in main()
156 if (count != -1 || errno != EFAULT) in main()
158 "pointer count:%d, errno:%d", count, errno); in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl10.c103 * Log the errno and Issue a FAIL message.
107 * Print errno log and/or timing stats if options given
116 #include <errno.h>
164 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = %s Failed, errno=%d : %s", in main()
183 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = F_UNLCK Failed, errno=%d : %s", in main()
215 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno, in setup()
216 strerror(errno)); in setup()
218 tst_brkm(TBROK, cleanup, "close(%s) Failed, errno=%d : %s", in setup()
219 fname, errno, strerro in setup()
[all...]
H A Dfcntl09.c103 * Log the errno and Issue a FAIL message.
107 * Print errno log and/or timing stats if options given
116 #include <errno.h>
164 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = %s Failed, errno=%d : %s", in main()
185 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = F_UNLCK Failed, errno=%d : %s", in main()
216 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno, in setup()
217 strerror(errno)); in setup()
219 tst_brkm(TBROK, cleanup, "close(%s) Failed, errno=%d : %s", in setup()
220 fname, errno, strerro in setup()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D16-1.c45 #include <errno.h>
72 UNRESOLVED(errno, "Failed to open shared memory segment"); in main()
78 UNRESOLVED(errno, "Failed to open shared memory segment"); in main()
85 UNRESOLVED(errno, "Failed to size the shared memory segment"); in main()
91 UNRESOLVED(errno, "Failed to size the shared memory segment"); in main()
100 UNRESOLVED(errno, "Failed to mmap the shared memory segment"); in main()
108 UNRESOLVED(errno, in main()
121 UNRESOLVED(errno, "Failed to fork"); in main()
147 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main()
166 UNRESOLVED(errno, "Faile in main()
[all...]
H A D3-1.c38 #include <errno.h>
60 UNRESOLVED(errno, "Failed to fork"); in main()
72 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main()
79 if ((ret == 0) || (errno != ESRCH)) { in main()
80 output("Kill returned %d (%d: %s)\n", ret, errno, in main()
81 strerror(errno)); in main()
86 if ((ret == 0) || (errno != ESRCH)) { in main()
87 output("Kill returned %d (%d: %s)\n", ret, errno, in main()
88 strerror(errno)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
H A D3-3.c44 #include <errno.h>
102 UNRESOLVED(errno, "Failed to open shared memory segment"); in main()
109 UNRESOLVED(errno, "Failed to size the shared memory segment"); in main()
118 UNRESOLVED(errno, "Failed to mmap the shared memory segment"); in main()
127 UNRESOLVED(errno, "Failed to init the semaphore"); in main()
134 UNRESOLVED(errno, "Failed to fork"); in main()
143 UNRESOLVED(errno, "Failed to post the semaphore"); in main()
154 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main()
165 UNRESOLVED(errno, "Failed to get semaphore count"); in main()
177 UNRESOLVED(errno, "Faile in main()
[all...]
/third_party/musl/porting/linux/user/src/passwd/
H A Dgetspnam_r.c77 int orig_errno = errno; in getspnam_r()
83 return errno = EINVAL; in getspnam_r()
87 return errno = ERANGE; in getspnam_r()
91 return errno = EINVAL; in getspnam_r()
96 errno = EINVAL; in getspnam_r()
101 return errno; in getspnam_r()
104 if (errno != ENOENT && errno != ENOTDIR) in getspnam_r()
105 return errno; in getspnam_r()
108 if (errno ! in getspnam_r()
[all...]
/third_party/musl/src/passwd/
H A Dgetspnam_r.c78 int orig_errno = errno; in getspnam_r()
84 return errno = EINVAL; in getspnam_r()
88 return errno = ERANGE; in getspnam_r()
92 return errno = EINVAL; in getspnam_r()
97 errno = EINVAL; in getspnam_r()
102 return errno; in getspnam_r()
105 if (errno != ENOENT && errno != ENOTDIR) in getspnam_r()
106 return errno; in getspnam_r()
109 if (errno ! in getspnam_r()
[all...]
/third_party/ntfs-3g/libfuse-lite/
H A Dmount_util.c16 #include <errno.h>
66 fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno)); in fuse_mnt_add_mount()
88 progname, tmp, strerror(errno)); in fuse_mnt_add_mount()
95 strerror(errno)); in fuse_mnt_add_mount()
100 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in fuse_mnt_add_mount()
121 fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno)); in fuse_mnt_umount()
136 strerror(errno)); in fuse_mnt_umount()
141 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in fuse_mnt_umount()
194 strerror(errno)); in fuse_mnt_resolve_path()
226 progname, strerror(errno)); in fuse_mnt_check_empty()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_INPUT.c5 * 22 Mar 2009 0.4 Cleanup dprintf() outputs and ret and errno names
20 #include <errno.h>
24 #include <linux/errno.h>
51 errno_enum = errno; in valid_input_index()
71 errno_get = errno; in test_VIDIOC_G_INPUT()
103 errno_get = errno; in test_VIDIOC_S_INPUT_from_enum()
112 errno_enum = errno; in test_VIDIOC_S_INPUT_from_enum()
114 dprintf("\tENUMINPUT: i=%u, ret_enum=%i, errno=%i\n", i, in test_VIDIOC_S_INPUT_from_enum()
115 ret_enum, errno); in test_VIDIOC_S_INPUT_from_enum()
120 errno_set = errno; in test_VIDIOC_S_INPUT_from_enum()
[all...]
H A Dtest_VIDIOC_OUTPUT.c18 #include <errno.h>
22 #include <linux/errno.h>
49 errno_enum = errno; in valid_output_index()
69 errno_get = errno; in test_VIDIOC_G_OUTPUT()
101 errno_get = errno; in test_VIDIOC_S_OUTPUT_from_enum()
110 errno_enum = errno; in test_VIDIOC_S_OUTPUT_from_enum()
119 errno_set = errno; in test_VIDIOC_S_OUTPUT_from_enum()
132 errno_set = errno; in test_VIDIOC_S_OUTPUT_from_enum()
153 errno_set = errno; in do_set_output()
179 errno_get = errno; in test_VIDIOC_S_OUTPUT_invalid_outputs()
[all...]

Completed in 11 milliseconds

12345678910>>...240