Home
last modified time | relevance | path

Searched refs:errno (Results 376 - 400 of 6859) sorted by relevance

1...<<11121314151617181920>>...275

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_CROPCAP.c5 * 28 Mar 2009 0.5 Clean up ret and errno variable names and dprintf() output
22 #include <errno.h>
26 #include <linux/errno.h>
46 errno_cap = errno; in do_ioctl_VIDIOC_CROPCAP()
162 errno_get = errno; in test_VIDIOC_CROPCAP_enum_INPUT()
173 ("\t%s:%u: ENUMINPUT: i=%u, enum_ret=%i, errno=%i\n", in test_VIDIOC_CROPCAP_enum_INPUT()
174 __FILE__, __LINE__, i, enum_ret, errno); in test_VIDIOC_CROPCAP_enum_INPUT()
179 errno_set = errno; in test_VIDIOC_CROPCAP_enum_INPUT()
197 errno_set = errno; in test_VIDIOC_CROPCAP_enum_INPUT()
219 errno_capture = errno; in test_VIDIOC_CROPCAP_NULL()
[all...]
H A Dtest_VIDIOC_ENUM_FRAMESIZES.c16 #include <errno.h>
20 #include <linux/errno.h>
62 errno_frame = errno; in do_test_VIDIOC_ENUM_FRAMESIZES()
174 errno_enum = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_type()
212 errno_frame = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
228 errno_frame = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
244 errno_frame = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
261 errno_frame = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
278 errno_frame = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
304 errno_enum = errno; in do_test_VIDIOC_ENUM_FRAMESIZES_type_invalid_index()
[all...]
/third_party/ltp/testcases/kernel/fs/inode/
H A Dinode01.c57 #include <errno.h>
62 #include <errno.h>
123 fprintf(temp, "\tSIGTERM signal set failed!, errno=%d\n", in main()
124 errno); in main()
169 "\t\n%s The path_list file cannot be created, errno=%d \n", in main()
170 root, errno); in main()
214 "\t\n%s The path_list file cannot be opened for reading, errno=%d\n", in main()
215 root, errno); in main()
243 "Failed to close list_stream: ret=%d errno=%d (%s)\n", in main()
244 status, errno, strerro in main()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dsignal.c25 #include <errno.h>
122 } while (r < 0 && errno == EINTR); in uv__signal_lock()
134 } while (r < 0 && errno == EINTR); in uv__signal_unlock()
188 saved_errno = errno; in uv__signal_handler()
192 errno = saved_errno; in uv__signal_handler()
210 } while (r == -1 && errno == EINTR); in uv__signal_handler()
213 (r == -1 && (errno == EAGAIN || errno == EWOULDBLOCK))); in uv__signal_handler()
220 errno = saved_errno; in uv__signal_handler()
239 return UV__ERR(errno); in uv__signal_register_handler()
[all...]
H A Dopenbsd.c31 #include <errno.h>
85 if (errno != ENOMEM) { in uv_exepath()
86 err = UV__ERR(errno); in uv_exepath()
119 return UV__ERR(errno); in uv_get_free_memory()
131 return UV__ERR(errno); in uv_get_total_memory()
156 return UV__ERR(errno); in uv_resident_set_memory()
170 return UV__ERR(errno); in uv_uptime()
193 return UV__ERR(errno); in uv_cpu_info()
198 return UV__ERR(errno); in uv_cpu_info()
239 return UV__ERR(errno); in uv_cpu_info()
[all...]
/third_party/python/Python/
H A Dbootstrap_hash.c112 errno = 0; in py_getrandom()
145 if (errno == ENOSYS || errno == EPERM) { in py_getrandom()
155 if (errno == EAGAIN && !raise && !blocking) { in py_getrandom()
159 if (errno == EINTR) { in py_getrandom()
236 if (errno == ENOSYS || errno == EPERM) { in py_getentropy()
241 if (errno == EINTR) { in py_getentropy()
329 if (errno == ENOENT || errno in dev_urandom()
[all...]
/third_party/libfuse/util/
H A Dfusermount.c20 #include <errno.h>
149 progname, strerror(errno)); in lock_umount()
155 strerror(errno)); in lock_umount()
171 progname, strerror(errno)); in unlock_umount()
200 strerror(errno)); in may_unmount()
287 progname, strerror(errno)); in check_is_mount_child()
294 procmounts, strerror(errno)); in check_is_mount_child()
306 procmounts, strerror(errno)); in check_is_mount_child()
313 progname, strerror(errno)); in check_is_mount_child()
367 progname, strerror(errno)); in check_is_mount()
[all...]
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_sockopt.c55 #include <sys/errno.h>
175 if ((error != -1) && (errno != EINVAL)) in main()
177 "socket with no assoc error:%d errno:%d", in main()
178 error, errno); in main()
252 if ((error != -1) && (errno != EINVAL)) in main()
254 "associd error: %d errno:%d", error, errno); in main()
264 if ((error != -1) && (errno != EINVAL)) in main()
266 "NULL associd error: %d errno:%d", error, errno); in main()
[all...]
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_drm_composition.cpp66 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
76 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
81 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
96 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dacl.cpp117 errno = EAGAIN; in InsertEntry()
141 errno = EINVAL; in Serialize()
154 errno = EINVAL; in Serialize()
159 errno = ENOMEM; in Serialize()
164 errno = err; in Serialize()
175 errno = err; in Serialize()
188 errno = EINVAL; in DeSerialize()
189 return errno; in DeSerialize()
207 errno = EINVAL; in DeSerialize()
208 return errno; in DeSerialize()
[all...]
/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_restore_async.cpp112 throw BError(BError::Codes::TOOL_INVAL_ARG, generic_category().message(errno)); in OnFileReady()
117 throw BError(BError::Codes::TOOL_INVAL_ARG, generic_category().message(errno)); in OnFileReady()
196 printf("err create directory %d %s\n", errno, strerror(errno)); in ReadyExtManage()
200 printf("err rename %d %s\n", errno, strerror(errno)); in ReadyExtManage()
226 HILOGE("Failed to open json file = %{private}s, err = %{public}d", manageJsonStr.c_str(), errno); in AdapteCloneOptimize()
237 HILOGE("Failed to open json file = %{private}s, err = %{public}d", manageJsonStr.c_str(), errno); in AdapteCloneOptimize()
251 throw BError(BError::Codes::TOOL_INVAL_ARG, generic_category().message(errno)); in RestoreApp()
259 HILOGE("bundleName tar does not exist, file %{public}s errno in RestoreApp()
[all...]
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/
H A Dfile_share.cpp113 LOGE("Get path stat failed, err %{public}d", errno); in IsExistFile()
223 LOGE("Failed to make dir with %{public}d", errno); in MakeDir()
235 if (umount2(path.c_str(), MNT_DETACH) != 0 && errno == EBUSY) { in DeleteExistShareFile()
236 LOGE("Umount failed with %{public}d", errno); in DeleteExistShareFile()
239 if (remove(path.c_str()) != 0 && errno == EBUSY) { in DeleteExistShareFile()
240 LOGE("DeleteExistShareFile, remove failed with %{public}d", errno); in DeleteExistShareFile()
256 LOGE("DelSharePath, umount failed with %{public}d", errno); in DelSharePath()
259 LOGE("DelSharePath, remove failed with %{public}d", errno); in DelSharePath()
288 LOGE("Make dir failed with %{public}d", errno); in PreparePreShareDir()
289 return -errno; in PreparePreShareDir()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dshm.c33 #include <errno.h>
129 pa_log_error("mmap() failed: %s", pa_cstrerror(errno)); in privatemem_create()
179 pa_log_error("%s open() failed: %s", pa_mem_type_to_string(type), pa_cstrerror(errno)); in sharedmem_create()
188 pa_log_error("ftruncate() failed: %s", pa_cstrerror(errno)); in sharedmem_create()
197 pa_log_error("mmap() failed: %s", pa_cstrerror(errno)); in sharedmem_create()
258 pa_log_error("munmap() failed: %s", pa_cstrerror(errno)); in privatemem_free()
284 pa_log_error("munmap() failed: %s", pa_cstrerror(errno)); in pa_shm_free()
292 pa_log_error(" shm_unlink(%s) failed: %s", fn, pa_cstrerror(errno)); in pa_shm_free()
371 if ((errno != EACCES && errno ! in shm_attach()
[all...]
/foundation/resourceschedule/ffrt/test/testfunc/
H A Dutil.cpp140 printf("perf_event_open fail! errno:%d %s\n", errno, strerror(errno)); in perf_single_event()
148 printf("perf data read fail! errno:%d %s\n", errno, strerror(errno)); in perf_single_event()
171 printf("perf_event_open fail! errno:%d %s\n", errno, strerror(errno)); in perf_event2()
184 printf("perf_event_open fail! errno in perf_event2()
[all...]
/third_party/libsnd/tests/
H A Dwin32_test.c36 #include <errno.h>
120 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_fstat_error()
130 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_fstat_error()
149 { printf ("\n\nLine %d: fstat() returned error : %s\n", __LINE__, strerror (errno)) ; in show_fstat_error()
180 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_lseek_error()
190 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_lseek_error()
241 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_stat_fstat_error()
250 { printf ("\n\nLine %d: stat() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_stat_fstat_error()
256 { printf ("\n\nLine %d: fstat() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_stat_fstat_error()
289 { printf ("\n\nLine %d: fopen() failed : %s\n\n", __LINE__, strerror (errno)) ; in write_to_closed_file()
[all...]
/third_party/libuv/src/unix/
H A Dfreebsd.c26 #include <errno.h>
74 return UV__ERR(errno); in uv_exepath()
151 return UV__ERR(errno); in uv_resident_set_memory()
170 return UV__ERR(errno); in uv_uptime()
212 return -errno; in uv_cpu_info()
217 return UV__ERR(errno); in uv_cpu_info()
221 return UV__ERR(errno); in uv_cpu_info()
235 return UV__ERR(errno); in uv_cpu_info()
249 return UV__ERR(errno); in uv_cpu_info()
283 return errno in uv__fs_copy_file_range()
[all...]
/third_party/musl/porting/liteos_a/kernel/include/
H A Derrno.h10 #include <bits/errno.h>
16 #define errno (*__errno_location()) macro
18 #define set_errno(err) do { if (err) { errno = (err); } } while(0)
19 #define get_errno() errno
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
H A D8-1.c15 #include <errno.h>
23 if (result == 0 && errno == 0) { in main()
26 } else if (errno == 0) { in main()
29 } else if (errno == EPERM) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/speculative/
H A D7-1.c11 * Test if sched_getparam() sets errno == EFAULT or EINVAL if param points to
19 #include <errno.h>
28 if (result == -1 && errno == EFAULT) { in main()
29 printf("sched_getparam() sets errno == EFAULT " in main()
33 if (result == -1 && errno == EINVAL) { in main()
34 printf("sched_getparam() sets errno == EINVAL " in main()
39 printf("sched_getparam() return %i and sets errno == %i.\n", in main()
40 result, errno); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/speculative/
H A D5-1.c11 * Test if sched_rr_get_interval() sets errno == EFAULT or EINVAL if *interval
19 #include <errno.h>
29 if (result == -1 && errno == EFAULT) { in main()
31 ("sched_rr_get_interval() sets errno == EFAULT when interval argument points to NULL\n"); in main()
34 if (result == -1 && errno == EINVAL) { in main()
36 ("sched_rr_get_interval() sets errno == EINVAL when interval argument points to NULL\n"); in main()
40 printf("sched_rr_get_interval() return %i and sets errno == %i.\n", in main()
41 result, errno); in main()
/third_party/musl/libc-test/src/functionalext/supplement/process/
H A Dexecl.c16 #include <errno.h>
27 errno = 0; in execl_0100()
34 if (errno != 0) { in execl_0100()
35 t_error("%s failed, errno is %d\n", __func__, errno); in execl_0100()
/third_party/musl/libc-test/src/functionalext/supplement/sched/
H A Dsched_getcpu.c17 #include <errno.h>
28 errno = 0; in sched_getcpu_0100()
33 if (errno != 0) { in sched_getcpu_0100()
34 t_error("%s errno is %d\n", errno); in sched_getcpu_0100()
/third_party/node/test/parallel/
H A Dtest-fs-error-messages.js76 assert.strictEqual(err.errno, UV_ENOENT);
97 assert.strictEqual(err.errno, UV_ENOENT);
114 assert.strictEqual(err.errno, UV_EBADF);
137 assert.strictEqual(err.errno, UV_ENOENT);
158 assert.strictEqual(err.errno, UV_ENOENT);
179 assert.strictEqual(err.errno, UV_ENOENT);
203 assert.strictEqual(err.errno, UV_ENOENT);
226 assert.strictEqual(err.errno, UV_EEXIST);
249 assert.strictEqual(err.errno, UV_EEXIST);
270 assert.strictEqual(err.errno, UV_ENOEN
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp110 if (MkDir(subPath, mode) != 0 && errno != EEXIST) { in MkDirRecurse()
119 // On success, true is returned. On error, false is returned, and errno is set appropriately.
127 if (errno != ENOENT) { in PrepareDir()
128 LOGE("failed to lstat, errno %{public}d", errno); in PrepareDir()
138 LOGE("dir exists and failed to chmod, errno %{public}d", errno); in PrepareDir()
143 LOGE("dir exists and failed to chown, errno %{public}d", errno); in PrepareDir()
152 LOGE("failed to mkdir, errno in PrepareDir()
[all...]
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_file_utils.cpp192 RINGTONE_ERR_LOG("Failed to get file %{private}s StatInfo, err=%{public}d", srcPath.c_str(), errno); in IsSameFile()
196 RINGTONE_ERR_LOG("Failed to get file %{private}s StatInfo, err=%{public}d", dstPath.c_str(), errno); in IsSameFile()
212 RINGTONE_ERR_LOG("Failed to remove errno: %{public}d, path: %{private}s", errno, fpath); in UnlinkCb()
228 *errCodePtr = errno; in Mkdir()
230 RINGTONE_ERR_LOG("Failed to create directory %{public}d", errno); in Mkdir()
232 return (errno == EEXIST) ? true : false; in Mkdir()
247 *errCodePtr = errno; in IsDirectory()
312 errno, filePath.c_str()); in OpenFile()
356 errno, filePat in OpenVibrateFile()
[all...]

Completed in 14 milliseconds

1...<<11121314151617181920>>...275