Home
last modified time | relevance | path

Searched refs:errno (Results 801 - 825 of 6539) sorted by relevance

1...<<31323334353637383940>>...262

/third_party/musl/libc-test/src/functionalext/supplement/legacy/legacy_gtest/
H A Dlegacy_endutent_test.cpp1 #include <errno.h>
22 errno = 0; in HWTEST_F()
27 EXPECT_EQ(0, errno); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dbrk.c16 #include <errno.h>
32 errno = 0; in brk_0100()
38 if (errno != ENOMEM) { in brk_0100()
39 t_error("%s errno should be ENOMEM\n", __func__); in brk_0100()
H A Dfanotify_init.c16 #include <errno.h>
29 errno = 0; in fanotify_init_0100()
33 switch (errno) { in fanotify_init_0100()
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_umount2_test.cpp1 #include <errno.h>
20 errno = 0; in HWTEST_F()
23 EXPECT_EQ(EFAULT, errno); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/
H A Dmisc_closelog_test.cpp1 #include <errno.h>
21 errno = 0; in HWTEST_F()
23 EXPECT_EQ(0, errno); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dif_nametoindex.c18 #include <errno.h>
29 int saved_errno = errno; in if_nametoindex_0100()
34 if (name == NULL && errno == ENXIO) { in if_nametoindex_0100()
H A Dif_indextoname.c18 #include <errno.h>
29 int saved_errno = errno; in if_indextoname_0100()
34 if (name == NULL && errno == ENXIO) { in if_indextoname_0100()
/third_party/musl/libc-test/src/functionalext/supplement/select/select_gtest/
H A Dselect_poll_test.cpp1 #include <errno.h>
21 errno = 0; in HWTEST_F()
24 EXPECT_TRUE(errno == 0); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/stdio_gtest/
H A Dstdio_clearerr_unlocked_test.cpp2 #include <errno.h>
23 errno = 0; in HWTEST_F()
29 EXPECT_EQ(0, errno); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/termios/
H A Dcfsetispeed.c16 #include <errno.h>
45 errno = 0; in cfsetispeed_0200()
50 if (errno != EINVAL) { in cfsetispeed_0200()
51 t_error("%s errno should be EINVAL", __func__); in cfsetispeed_0200()
/third_party/libcoap/src/
H A Dcoap_io.c500 if (ret == -1 && errno != ENOENT) {
503 coap_socket_strerror(), errno);
567 coap_socket_strerror(), errno);
605 coap_socket_strerror(), errno);
632 coap_socket_strerror(), errno);
652 errno = ENOMEM;
655 errno = EINVAL;
658 errno = EINTR;
661 errno = EBADF;
664 errno
[all...]
/foundation/multimodalinput/input/test/facility/virtual_device/src/
H A Dv_input_device.cpp60 std::cout << "Unable to open device '" << devPath_ << "': " << ::strerror(errno) << std::endl; in Open()
82 std::cout << "Close error: " << ::strerror(errno) << std::endl; in Close()
118 std::cout << "Failed to send event: " << ::strerror(errno) << std::endl; in SendEvent()
130 std::cout << "Could not get device name: " << ::strerror(errno) << std::endl; in QueryDeviceInfo()
137 std::cout << "Couldn't not get device input id: " << ::strerror(errno) << std::endl; in QueryDeviceInfo()
146 std::cout << "Couldn't get location: " << ::strerror(errno) << std::endl; in QueryDeviceInfo()
157 std::cout << "Could not get uniq: " << ::strerror(errno) << std::endl; in QueryDeviceInfo()
168 std::cout << "Could not get events " << eventName << " mask: " << ::strerror(errno) << std::endl; in GetEventMask()
176 std::cout << "Could not get " << eventName << " mask: " << ::strerror(errno) << std::endl; in GetPropMask()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp161 if (mkdir(path.c_str(), (S_IRWXU | S_IRWXG)) != 0 && errno != EEXIST) { in InitPath()
162 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath()
179 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile()
191 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetSubPath()
209 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetFiles()
238 ZLOGE("rename error:%{public}d, file:%{public}s->%{public}s", errno, oldName.c_str(), newName.c_str()); in Rename()
261 ZLOGE("remove error:%{public}d, path:%{public}s", errno, path.c_str()); in Remove()
285 ZLOGI("stat error:%{public}d, path:%{public}s", errno, path.c_str()); in RemoveRWXForOthers()
309 ZLOGE("chmod error:%{public}d, path:%{public}s", errno, path.c_str()); in RemoveRWXForOthers()
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp172 if (mkdir(path.c_str()) != 0 && errno != EEXIST) { in InitPath()
173 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath()
177 if (mkdir(path.c_str(), MODE) != 0 && errno != EEXIST) { in InitPath()
178 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath()
190 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile()
202 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetSubPath()
218 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetFiles()
244 ZLOGE("rename error:%{public}d, file:%{public}s->%{public}s", errno, oldName.c_str(), newName.c_str()); in Rename()
267 ZLOGE("remove error:%{public}d, path:%{public}s", errno, path.c_str()); in Remove()
/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()
/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()
/foundation/multimodalinput/input/util/socket/src/
H A Duds_session.cpp75 if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK) { in SendMsg()
76 socketErrorNo = errno; in SendMsg()
79 if (errno == ENOTSOCK) { in SendMsg()
83 MMI_HILOGE("Send return failed,error:%{public}d fd:%{public}d, pid:%{public}d", errno, fd_, pid_); in SendMsg()
97 MMI_HILOGE("Send too many times:%{public}d/%{public}d,size:%{public}d/%{public}d errno:%{public}d, " in SendMsg()
98 "fd:%{public}d, pid:%{public}d", retryCount, SEND_RETRY_LIMIT, idx, bufSize, errno, fd_, pid_); in SendMsg()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dfwmark_network.cpp55 NETNATIVE_LOGE("recvmsg failed, clientSockfd:%{public}d, ret:%{public}d, errno: %{public}d", *socket, ret, in CloseSocket()
56 errno); in CloseSocket()
59 NETNATIVE_LOGE("socketFd invalid:%{public}d, ret:%{public}d, errno: %{public}d", *socket, ret, errno); in CloseSocket()
62 NETNATIVE_LOGE("wirte failed, clientSockfd:%{public}d, ret:%{public}d, errno: %{public}d", *socket, ret, in CloseSocket()
63 errno); in CloseSocket()
66 NETNATIVE_LOGE("getsockopt failed, socketFd:%{public}d, ret:%{public}d, errno: %{public}d", *socket, ret, in CloseSocket()
67 errno); in CloseSocket()
70 NETNATIVE_LOGE("setsockopt failed socketFd:%{public}d, ret:%{public}d, errno: %{public}d", *socket, ret, in CloseSocket()
71 errno); in CloseSocket()
[all...]
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_connector.cpp90 ZLOGE(LABEL, "ActvBinder: set actv binder service failed, errno: %{public}d", errno); in InitActvBinder()
115 ZLOGE(LABEL, "fail to open errno:%{public}d", errno); in OpenDriver()
123 errno, version, BINDER_CURRENT_PROTOCOL_VERSION); in OpenDriver()
130 ZLOGE(LABEL, "Get Binder featureSet failed:%{public}d, disable all enhance feature.", errno); in OpenDriver()
203 err = -errno; in WriteBinder()
230 ZLOGE(LABEL, "fail to open tokenId node, errno:%{public}d", errno); in GetSelfTokenID()
248 ZLOGE(LABEL, "fail to open tokenId node, errno in GetSelfFirstCallerTokenID()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/
H A Devent_loop_epoll.cpp49 errCode = -errno; in Initialize()
56 errCode = -errno; in Initialize()
67 errCode = -errno; in Initialize()
96 int errCode = -errno; in Poll()
127 int errCode = -errno; in WakeUp()
159 int errCode = -errno; in EpollWokenUp()
224 errCode = -errno; in EpollCtl()
/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()

Completed in 11 milliseconds

1...<<31323334353637383940>>...262