/third_party/node/deps/uv/src/unix/ |
H A D | random-sysctl-linux.c | 25 #include <errno.h> 72 return UV__ERR(errno); in uv__random_sysctl()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-esound-compat-spawnfd.c | 25 #include <errno.h> 61 pa_log_warn("write(%u, 1, 1) failed: %s", fd, pa_cstrerror(errno)); in pa__init()
|
H A D | module-esound-compat-spawnpid.c | 26 #include <errno.h> 60 pa_log_warn("kill(%u) failed: %s", pid, pa_cstrerror(errno)); in pa__init()
|
/third_party/toybox/toys/other/ |
H A D | factor.c | 32 errno = 0; in factor() 34 if (errno || (*s && !isspace(*s))) { in factor()
|
/third_party/selinux/libselinux/utils/ |
H A D | compute_relabel.c | 6 #include <errno.h> 40 argv[0], strerror(errno)); in main()
|
H A D | compute_create.c | 6 #include <errno.h> 43 argv[0], strerror(errno)); in main()
|
H A D | compute_member.c | 6 #include <errno.h> 40 argv[0], strerror(errno)); in main()
|
H A D | validatetrans.c | 6 #include <errno.h> 42 printf("security_validatetrans returned %d errno: %s\n", ret, strerror(errno)); in main()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stream/ |
H A D | stream_n_exporter.cpp | 68 NError(errno).ThrowErr(env); in FlushSync() 99 return NError(errno); in Flush() 149 NError(errno).ThrowErr(env); in ReadSync() 212 NError(errno).ThrowErr(env); in WriteSync() 251 return NError(errno); in WriteExec() 322 return NError(errno); in ReadExec() 454 NError(errno).ThrowErr(env); in Seek() 460 HILOGE("Failed to tell, error:%{public}d", errno); in Seek() 461 NError(errno).ThrowErr(env); in Seek()
|
/third_party/f2fs-tools/fsck/ |
H A D | quotaio_tree.c | 9 #include <errno.h> 69 log_err("Cannot read block %u: %s", blk, strerror(errno)); in read_blk() 81 if (err < 0 && errno != ENOSPC) in write_blk() 82 log_err("Cannot write block (%u): %s", blk, strerror(errno)); in write_blk() 314 (unsigned int) dquot->dq_id, strerror(errno)); in dq_insert_tree() 334 (unsigned int)dquot->dq_id, strerror(errno)); in qtree_write_dquot() 354 (unsigned int)dquot->dq_id, strerror(errno)); in qtree_write_dquot() 542 errno = EIO; in qtree_read_dquot() 544 dquot->dq_id, strerror(errno)); in qtree_read_dquot()
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_new_connection.c | 536 errno == EINTR); in connect_to() 550 while((flags = fcntl(fd, F_GETFL, 0)) == -1 && errno == EINTR); in make_non_block() 552 dief("fcntl", strerror(errno)); in make_non_block() 554 while((rv = fcntl(fd, F_SETFL, flags | O_NONBLOCK)) == -1 && errno == EINTR); in make_non_block() 556 dief("fcntl", strerror(errno)); in make_non_block() 569 dief("setsockopt", strerror(errno)); in set_tcp_nodelay() 712 dief("poll", strerror(errno)); in fetch_uri() 956 printf("select error: %i\n", errno); in parentproc() 994 fprintf(stderr, "can't fork, error %d\n", errno); in main()
|
H A D | test_request_response.c | 524 errno == EINTR); in connect_to() 538 while((flags = fcntl(fd, F_GETFL, 0)) == -1 && errno == EINTR); in make_non_block() 540 dief("fcntl", strerror(errno)); in make_non_block() 542 while((rv = fcntl(fd, F_SETFL, flags | O_NONBLOCK)) == -1 && errno == EINTR); in make_non_block() 544 dief("fcntl", strerror(errno)); in make_non_block() 557 dief("setsockopt", strerror(errno)); in set_tcp_nodelay() 700 dief("poll", strerror(errno)); in fetch_uri() 978 printf("select error: %i\n", errno); in parentproc() 1011 fprintf(stderr, "can't fork, error %d\n", errno); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_ctrl.c | 172 if (errno == EADDRINUSE && tries < 2) { in wpa_ctrl_open2() 189 wpa_printf(MSG_ERROR, "chmod %s error:%s", ctrl->local.sun_path, strerror(errno)); in wpa_ctrl_open2() 502 strerror(errno)); in wpa_ctrl_open() 507 strerror(errno)); in wpa_ctrl_open() 590 errno = 0; in wpa_ctrl_request() 596 if (errno == EAGAIN || errno == EBUSY || errno == EWOULDBLOCK) in wpa_ctrl_request() 627 if (res < 0 && errno == EINTR) in wpa_ctrl_request()
|
/third_party/pulseaudio/src/daemon/ |
H A D | ohos_pa_main.c | 26 #include <errno.h> 290 pa_log(_("Failed to create '%s': %s"), PA_SYSTEM_RUNTIME_PATH, pa_cstrerror(errno)); in change_user() 295 pa_log(_("Failed to create '%s': %s"), PA_SYSTEM_STATE_PATH, pa_cstrerror(errno)); in change_user() 302 pa_log(_("Failed to change group list: %s"), pa_cstrerror(errno)); in change_user() 318 pa_log(_("Failed to change GID: %s"), pa_cstrerror(errno)); in change_user() 334 pa_log(_("Failed to change UID: %s"), pa_cstrerror(errno)); in change_user() 381 pa_log_info("setrlimit(%s, (%u, %u)) failed: %s", name, (unsigned) r->value, (unsigned) r->value, pa_cstrerror(errno)); in set_one_rlimit() 812 pa_log(_("Failed to kill daemon: %s"), pa_cstrerror(errno)); in real_main() 952 pa_log(_("pipe() failed: %s"), pa_cstrerror(errno)); in real_main() 957 pa_log(_("fork() failed: %s"), pa_cstrerror(errno)); in real_main() [all...] |
/third_party/python/Modules/ |
H A D | signalmodule.c | 275 int save_errno = errno; in report_wakeup_write_error() 276 errno = (int) (intptr_t) data; in report_wakeup_write_error() 283 errno = save_errno; in report_wakeup_write_error() 374 (errno != EWOULDBLOCK && errno != EAGAIN)) in trip_signal() 380 (void *)(intptr_t)errno); in trip_signal() 390 int save_errno = errno; in signal_handler() 409 mutate errno under the feet of unsuspecting C code. */ in signal_handler() 410 errno = save_errno; in signal_handler() 694 errno in signal_strsignal_impl() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/ |
H A D | rd_sqlite_utils.cpp | 56 GLOGD("[SQLite] err=%d sys=%d %s", err, errno, sqlite3_errstr(err)); in SqliteLogCallback() 119 GLOGE("[RDSQLiteUtils] Step error:%d, sys:%d", errCode, errno); in StepWithRetry() 135 GLOGE("[RDSQLiteUtils] reset statement error:%d, sys:%d", errCode, errno); in ResetStatement() 146 GLOGE("[RDSQLiteUtils] finalize statement error:%d, sys:%d", finalizeResult, errno); in ResetStatement()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | unified_data_helper.cpp | 86 LOG_ERROR(UDMF_FRAMEWORK, "remove dir %{public}s failed, errno: %{public}d.", dirPath.c_str(), errno); in CreateDirIfNotExist() 92 LOG_ERROR(UDMF_FRAMEWORK, "create dir %{public}s failed, errno: %{public}d.", dirPath.c_str(), errno); in CreateDirIfNotExist() 170 LOG_ERROR(UDMF_FRAMEWORK, "failed to open file: %{public}s, errno is %{public}d", dataFile.c_str(), errno); in SaveUDataToFile() 193 std::strerror(errno), in LoadUDataFromFile()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | open.cpp | 81 if (errno == ENAMETOOLONG) { in Sync() 82 UniError(errno).ThrowErr(env, "Filename too long"); in Sync() 85 UniError(errno).ThrowErr(env); in Sync() 101 return UniError(errno); in DoOpenExec()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | read_lines.cpp | 101 HILOGE("Failed to read lines of the file, error: %{public}d", errno); in AsyncExec() 102 return NError(errno); in AsyncExec() 192 HILOGE("Failed to read lines of the file, error: %{public}d", errno); in Sync() 193 NError(errno).ThrowErr(env); in Sync()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statvfs/ |
H A D | statvfs_n_exporter.cpp | 47 NError(errno).ThrowErr(env); in GetFreeSizeSync() 79 return NError(errno); in GetFreeSize() 123 NError(errno).ThrowErr(env); in GetTotalSizeSync() 155 return NError(errno); in GetTotalSize()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | direntndk.cpp | 63 errno = ERRON_0;
in Scandir64() 88 errno = ERRON_0;
in Scandir() 121 errno = ERRON_0;
in Seekdir() 127 if (errno == PARAM_0) {
in Seekdir()
|
H A D | timendk1.cpp | 72 errno = PARAM_0;
in Futimes_Two() 76 napi_create_int32(env, ret == PARAM_0 && errno == PARAM_0, &result);
in Futimes_Two() 110 napi_create_int32(env, ret == MPARAM_1 && errno == EBADF, &result);
in Futimesat_Two() 159 napi_create_int32(env, ret == MPARAM_1 && errno == EINVAL, &result);
in Utimes_Two()
|
/test/xts/hats/kernel/syscalls/fileio/fcntl/ |
H A D | FcntlApiTest.cpp | 127 * @tc.desc : fcntl manipulate invalid fd fail, errno EBADF. 136 errno = 0; in HWTEST_F() 139 EXPECT_EQ(errno, EBADF); in HWTEST_F() 145 * @tc.desc : fcntl set invalid nullptr lock fail, errno EFAULT. 156 errno = 0; in HWTEST_F() 159 EXPECT_EQ(errno, EFAULT); in HWTEST_F()
|
/third_party/elfutils/tests/ |
H A D | emptyfile.c | 23 #include <errno.h> 74 printf ("cannot open `%s': %s\n", fname, strerror (errno)); in check_elf() 132 printf ("cannot (re)open `%s': %s\n", fname, strerror (errno)); in check_elf() 215 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); in check_elf()
|
/third_party/curl/tests/server/ |
H A D | fake_ntlm.c | 198 error = errno; in main() 215 error = errno; in main() 233 error = errno; in main() 254 error = errno; in main()
|