Home
last modified time | relevance | path

Searched refs:errno (Results 526 - 550 of 15192) sorted by relevance

1...<<21222324252627282930>>...608

/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/
H A Dtar_file_test.cpp140 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
141 GTEST_LOG_(INFO) << " invoked mkdir failure, errno :" << errno; in HWTEST_F()
142 throw BError(errno); in HWTEST_F()
179 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
180 GTEST_LOG_(INFO) << " invoked mkdir failure, errno :" << errno; in HWTEST_F()
181 throw BError(errno); in HWTEST_F()
249 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
250 GTEST_LOG_(INFO) << " invoked mkdir failure, errno in HWTEST_F()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c11 #include <errno.h>
60 errno_cache = errno; in TEST_F()
65 errno_cache = errno; in TEST_F()
76 errno_cache = errno; in TEST_F()
82 errno_cache = errno; in TEST_F()
97 errno_cache = errno; in TEST_F()
103 errno_cache = errno; in TEST_F()
110 errno_cache = errno; in TEST_F()
117 errno_cache = errno; in TEST_F()
140 errno_cache = errno; in TEST_F()
[all...]
/kernel/linux/linux-6.6/tools/testing/vsock/
H A Dutil.c10 #include <errno.h>
40 errno = 0; in parse_cid()
42 if (errno || *endptr != '\0') { in parse_cid()
110 } while (ret < 0 && errno == EINTR); in vsock_connect()
114 int old_errno = errno; in vsock_connect()
118 errno = old_errno; in vsock_connect()
176 } while (client_fd < 0 && errno == EINTR); in vsock_accept()
179 old_errno = errno; in vsock_accept()
181 errno = old_errno; in vsock_accept()
217 * <0 Negative errno (fo
[all...]
/third_party/eudev/src/shared/
H A Dpath-util.c23 #include <errno.h>
150 errno = 0; in path_strv_resolve()
153 if (errno == ENOENT) { in path_strv_resolve()
162 if (errno == ENOMEM || errno == 0) in path_strv_resolve()
346 return -errno; in fd_fdinfo_mnt_id()
355 return -errno; in fd_fdinfo_mnt_id()
406 if (errno == ENOSYS) in fd_is_mount_point()
410 else if (errno == EOPNOTSUPP) in fd_is_mount_point()
418 return -errno; in fd_is_mount_point()
[all...]
H A Drandom-util.c21 #include <errno.h>
56 if (errno == ENOSYS) in dev_urandom()
60 else if (errno == EAGAIN) in dev_urandom()
69 return -errno; in dev_urandom()
77 return errno == ENOENT ? -ENOSYS : -errno; in dev_urandom()
/third_party/curl/lib/
H A Dcurl_ntlm_wb.c92 if(ret == ntlm->ntlm_auth_hlpr_pid || errno == ECHILD) in ntlm_wb_cleanup()
189 failf(data, "Could not access ntlm_auth: %s errno %d: %s", in ntlm_wb_init()
190 ntlm_auth, errno, Curl_strerror(errno, buffer, sizeof(buffer))); in ntlm_wb_init()
195 failf(data, "Could not open socket pair. errno %d: %s", in ntlm_wb_init()
196 errno, Curl_strerror(errno, buffer, sizeof(buffer))); in ntlm_wb_init()
204 failf(data, "Could not fork. errno %d: %s", in ntlm_wb_init()
205 errno, Curl_strerror(errno, buffe in ntlm_wb_init()
[all...]
/third_party/ltp/testcases/kernel/syscalls/kill/
H A Dkill02.c133 #include <errno.h>
241 && errno != ESRCH) { in main()
255 if (kill(pid1, SIGKILL) == -1 && errno != ESRCH) { in main()
368 if (read1_stat == -1 && errno == EAGAIN) in parent_rout()
371 if (read2_stat == -1 && errno == EAGAIN) in parent_rout()
374 if (readA_stat == -1 && errno == EAGAIN) in parent_rout()
377 if (readB_stat == -1 && errno == EAGAIN) in parent_rout()
694 int errno_buf; /*indicates the errno if pipe set up fails. */ in setup()
728 errno_buf = errno; in setup()
734 errno_buf = errno; in setup()
[all...]
/third_party/pulseaudio/src/modules/oss/
H A Doss-util.c28 #include <errno.h>
60 pa_log("SNDCTL_DSP_GETCAPS: %s", pa_cstrerror(errno)); in pa_oss_open()
74 pa_log("open('%s'): %s", device, pa_cstrerror(errno)); in pa_oss_open()
80 pa_log("open('%s'): %s", device, pa_cstrerror(errno)); in pa_oss_open()
88 pa_log("SNDCTL_DSP_GETCAPS: %s", pa_cstrerror(errno)); in pa_oss_open()
94 pa_log("FIONBIO: %s", pa_cstrerror(errno)); in pa_oss_open()
197 pa_log("SNDCTL_DSP_SETFMT: %s", format != AFMT_U8 ? "No supported sample format" : pa_cstrerror(errno)); in pa_oss_auto_format()
214 pa_log("SNDCTL_DSP_CHANNELS: %s", pa_cstrerror(errno)); in pa_oss_auto_format()
226 pa_log("SNDCTL_DSP_SPEED: %s", pa_cstrerror(errno)); in pa_oss_auto_format()
252 pa_log("SNDCTL_DSP_SETFRAGMENT: %s", pa_cstrerror(errno)); in pa_oss_set_fragments()
[all...]
/test/xts/acts/kernel_lite/mem_posix/src/
H A DMmapApiTest.cpp19 #include <errno.h>
352 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
398 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
439 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
482 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
529 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
576 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
620 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
754 EXPECT_TRUE(remove(file) == 0) << "ERROR: remove() != 0" << errno; in HWTEST_F()
759 * @tc.name mmap function errno fo
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_ENUM_FMT.c9 * 28 Mar 2009 0.5 Clean up ret and errno variable names and dprintf() output
26 #include <errno.h>
30 #include <linux/errno.h>
56 errno_enum = errno; in do_enumerate_formats()
143 errno_enum = errno; in test_VIDIOC_ENUM_FMT_S32_MAX()
171 errno_enum = errno; in test_VIDIOC_ENUM_FMT_S32_MAX_1()
199 errno_enum = errno; in test_VIDIOC_ENUM_FMT_U32_MAX()
232 errno_enum = errno; in test_VIDIOC_ENUM_FMT_invalid_type()
253 errno_enum = errno; in test_VIDIOC_ENUM_FMT_invalid_type()
274 errno_enum = errno; in test_VIDIOC_ENUM_FMT_invalid_type()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c59 " rc: %i errno: %i", ret, errno); in kvm_check_cap()
84 " rc: %i errno: %i", ret, errno); in vm_enable_cap()
112 " rc: %i, errno: %i", r, errno); in vcpu_enable_cap()
130 "rc: %i errno: %i", vm->fd, errno); in vm_open()
298 " rc: %i errno: %i\n" in kvm_vm_restart()
301 ret, errno, regio in kvm_vm_restart()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dohos_socket-server.c26 #include <errno.h>
121 pa_log("accept(): %s", pa_cstrerror(errno)); in callback()
222 pa_log_error("listen(): %s", pa_cstrerror(errno)); in pa_socket_server_new_unix()
227 pa_log("socket(PF_UNIX): %s", pa_cstrerror(errno)); in pa_socket_server_new_unix()
238 pa_log("bind(): %s", pa_cstrerror(errno)); in pa_socket_server_new_unix()
274 pa_log("listen(): %s", pa_cstrerror(errno)); in pa_socket_server_new_unix()
331 pa_log("socket(PF_INET): %s", pa_cstrerror(errno)); in pa_socket_server_new_ipv4()
337 pa_log("setsockopt(): %s", pa_cstrerror(errno)); in pa_socket_server_new_ipv4()
349 if (errno == EADDRINUSE && fallback) { in pa_socket_server_new_ipv4()
353 pa_log("bind(): %s", pa_cstrerror(errno)); in pa_socket_server_new_ipv4()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dprog_run_xattr.c21 if (CHECK_ATTR(err, "load", "err %d errno %d\n", err, errno)) in test_prog_run_xattr()
27 CHECK_ATTR(err != -1 || errno != ENOSPC || tattr.retval, "run", in test_prog_run_xattr()
28 "err %d errno %d retval %d\n", err, errno, tattr.retval); in test_prog_run_xattr()
39 errno = 0; in test_prog_run_xattr()
42 CHECK_ATTR(err || errno || tattr.retval, "run_no_output", in test_prog_run_xattr()
43 "err %d errno %d retval %d\n", err, errno, tattr.retval); in test_prog_run_xattr()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcloexec.c2 #include <errno.h>
24 errno = ENOSYS; in sched_getcpu()
55 if (fd < 0 && pid == -1 && errno == EACCES) { in perf_flag_probe()
61 err = errno; in perf_flag_probe()
75 if (fd < 0 && pid == -1 && errno == EACCES) { in perf_flag_probe()
81 err = errno; in perf_flag_probe()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_175.c58 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, errno); in Testcase()
61 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, errno); in Testcase()
64 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, errno); in Testcase()
67 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, errno); in Testcase()
71 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, errno); in Testcase()
74 ICUNIT_ASSERT_EQUAL(ret, PTHREAD_NO_ERROR, errno); in Testcase()
/test/xts/acts/kernel_lite/fs_posix/src/
H A DFsStdlibTest.cpp45 EXPECT_NE(mktemp(tmpFileName), nullptr) << "> mktemp errno = " << errno; in HWTEST_F() local
49 EXPECT_NE(mkdtemp(tmpDirName), nullptr) << "> mktemp errno = " << errno; in HWTEST_F() local
50 EXPECT_NE(remove(tmpDirName), -1) << "> remove errno = " << errno; in HWTEST_F()
62 EXPECT_NE(fd, -1) << "> creat faild errno = " << errno; in HWTEST_F()
63 EXPECT_NE(close(fd), -1) << "> close errno = " << errno; in HWTEST_F()
[all...]
/test/xts/hats/kernel/syscalls/fileio/chroot/
H A DChrootApiTest.cpp63 errno = 0; in HWTEST_F()
66 EXPECT_EQ(errno, EFAULT); in HWTEST_F()
80 errno = 0; in HWTEST_F()
83 EXPECT_EQ(errno, ENOENT); in HWTEST_F()
101 errno = 0; in HWTEST_F()
104 EXPECT_EQ(errno, ENOTDIR); in HWTEST_F()
/third_party/ltp/lib/
H A Dtst_process_state.c9 #include <errno.h>
34 errno = ETIMEDOUT; in tst_process_state_wait()
53 proc_path, strerror(errno)); in tst_process_state_wait2()
60 proc_path, strerror(errno)); in tst_process_state_wait2()
77 if (kill(pid, 0) && errno == ESRCH) in tst_process_exit_wait()
84 errno = ETIMEDOUT; in tst_process_exit_wait()
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt03.c42 #include <errno.h>
64 errno = 0; in main()
71 "shmget Failed: shmid = %d, errno = %d", in main()
72 shmid, errno); in main()
81 tst_resm(TFAIL, "shmat Failed: shmid = %d, errno = %d", in main()
82 shmid, errno); in main()
95 tst_resm(TFAIL, "shmat Failed: shmid = %d, errno = %d", in main()
96 shmid, errno); in main()
129 "shmctl Failed to remove: shmid = %d, errno = %d", in rm_shm()
130 shmid, errno); in rm_shm()
[all...]
H A Dshmt07.c44 #include <errno.h>
70 errno = 0; in main()
75 "Error: shmget: shmid = %d, errno = %d", in main()
76 shmid, errno); in main()
83 "Error: shmat: shmid = %d, errno = %d", in main()
84 shmid, errno); in main()
112 while (wait(&status) < 0 && errno == EINTR) ; in main()
127 "shmctl Failed to remove: shmid = %d, errno = %d", in rm_shm()
128 shmid, errno); in rm_shm()
/third_party/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink04.c41 * Log the errno and Issue a FAIL message.
49 * Print errno log and/or timing stats if options given
55 * -e : Turn on errno logging.
74 #include <errno.h>
111 tst_resm(TFAIL, "symlink(%s, %s) Failed, errno=%d : %s", in main()
122 errno); in main()
171 "open(%s, O_RDWR|O_CREAT, %#o) Failed, errno=%d : %s", in setup()
172 TESTFILE, FILE_MODE, errno, strerror(errno)); in setup()
177 tst_resm(TBROK, "close(%s) Failed, errno in setup()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D7-2.c37 #include <errno.h>
54 printf("Error at open(): %s\n", strerror(errno)); in main()
61 printf("Error at write(): %s\n", strerror(errno)); in main()
67 printf("Error at mmap(): %s\n", strerror(errno)); in main()
75 printf("Error at msync(): %s\n", strerror(errno)); in main()
84 printf("Error at 2nd mmap(): %s\n", strerror(errno)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D6-1.c41 #include <errno.h>
89 UNRESOLVED(errno, "opendir failed"); in main()
105 UNRESOLVED(errno, "Failed to fork"); in main()
121 UNRESOLVED(errno, "Failed to close dir in child"); in main()
132 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main()
143 UNRESOLVED(errno, "Failed to closedir in parent"); in main()
/third_party/skia/third_party/externals/swiftshader/src/System/Linux/
H A DMemFd.cpp18 #include <errno.h>
70 // In the event of no system call this returns -1 with errno set in allocate()
75 TRACE("memfd_create() returned %d: %s", errno, strerror(errno)); in allocate()
81 TRACE("ftruncate() %lld returned %d: %s", (long long)size, errno, strerror(errno)); in allocate()
98 TRACE("LinuxMemFd::close() failed with: %s", strerror(errno)); in close()
/third_party/ntfs-3g/libntfs-3g/
H A Ddir.c34 #include <errno.h>
236 * On error, return -1 with errno set to the error code. If the inode is is not
237 * found errno is ENOENT.
270 errno = EINVAL; in ntfs_inode_lookup_by_name()
326 errno = EIO; in ntfs_inode_lookup_by_name()
367 errno = ENOENT; in ntfs_inode_lookup_by_name()
403 errno = EIO; in ntfs_inode_lookup_by_name()
412 errno = EIO; in ntfs_inode_lookup_by_name()
434 errno = EIO; in ntfs_inode_lookup_by_name()
447 errno in ntfs_inode_lookup_by_name()
[all...]

Completed in 19 milliseconds

1...<<21222324252627282930>>...608