Home
last modified time | relevance | path

Searched refs:errno (Results 726 - 750 of 14561) sorted by relevance

1...<<21222324252627282930>>...583

/kernel/linux/linux-6.6/samples/bpf/
H A Dtest_cgrp2_attach.c27 #include <errno.h>
101 printf("Failed to create map: '%s'\n", strerror(errno)); in attach_filter()
109 printf("Failed to load prog: '%s'\n", strerror(errno)); in attach_filter()
116 strerror(errno)); in attach_filter()
165 printf("Failed to open cgroup path: '%s'\n", strerror(errno)); in main()
172 strerror(errno), errno); in main()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
H A Dprocess_test_013.cpp71 ret = errno; in TestCase()
79 ret = errno; in TestCase()
84 ret = errno; in TestCase()
89 ret = errno; in TestCase()
94 ret = errno; in TestCase()
99 ret = errno; in TestCase()
104 ret = errno; in TestCase()
/test/xts/acts/kernel_lite/utils/
H A Dmt_utils.cpp22 #include <errno.h>
118 LOG("> shmget errno = %d", errno); in InitGlobalVariable()
128 LOG("> shmat errno = %d", errno); in SetGlobalVariable()
133 LOG("> shmdt errno = %d", errno); in SetGlobalVariable()
144 LOG("> shmat errno = %d", errno); in GetGlobalVariable()
149 LOG("> shmdt errno in GetGlobalVariable()
[all...]
/test/xts/acts/commonlibrary/toolchain/libc-test/src/
H A Dtoolchaintest.cpp57 printf("exe:%d %s exec failed: %s\n", exe, argvs, strerror(errno)); in Start()
75 printf("signal triggering failed:%s\n", strerror(errno)); in RunTests()
80 printf("%s fork failed: %s\n", argvs, strerror(errno)); in RunTests()
90 if (errno == EAGAIN) { in RunTests()
93 printf("%s sigtimedwait failed: %s\n", argvs, strerror(errno)); in RunTests()
96 printf("%s kill failed: %s\n", argvs, strerror(errno)); in RunTests()
101 printf("%s waitpid failed: %s\n", argvs, strerror(errno)); in RunTests()
/test/xts/hats/kernel/freelist/encode_pointer/
H A DMalloc_encode_pointer.cpp91 printf("Malloc d0 failed: %s\n", strerror(errno)); in child()
98 printf("Malloc d1 failed: %s\n", strerror(errno)); in child()
154 printf(" fork failed: %s\n", strerror(errno)); in HWTEST_F()
157 if (errno == EAGAIN) { in HWTEST_F()
161 printf("sigtimedwait failed: %s\n", strerror(errno)); in HWTEST_F()
164 printf(" kill failed: %s\n", strerror(errno)); in HWTEST_F()
169 printf("waitpid failed: %s\n", strerror(errno)); in HWTEST_F()
/third_party/eudev/src/shared/
H A Dmkdir.c23 #include <errno.h>
37 return -errno; in mkdir_safe_internal()
40 return -errno; in mkdir_safe_internal()
102 if (r < 0 && errno != EEXIST) in mkdir_parents_internal()
103 return -errno; in mkdir_parents_internal()
121 if (r < 0 && (errno != EEXIST || is_dir(path, true) <= 0)) in mkdir_p_internal()
122 return -errno; in mkdir_p_internal()
/third_party/eudev/src/udev/
H A Dudev-watch.c21 #include <errno.h>
42 log_error_errno(errno, "inotify_init failed: %m"); in udev_watch_init()
59 log_error_errno(errno, "unable to open old watches dir " UDEV_ROOT_RUN "/udev/watch.old; old watches will not be restored: %m"); in udev_watch_restore()
90 } else if (errno != ENOENT) { in udev_watch_restore()
91 log_error_errno(errno, "unable to move watches dir " UDEV_ROOT_RUN "/udev/watch; old watches will not be restored: %m"); in udev_watch_restore()
106 log_error_errno(errno, "inotify_add_watch(%d, %s, %o) failed: %m", in udev_watch_begin()
116 log_error_errno(errno, "Failed to create symlink %s: %m", filename); in udev_watch_begin()
/third_party/ffmpeg/tools/
H A Dzmqsend.c88 "Impossible to open input file '%s': %s\n", infilename, strerror(errno)); in main()
95 "Could not create ZMQ context: %s\n", zmq_strerror(errno)); in main()
102 "Could not create ZMQ socket: %s\n", zmq_strerror(errno)); in main()
109 bind_address, zmq_strerror(errno)); in main()
129 av_log(NULL, AV_LOG_ERROR, "Could not send message: %s\n", zmq_strerror(errno)); in main()
136 "Could not initialize receiving message: %s\n", zmq_strerror(errno)); in main()
143 "Could not receive message: %s\n", zmq_strerror(errno)); in main()
/third_party/alsa-lib/src/timer/
H A Dtimer_query_hw.c38 res = close(handle->poll_fd) < 0 ? -errno : 0; in snd_timer_query_hw_close()
47 return -errno; in snd_timer_query_hw_next_device()
56 return -errno; in snd_timer_query_hw_info()
65 return -errno; in snd_timer_query_hw_params()
74 return -errno; in snd_timer_query_hw_status()
98 return -errno; in snd_timer_query_hw_open()
101 return -errno; in snd_timer_query_hw_open()
/third_party/cups-filters/backend/
H A Dcups-brf.c29 #include <errno.h>
102 if (ret == -1 && errno != EEXIST) { in main()
103 fprintf(stderr, "ERROR: could not create directory \"%s\": %s\n", dir, strerror(errno)); in main()
131 fprintf(stderr, "ERROR: could not create file \"%s\": %s\n", outfile, strerror(errno)); in main()
140 fprintf(stderr, "ERROR: while reading input: %s\n", strerror(errno)); in main()
151 fprintf(stderr, "ERROR: while writing to \"%s\": %s\n", outfile, strerror(errno)); in main()
157 fprintf(stderr, "ERROR: while closing \"%s\": %s\n", outfile, strerror(errno)); in main()
/third_party/ltp/lib/
H A Dtst_fs_link_count.c19 #include <errno.h>
49 if (stat(dir, &s) == -1 && errno == ENOENT) in tst_fs_fill_hardlinks_()
67 switch (errno) { in tst_fs_fill_hardlinks_()
90 link_filename, strerror(errno)); in tst_fs_fill_hardlinks_()
113 if (stat(dir, &s) == -1 && errno == ENOENT) in tst_fs_fill_subdirs_()
142 switch (errno) { in tst_fs_fill_subdirs_()
166 strerror(errno)); in tst_fs_fill_subdirs_()
H A Dtst_fill_fs.c6 #include <errno.h>
40 if (errno != ENOSPC) in fill_random()
52 if (errno == ENOSPC && len >= fi.f_bsize/2) { in fill_random()
60 if (errno != ENOSPC) in fill_random()
83 if (errno == ENOSPC) { in fill_flat_vec()
92 if (errno == ENOSPC) { in fill_flat_vec()
123 if (errno != ENOSPC) in fill_flat_vec()
/third_party/node/test/parallel/
H A Dtest-net-server-listen-handle.js40 let handle, errno, handleName;
43 errno = handle.bind('0.0.0.0', 0);
48 errno = handle.bind(path);
52 if (errno < 0) {
53 assert.fail(`unable to bind ${handleName}: ${getSystemErrorName(errno)}`);
59 `Bound ${handleName} has fd -1 and errno ${errno}`);
/third_party/musl/src/misc/
H A Drealpath.c3 #include <errno.h>
22 errno = EINVAL; in realpath()
27 errno = ENOENT; in realpath()
98 errno = ENOENT; in realpath()
102 if (errno != EINVAL) return 0; in realpath()
115 errno = ELOOP; in realpath()
154 errno = ENAMETOOLONG; in realpath()
/third_party/musl/libc-test/src/regression/
H A Dmalloc-modify-pointer.c20 #include <errno.h>
68 t_error("Malloc failed:%s\n", strerror(errno)); in child()
116 t_error("%s fork failed: %s\n", argv[0], strerror(errno)); in main()
120 if (errno == EAGAIN) in main()
123 t_error("%s sigtimedwait failed: %s\n", argv[0], strerror(errno)); in main()
125 t_error("%s kill failed: %s\n", argv[0], strerror(errno)); in main()
129 t_error("%s waitpid failed: %s\n", argv[0], strerror(errno)); in main()
/third_party/mesa3d/src/util/
H A Dlibsync.h32 #include <errno.h>
117 errno = EINVAL; in sync_wait()
122 errno = ETIME; in sync_wait()
127 } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); in sync_wait()
142 } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); in sync_merge()
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt04.c47 #include <errno.h>
90 tst_resm(TFAIL, "Error: shmget: shmid = %d, errno = %d", in main()
91 shmid, errno); in main()
102 "Error: shmat: shmid = %d, errno = %d", in main()
103 shmid, errno); in main()
120 while ((pid1 = wait(&status)) < 0 && (errno == EINTR)) ; in main()
158 "Error: shmget: errno=%d, shmid=%d, child_pid=%d", in child()
159 errno, shmid, chld_pid); in child()
166 "Error: shmat: errno=%d, shmid=%d, child_pid=%d", in child()
167 errno, shmi in child()
[all...]
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages11.c36 * 4. Check if errno is set to EPERM.
59 #include <errno.h>
99 tst_resm(TWARN, "error post semaphore: %s", strerror(errno)); in child()
103 tst_resm(TWARN, "error wait semaphore: %s", strerror(errno)); in child()
157 strerror(errno)); in main()
166 strerror(errno)); in main()
170 if (ret == -1 && errno == EPERM) in main()
180 strerror(errno)); in main()
/third_party/ltp/utils/sctp/lib/
H A Dconnectx.c25 #include <errno.h>
58 errno = EINVAL; in __connectx_addrsize()
101 if (status < 0 && errno != ENOPROTOOPT) in __connectx()
108 errno = ENOPROTOOPT; in __connectx()
148 if (status == 0 || errno == EINPROGRESS) { in sctp_connectx3()
156 if (errno != ENOPROTOOPT) { in sctp_connectx3()
174 errno = ENOPROTOOPT; in sctp_connectx3()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
H A D1-2.c31 #include <errno.h>
60 printf(TNAME " Error at open(): %s\n", strerror(errno)); in main()
69 printf(TNAME " Error at write(): %s\n", strerror(errno)); in main()
74 printf(TNAME " Error at write(): %s\n", strerror(errno)); in main()
86 printf(TNAME " Error at aio_write(): %s\n", strerror(errno)); in main()
113 printf(TNAME " Error at lseek(): %s\n", strerror(errno)); in main()
120 printf(TNAME " Error at read(): %s\n", strerror(errno)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D11-4.c41 #include <errno.h>
74 printf("Error at statfs(): %s\n", strerror(errno)); in main()
92 printf("Error at open(): %s\n", strerror(errno)); in main()
96 printf("Error at ftruncate(): %s\n", strerror(errno)); in main()
102 printf("Error at mmap(): %s\n", strerror(errno)); in main()
121 printf("Error at fork(): %s\n", strerror(errno)); in main()
143 printf("Error at 2nd mmap(): %s\n", strerror(errno)); in main()
H A D13-1.c31 #include <errno.h>
60 printf("Error at open(): %s\n", strerror(errno)); in main()
67 printf("Error at write(): %s\n", strerror(errno)); in main()
73 printf("Error at 1st stat(): %s\n", strerror(errno)); in main()
85 printf("Error at mmap: %s\n", strerror(errno)); in main()
91 printf("Error at 2nd stat(): %s\n", strerror(errno)); in main()
114 printf("Error at 3rd stat(): %s\n", strerror(errno)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
H A D3-1.c36 #include <errno.h>
85 printf(TNAME " Error at open(): %s\n", strerror(errno)); in main()
97 printf(TNAME " Error at sigaction(): %s\n", strerror(errno)); in main()
107 strerror(errno)); in main()
115 strerror(errno)); in main()
133 i, strerror(errno)); in main()
143 printf(TNAME " Error at aio_cancel(): %s\n", strerror(errno)); in main()
H A D5-1.c33 #include <errno.h>
62 printf(TNAME " Error at open(): %s\n", strerror(errno)); in main()
74 strerror(errno)); in main()
80 strerror(errno)); in main()
91 i, strerror(errno)); in main()
101 printf(TNAME " Error at aio_cancel(): %s\n", strerror(errno)); in main()
117 strerror(errno)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
H A D3-3.c40 #include <errno.h>
118 UNRESOLVED(errno, "Sem_wait in sendsig"); in sendsig()
127 UNRESOLVED(errno, "Kill in sendsig"); in sendsig()
142 UNRESOLVED(errno, "Sem_post in signal handler 1"); in sighdl1()
153 UNRESOLVED(errno, "Sem_post in signal handler 2"); in sighdl2()
246 UNRESOLVED(errno, "Semsig1 init"); in main()
250 UNRESOLVED(errno, "Semsig2 init"); in main()

Completed in 11 milliseconds

1...<<21222324252627282930>>...583