Home
last modified time | relevance | path

Searched refs:errno (Results 1876 - 1900 of 15394) sorted by relevance

1...<<71727374757677787980>>...616

/third_party/selinux/libsepol/utils/
H A Dsepol_compute_av.c1 #include <errno.h>
25 fprintf(stderr, "Can't open policy %s: %s\n", argv[1], strerror(errno)); in main()
29 fprintf(stderr, "Error while processing policy %s: %s\n", argv[1], strerror(errno)); in main()
/third_party/selinux/libselinux/src/
H A Dlgetfilecon.c5 #include <errno.h>
23 if (ret < 0 && errno == ERANGE) { in lgetfilecon_raw()
42 errno = ENOTSUP; in lgetfilecon_raw()
/third_party/libsnd/src/
H A Dfile_io.c60 #include <errno.h>
130 psf_log_syserr (psf, errno) ; in psf_fopen()
148 psf_log_syserr (psf, errno) ; in psf_fclose()
205 psf_log_syserr (psf, errno) ; in psf_open_rsrc()
226 { psf_log_syserr (psf, errno) ; in psf_get_filelen()
338 psf_log_syserr (psf, errno) ; in psf_fseek()
364 { if (errno == EINTR) in psf_fread()
367 psf_log_syserr (psf, errno) ; in psf_fread()
408 { if (errno == EINTR) in psf_fwrite()
411 psf_log_syserr (psf, errno) ; in psf_fwrite()
[all...]
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_device_builder.cpp148 std::cout << "stat \'" << spath.str() << "\' failed: " << strerror(errno) << std::endl;
172 std::cout << "Failed to stop backing process [" << pid << "]: " << strerror(errno) << std::endl;
187 std::cout << "Failed to unmount virtual " << name << ": " << strerror(errno) << std::endl;
201 FI_HILOGE("closedir error:%{public}s", strerror(errno));
223 FI_HILOGE("Failed while setting event type:%{public}s", strerror(errno));
233 FI_HILOGE("Failed while setting abs info:%{public}s", strerror(errno));
260 FI_HILOGE("Failed while setting phys:%{public}s", strerror(errno));
267 FI_HILOGE("Unable to set uinput device info:%{public}s", strerror(errno));
288 FI_HILOGE("Close error:%{public}s", strerror(errno));
300 FI_HILOGE("ioctl error:%{public}s", strerror(errno));
[all...]
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/
H A Dipc_invoker.c17 #include <errno.h>
63 RPC_LOG_ERROR("liteipc malloc failed: %d.", errno); in OpenDriver()
68 RPC_LOG_ERROR("liteipc open failed error : %d.", errno); in OpenDriver()
73 RPC_LOG_ERROR("liteipc mmap failed: %d.", errno); in OpenDriver()
127 RPC_LOG_ERROR("Invalid parameter, null pointer: %d.", errno); in IpcFreeBuffer()
179 RPC_LOG_ERROR("IpcIo data too big, please use IpcIoPushDataBuff to push big data, error: %d.", errno); in CheckIpcIo()
223 RPC_LOG_ERROR("Liteipc driver ioctl failed: %d.", errno); in SendReply()
260 RPC_LOG_ERROR("Liteipc driver ioctl failed: %d.", errno); in SendFailedReply()
590 RPC_LOG_ERROR("send ioctl failed: %d.", errno); in IpcSendRequest()
643 RPC_LOG_ERROR("init liteipc invoker failed: %d.", errno); in InvokerResetIpc()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Ddatabase_oper.cpp131 LOGE("Remove the prime dir failed: %d", errno); in RekeyRecover()
139 LOGE("Rename the bak dir to prime dir failed:%d.", errno); in RekeyRecover()
147 LOGE("Remove the end ctrl file failed: %d", errno); in RekeyRecover()
275 LOGE("[DatabaseOper][ExecuteExport] Pack files fail! errCode = [%d], errno = [%d].", errCode, errno); in ExecuteExport()
325 LOGE("Remove the backup dir failed:%d", errno); in RecoverPrehandle()
329 LOGE("Remove the pre ctrl file failed:%d", errno); in RecoverPrehandle()
370 LOGE("Remove file failed:%d", errno); in RemoveFile()
395 LOGE("Remove the db file failed:%d", errno); in RemoveDbFiles()
401 LOGE("Remove the wal file failed:%d", errno); in RemoveDbFiles()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c3 #include <errno.h>
97 error(1, errno, "send netlink: %uB != %uB\n", ret, len); in do_nl_req()
104 error(1, errno, "recv netlink: %uB\n", ret); in do_nl_req()
125 error(1, errno, "Not a controller message, len=%d type=0x%x\n", in genl_parse_getfamily()
131 error(1, errno, "wrong controller message len %d\n", len); in genl_parse_getfamily()
134 error(1, errno, "Unknown controller command %d\n", ghdr->cmd); in genl_parse_getfamily()
143 error(1, errno, "can't find CTRL_ATTR_FAMILY_ID attr"); in genl_parse_getfamily()
211 error(1, errno, "can't parse ip %s", argv[2]); in add_addr()
240 error(1, errno, in add_addr()
267 error(1, errno, "unknow in add_addr()
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dbpf_load.c8 #include <errno.h>
134 printf("bpf_load_program() err=%d\n%s", errno, bpf_log_buf); in load_and_attach()
161 printf("tracepoint %s %s\n", event + 15, strerror(errno)); in load_and_attach()
202 event, strerror(errno)); in load_and_attach()
233 printf("read from '%s' failed '%s'\n", event, strerror(errno)); in load_and_attach()
245 printf("event %d fd %d err %s\n", id, efd, strerror(errno)); in load_and_attach()
252 strerror(errno)); in load_and_attach()
258 strerror(errno)); in load_and_attach()
305 i, maps[i].name, errno, strerror(errno)); in load_maps()
[all...]
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dnet.c5 #include <errno.h>
108 return -errno; in netlink_open()
116 ret = -errno; in netlink_open()
122 ret = -errno; in netlink_open()
153 ret = -errno; in netlink_recv()
230 return -errno; in netlink_get_class()
269 return -errno; in netlink_get_qdisc()
309 return -errno; in netlink_get_filter()
346 return -errno; in netlink_get_link()
495 strerror(errno)); in query_flow_dissector()
[all...]
H A Dmap.c5 #include <errno.h>
667 strerror(errno)); in do_show_subset()
711 if (errno == ENOENT) in do_show()
713 p_err("can't get next map: %s%s", strerror(errno), in do_show()
714 errno == EINVAL ? " -- kernel too old?" : ""); in do_show()
720 if (errno == ENOENT) in do_show()
723 id, strerror(errno)); in do_show()
729 p_err("can't get map info: %s", strerror(errno)); in do_show()
744 return errno == ENOENT ? 0 : -1; in do_show()
752 print_entry_error(map_info, key, errno); in dump_map_elem()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dv4l2_context.c166 return AVERROR(errno); in v4l2_start_decode()
240 if (errno == ENOTTY) in v4l2_stop_decode()
243 return AVERROR(errno); in v4l2_stop_decode()
260 if (errno == ENOTTY) in v4l2_stop_encode()
263 return AVERROR(errno); in v4l2_stop_encode()
321 if (errno == EINTR) in v4l2_dequeue_v4l2buf()
385 if (errno != EAGAIN) { in v4l2_dequeue_v4l2buf()
387 if (errno != EPIPE) in v4l2_dequeue_v4l2buf()
388 av_log(logger(ctx), AV_LOG_DEBUG, "%s VIDIOC_DQBUF, errno (%s)\n", in v4l2_dequeue_v4l2buf()
389 ctx->name, av_err2str(AVERROR(errno))); in v4l2_dequeue_v4l2buf()
[all...]
/third_party/cups-filters/backend/
H A Dserial.c225 if (errno == EBUSY) in main()
581 if (errno != EAGAIN && errno != EINTR) in main()
667 if (errno != EAGAIN && errno != EINTR && errno != ENOTTY) in main()
761 if (errno != EAGAIN && errno != EINTR) in drain_output()
789 if (errno != ENOSPC && errno ! in drain_output()
[all...]
/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_new_file_test.c30 int error = errno; in show_result()
56 errno = 0; in create2()
64 errno = 0; in mkdir2()
72 errno = 0; in unlink2()
80 errno = 0; in rmdir2()
88 errno = 0; in mkfifo2()
160 if (write(pipe_fd[1], &errno, sizeof(errno)) == -1) in stage_file_test()
168 errno = error; in stage_file_test()
177 if (write(pipe_fd[1], &errno, sizeo in stage_file_test()
[all...]
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg01.c26 * Verify that sendmsg() returns the proper errno for various failure cases
35 #include <errno.h>
98 int experrno; /* expected errno */
404 " %ld (expected %d), errno %d (expected" in main()
432 strerror(errno)); in start_server()
437 strerror(errno)); in start_server()
442 strerror(errno)); in start_server()
451 strerror(errno)); in start_server()
456 strerror(errno)); in start_server()
471 strerror(errno)); in start_server()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dprocess.c28 #include <errno.h>
114 while (pid == -1 && errno == EINTR); in uv__wait_children()
122 if (errno != ECHILD) in uv__wait_children()
238 while (n == -1 && errno == EINTR); in uv__write_int()
247 uv__write_int(error_fd, UV__ERR(errno)); in uv__write_errno()
824 return UV__ERR(errno); in uv__spawn_and_init_child_fork()
909 while (r == -1 && errno == EINTR); in uv__spawn_and_init_child()
916 while (err == -1 && errno == EINTR); in uv__spawn_and_init_child()
919 } else if (r == -1 && errno == EPIPE) { in uv__spawn_and_init_child()
923 while (err == -1 && errno in uv__spawn_and_init_child()
[all...]
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhb-subset.cc140 fail (false, "Failed to write output: %s", strerror (errno)); in write_file()
197 errno = 0; in parse_gids()
199 if (s[0] == '-' || errno || s == p) in parse_gids()
210 if (s[0] == '-' || errno || s == p) in parse_gids()
367 errno = 0; in parse_unicodes()
369 if (errno || s == p) in parse_unicodes()
380 if (s[0] == '-' || errno || s == p) in parse_unicodes()
444 errno = 0; in parse_nameids()
446 if (errno || s == p) in parse_nameids()
497 errno in parse_name_languages()
[all...]
/base/powermgr/thermal_manager/utils/native/src/
H A Dstring_operation.cpp89 errno = 0; in StrToUint()
92 if ((end == addr) || (end[0] != '\0') || (errno == ERANGE) || (result >= ULONG_MAX)) { in StrToUint()
106 errno = 0; in StrToDouble()
109 if ((end == addr) || (end[0] != '\0') || (errno == ERANGE) || (result == HUGE_VAL)) { in StrToDouble()
/base/msdp/device_status/intention/scheduler/task_scheduler/src/
H A Dtask_scheduler.cpp50 FI_HILOGE("Close fds_[0] failed, err:%{public}s, fds_[0]:%{public}d", strerror(errno), fds_[0]); in ~TaskScheduler()
56 FI_HILOGE("Close fds_[1] failed, err:%{public}s, fds_[1]:%{public}d", strerror(errno), fds_[1]); in ~TaskScheduler()
66 FI_HILOGE("pipe2 failed, errno:%{public}s", ::strerror(errno)); in Init()
147 FI_HILOGE("Pipeline writes failed, errno:%{public}d", errno); in PostTask()
/base/msdp/device_status/services/delegate_task/src/
H A Ddelegate_tasks.cpp49 FI_HILOGE("Close fds_[0] failed, error:%{public}s, fds_[0]:%{public}d", strerror(errno), fds_[0]); in ~DelegateTasks()
55 FI_HILOGE("Close fds_[1] failed, error:%{public}s, fds_[1]:%{public}d", strerror(errno), fds_[1]); in ~DelegateTasks()
65 FI_HILOGE("pipe2 failed, errno:%{public}s", ::strerror(errno)); in Init()
146 FI_HILOGE("Write to pipe failed, errno:%{public}d", errno); in PostTask()
/base/security/access_token/interfaces/innerkits/token_setproc/src/
H A Dperm_setproc.cpp79 return errno; in AddPermissionToKernel()
94 return errno; in RemovePermissionFromKernel()
115 return errno; in SetPermissionToKernel()
137 return errno; in GetPermissionFromKernel()
/base/startup/appspawn/modules/nweb_adapter/
H A Dnwebspawn_adapter.cpp71 APPSPAWN_LOGE("SetRendererSeccompPolicy dlsym errno: %{public}d", errno); in SetSeccompPolicyForRenderer()
131 APPSPAWN_LOGE("Fail to dlopen libweb_engine.so, errno: %{public}d", errno); in RunChildProcessor()
134 APPSPAWN_LOGE("Fail to dlopen libnweb_render.so, errno: %{public}d", errno); in RunChildProcessor()
147 APPSPAWN_LOGE("webviewspawn dlsym errno: %{public}d", errno); in RunChildProcessor()
/base/startup/init/services/init/standard/
H A Dinit_firststage.c15 #include <errno.h>
58 INIT_ERROR_CHECK(devices != NULL, return NULL, "Failed calloc err=%d", errno); in GetRequiredDevices()
66 "Failed strdup err=%d", errno); in GetRequiredDevices()
146 INIT_LOGE("Failed to exec \"/bin/init\", err = %d", errno); in StartSecondStageInit()
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_timer_callback.cpp38 } while (ret > 0 || (ret < 0 && errno == EINTR)); in FdTriggerCallback()
65 } while (ret < 0 && errno == EINTR); in OnTriggerEvent()
105 TELEPHONY_LOGE("Call pipe() is failed, errno:%{public}d", errno); in EventLoop()
118 TELEPHONY_LOGE("error in EventMessageLoop errno:%{public}d, isNormalDestory:%{public}d", in EventLoop()
119 errno, event_->IsNormalDestory()); in EventLoop()
/foundation/CastEngine/castengine_wifi_display/services/network/session/
H A Dudp_session.cpp90 if ((retCode < 0) && (errno == EINTR || errno == EWOULDBLOCK || errno == EAGAIN)) { in Send()
96 SHARING_LOGE("sendSocket error: %{public}s!", strerror(errno)); in Send()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/
H A Dbms_extension_profile.cpp50 APP_LOGE("access failed %{public}s errno:%{public}d", filePath.c_str(), errno); in ReadFileIntoJson()
59 strerror_r(errno, errBuf, sizeof(errBuf)); in ReadFileIntoJson()
60 APP_LOGE("file open failed due to %{public}s, errno:%{public}d", errBuf, errno); in ReadFileIntoJson()
67 APP_LOGE("file is empty err %{public}d", errno); in ReadFileIntoJson()

Completed in 40 milliseconds

1...<<71727374757677787980>>...616