Home
last modified time | relevance | path

Searched refs:errno (Results 676 - 700 of 5902) sorted by relevance

1...<<21222324252627282930>>...237

/third_party/node/tools/
H A Dinstall.py6 import errno namespace
30 if e.errno != errno.ENOENT: raise
42 if e.errno != errno.EEXIST: raise
50 if e.errno == errno.ENOTEMPTY: return
51 if e.errno == errno.ENOENT: return
/third_party/ntfs-3g/libntfs-3g/
H A Dlogging.c32 #include <errno.h>
320 int olderr = errno; in ntfs_log_redirect()
328 errno = olderr; in ntfs_log_redirect()
332 errno = olderr; in ntfs_log_redirect()
366 int ret, olderr = errno; in ntfs_log_handler_syslog()
369 if ((level & NTFS_LOG_LEVEL_PERROR) && errno == ENOSPC) in ntfs_log_handler_syslog()
387 errno = olderr; in ntfs_log_handler_syslog()
443 int olderr = errno; in ntfs_log_handler_fprintf()
487 errno = olderr; in ntfs_log_handler_fprintf()
H A Drunlist.c40 #include <errno.h>
102 * On error, return NULL with errno set to the error code.
119 * or NULL if reallocation was not possible (with errno set)
137 errno = ENOMEM; in ntfs_rl_extend()
145 errno = EIO; in ntfs_rl_extend()
218 * On error, return NULL, with errno set to the error code. Both runlists are
230 errno = EINVAL; in ntfs_rl_append()
285 * On error, return NULL, with errno set to the error code. Both runlists are
298 errno = EINVAL; in ntfs_rl_insert()
381 * On error, return NULL, with errno se
[all...]
H A Dreparse.c32 #include <errno.h>
169 olderrno = errno; in ntfs_fix_file_name()
171 if (errno == ENOENT) in ntfs_fix_file_name()
172 errno = olderrno; in ntfs_fix_file_name()
390 * -1 if there was an error (described by errno)
411 olderrno = errno; in ntfs_drive_letter()
416 if (errno == ENOENT) { in ntfs_drive_letter()
418 /* avoid errno pollution */ in ntfs_drive_letter()
419 errno = olderrno; in ntfs_drive_letter()
452 errno in ntfs_reparse_check_wsl()
[all...]
/third_party/musl/src/regex/
H A Dglob.c9 #include <errno.h>
108 if (errno!=ENOENT && (errfunc(buf, errno) || (flags & GLOB_ERR))) in do_glob()
129 if (errfunc(buf, errno) || (flags & GLOB_ERR)) in do_glob()
133 int old_errno = errno; in do_glob()
135 while (errno=0, de=readdir(dir)) { in do_glob()
166 int readerr = errno; in do_glob()
169 if (readerr && (errfunc(buf, errno) || (flags & GLOB_ERR))) in do_glob()
171 errno = old_errno; in do_glob()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dwaiter.cc36 #include <errno.h>
238 ABSL_RAW_LOG(FATAL, "sem_init failed with errno %d\n", errno); in Waiter()
245 ABSL_RAW_LOG(FATAL, "sem_destroy failed with errno %d\n", errno); in ~Waiter()
276 if (errno == EINTR) continue; in Wait()
277 ABSL_RAW_LOG(FATAL, "sem_wait failed: %d", errno); in Wait()
280 if (errno == EINTR) continue; in Wait()
281 if (errno == ETIMEDOUT) return false; in Wait()
282 ABSL_RAW_LOG(FATAL, "sem_timedwait failed: %d", errno); in Wait()
[all...]
/third_party/selinux/libselinux/src/
H A Dget_context_list.c2 #include <errno.h>
43 errno = EINVAL; in get_default_context_with_role()
152 errno = EINVAL; in get_context_user()
205 errno = ENOENT; in get_context_user()
228 errno = EINVAL; in get_context_user()
243 if (errno != EINVAL) { in get_context_user()
338 if (security_check_context(*newcon) && errno != ENOENT) { in get_failsafe_context()
441 if (rc < 0 && errno != ENOENT) { in get_ordered_context_list()
454 if (rc < 0 && errno != ENOENT) { in get_ordered_context_list()
H A Dlabel_backends_android.c9 #include <errno.h>
62 errno = EINVAL; in nodups_specs()
116 errno = EINVAL; in process_line()
133 errno = EINVAL; in process_line()
171 errno = EINVAL; in init()
260 errno = ENOENT; in property_lookup()
275 errno = ENOENT; in property_lookup()
294 errno = ENOENT; in service_lookup()
307 errno = ENOENT; in service_lookup()
/third_party/musl/src/linux/liteos_a/
H A Dcap.c16 #include <errno.h>
186 errno = EINVAL; in linux_capget()
196 errno = EINVAL; in linux_capget()
215 errno = EINVAL; in linux_capset()
220 errno = EPERM; in linux_capset()
230 errno = EINVAL; in linux_capset()
/third_party/musl/porting/liteos_a/user/src/linux/
H A Dcap.c32 #include <errno.h>
202 errno = EINVAL; in linux_capget()
212 errno = EINVAL; in linux_capget()
231 errno = EINVAL; in linux_capset()
236 errno = EPERM; in linux_capset()
246 errno = EINVAL; in linux_capset()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dnftw.c4 #include <errno.h>
32 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw()
34 else if (errno != EACCES) return -1; in do_nftw()
83 errno = ENAMETOOLONG; in do_nftw()
95 } else if (errno != EACCES) { in do_nftw()
117 errno = ENAMETOOLONG; in nftw()
/third_party/libevdev/test/
H A Dtest-kernel.c7 #include <errno.h>
63 if (rc == -1 && errno == EINVAL) { in START_TEST()
67 ck_assert_msg(rc == 0, "Failed to revoke device: %s", strerror(errno)); in START_TEST()
108 ck_assert_int_eq(errno, EINVAL); in START_TEST()
135 if (rc == -1 && errno == EINVAL) { in START_TEST()
139 ck_assert_msg(rc == 0, "Failed to revoke device: %s", strerror(errno)); in START_TEST()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify23.c19 #include <errno.h>
69 errno = 0; in verify_mark_removed()
72 if (ret == -1 && errno == ENOENT) { in verify_mark_removed()
105 errno = 0; in test_fanotify()
109 if (ret == -1 && errno == EEXIST) { in test_fanotify()
155 if (ret < 0 && errno == EAGAIN) { in test_fanotify()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D14-1.c26 #include <errno.h>
108 } while ((ret == -1) && (errno == EINTR)); in threaded()
111 UNRESOLVED(errno, "Failed to wait for the semaphore"); in threaded()
165 } while ((ret == -1) && (errno == EINTR)); in test()
167 UNRESOLVED(errno, "Failed to wait for the semaphore"); in test()
205 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main_loop()
/third_party/musl/libc-test/src/functional/
H A Dmemstream.c4 #include <errno.h>
12 #define TEST_E(f) ( (errno = 0), (f) || \
13 (t_error("%s failed (errno = %d)\n", #f, errno), 0) )
48 TEST(i, errno, EINVAL, "%d != %d"); in main()
65 errno = 0; in main()
67 TEST(i, errno!=0, 1, ""); in main()
/third_party/python/Lib/ctypes/test/
H A Dtest_win32.py74 import errno namespace
77 args = (errno.EINVAL, msg, None, ERROR_INVALID_PARAMETER)
81 self.assertEqual(e.errno, errno.EINVAL)
90 self.assertEqual(e.errno, errno.EINVAL)
/third_party/pulseaudio/src/pulse/
H A Dmainloop-signal.c27 #include <errno.h>
67 saved_errno = errno; in signal_handler()
76 errno = saved_errno; in signal_handler()
101 if (errno == EAGAIN) in callback()
104 pa_log("read(): %s", pa_cstrerror(errno)); in callback()
125 pa_log("pipe(): %s", pa_cstrerror(errno)); in pa_signal_init()
/third_party/protobuf/src/google/protobuf/testing/
H A Dfile.cc46 #include <errno.h>
96 GOOGLE_LOG(ERROR) << "fopen(" << name << ", \"wb\"): " << strerror(errno); in WriteStringToFile()
101 GOOGLE_LOG(ERROR) << "fwrite(" << name << "): " << strerror(errno); in WriteStringToFile()
115 << "fopen(" << name << ", \"wb\"): " << strerror(errno); in WriteStringToFileOrDie()
118 << "fwrite(" << name << "): " << strerror(errno); in WriteStringToFileOrDie()
120 << "fclose(" << name << "): " << strerror(errno); in WriteStringToFileOrDie()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Dnetlink.c51 if (errno != EINTR && errno != EAGAIN) in netlink_receive()
53 strerror(errno)); in netlink_receive()
103 "socket: %s", strerror(errno)); in netlink_init()
114 "socket: %s", strerror(errno)); in netlink_init()
222 strerror(errno)); in netlink_send_oper_ifla()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Dnetlink.c51 if (errno != EINTR && errno != EAGAIN) in netlink_receive()
53 strerror(errno)); in netlink_receive()
103 "socket: %s", strerror(errno)); in netlink_init()
114 "socket: %s", strerror(errno)); in netlink_init()
222 strerror(errno)); in netlink_send_oper_ifla()
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
H A Dhdi_drm_composition.cpp80 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set fb id fialed errno : %{public}d", errno)); in ApplyPlane()
86 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set crtc id fialed errno : %{public}d", errno)); in ApplyPlane()
101 DISPLAY_LOGE("can not add the active prop errno %{public}d", errno)); in UpdateMode()
109 DISPLAY_LOGE("can not add the mode prop errno %{public}d", errno)); in UpdateMode()
114 DISPLAY_LOGE("can not add the crtc id prop %{public}d", errno)); in UpdateMode()
131 DISPLAY_LOGE("drm atomic alloc failed errno in Apply()
[all...]
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Dframebuffer_allocator.cpp52 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOPUT_VSCREENINFO failed errno : %d", errno)); in SetFdFormatAndVirtualRes()
61 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_FSCREENINFO failed errno : %d", errno)); in InitFb()
64 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_VSCREENINFO failed errno : %d", errno)); in InitFb()
67 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE(" failed to set fb format errno : %d", errno)); in InitFb()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_VSCREENINFO failed errno : %d", errno)); in InitFb()
[all...]
/third_party/alsa-utils/alsactl/
H A Dinit_utils_run.c74 Perror(space, "pipe failed: %s", strerror(errno)); in run_program0()
80 Perror(space, "pipe failed: %s", strerror(errno)); in run_program0()
111 Perror(space, "open /dev/null failed: %s", strerror(errno)); in run_program0()
126 Perror(space, "fork of '%s' failed: %s", argv[0], strerror(errno)); in run_program0()
152 if (errno == EINTR) in run_program0()
169 Perror(space, "stdin read failed: %s", strerror(errno)); in run_program0()
203 Perror(space, "stderr read failed: %s", strerror(errno)); in run_program0()
/third_party/FreeBSD/sbin/newfs_msdos/
H A Dnewfs_msdos.c33 #include <errno.h>
61 errno = 0; in get_tstamp()
63 if (b == eb || *eb || errno) in get_tstamp()
198 errno = 0; in argtou()
200 if (errno || !*arg || *s || x < lo || x > hi) in argtou()
214 errno = 0; in argtooff()
217 if (errno || x < 0 || (s[0] && s[1]) ) in argtooff()
/third_party/libuv/src/unix/
H A Dnetbsd.c26 #include <errno.h>
85 return UV__ERR(errno); in uv_exepath()
176 return UV__ERR(errno); in uv_uptime()
200 return UV__ERR(errno); in uv_cpu_info()
205 return UV__ERR(errno); in uv_cpu_info()
219 return UV__ERR(errno); in uv_cpu_info()
254 return UV__ERR(errno); in uv__random_sysctl()

Completed in 13 milliseconds

1...<<21222324252627282930>>...237