Searched refs:TEMP_FAILURE_RETRY (Results 76 - 100 of 155) sorted by relevance

1234567

/system/core/libcutils/
H A Dfs_config.cpp249 fd = TEMP_FAILURE_RETRY(open(name, O_RDONLY | O_BINARY));
254 fd = TEMP_FAILURE_RETRY(open(conf[which][dir], O_RDONLY | O_BINARY));
322 while (TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))) == sizeof(header)) {
335 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) {
/system/core/libmemunreachable/
H A DPtracerThread.cpp120 int ret = TEMP_FAILURE_RETRY(waitpid(child_pid_, &status, __WALL));
/system/core/libmemunreachable/tests/
H A DBinder_test.cpp83 if (TEMP_FAILURE_RETRY(waitpid(child_, &status, 0)) != child_) {
/system/core/logd/
H A DLogTags.cpp91 fd = TEMP_FAILURE_RETRY(open(
108 TEMP_FAILURE_RETRY(close(fd));
495 int fd = TEMP_FAILURE_RETRY(open(name, mode));
518 pmsg_fd = TEMP_FAILURE_RETRY(open("/dev/pmsg0", O_WRONLY | O_CLOEXEC));
581 TEMP_FAILURE_RETRY(writev(pmsg_fd, Vec, arraysize(Vec)));
584 TEMP_FAILURE_RETRY(writev(pmsg_fd, Vec, arraysize(Vec)));
588 TEMP_FAILURE_RETRY(writev(pmsg_fd, Vec, arraysize(Vec)));
604 TEMP_FAILURE_RETRY(close(fd));
628 TEMP_FAILURE_RETRY(close(fd));
/system/extras/verity/fec/
H A Dimage.cpp159 int fd = TEMP_FAILURE_RETRY(open(fn.c_str(), flags | O_LARGEFILE));
176 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(),
214 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY));
315 int fd = TEMP_FAILURE_RETRY(open(ctx->fec_filename,
/system/vold/
H A DFileDeviceUtils.cpp73 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(
H A DPrivateVolume.cpp169 if (TEMP_FAILURE_RETRY(rmdir(mPath.c_str()))) {
H A DUtils.cpp92 if (TEMP_FAILURE_RETRY(unlink(cpath))) {
359 int fd = TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW));
365 while ((n = TEMP_FAILURE_RETRY(read(fd, &buf[0], bytes))) > 0) {
547 int fd = TEMP_FAILURE_RETRY(open(c_path, O_RDWR | O_CLOEXEC));
H A Dsecdiscard.cpp108 android::base::unique_fd fs_fd(TEMP_FAILURE_RETRY(open(
/system/core/liblog/
H A Dpmsg_writer.c58 fd = TEMP_FAILURE_RETRY(open("/dev/pmsg0", O_WRONLY | O_CLOEXEC));
172 ret = TEMP_FAILURE_RETRY(
H A Dpmsg_reader.c177 ret = TEMP_FAILURE_RETRY(
216 ret = TEMP_FAILURE_RETRY(
245 current = TEMP_FAILURE_RETRY(lseek(fd, (off_t)0, SEEK_CUR));
253 next = TEMP_FAILURE_RETRY(
/system/extras/simpleperf/
H A DUnixSocket.cpp134 TEMP_FAILURE_RETRY(send(fd_, write_data, write_data_size, MSG_NOSIGNAL));
164 TEMP_FAILURE_RETRY(read(fd_, &read_buffer_[read_buffer_size_],
/system/netd/server/
H A DIptablesRestoreController.cpp278 int numEvents = TEMP_FAILURE_RETRY(
298 size = TEMP_FAILURE_RETRY(read(pollfd.fd, buffer, sizeof(buffer)));
H A Dndc.cpp134 rc = TEMP_FAILURE_RETRY(select(sock +1, &read_fds, NULL, NULL, &to));
/system/core/adb/
H A Djdwp_service.cpp226 ssize_t rc = TEMP_FAILURE_RETRY(recv(socket, buf, PID_LEN, 0));
247 int len = TEMP_FAILURE_RETRY(recv(socket, buf, sizeof(buf), 0));
300 int ret = TEMP_FAILURE_RETRY(sendmsg(proc->socket, &msg, 0));
H A Dframebuffer_service.cpp185 TEMP_FAILURE_RETRY(waitpid(pid, NULL, 0));
/system/bt/hci/src/
H A Dhci_layer_android.cc169 TEMP_FAILURE_RETRY(write(fd, packet->data, packet->len));
/system/bt/vendor_libs/test_vendor_lib/test/
H A Dasync_manager_unittest.cc71 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1));
/system/core/debuggerd/handler/
H A Ddebuggerd_fallback.cpp115 ssize_t rc = TEMP_FAILURE_RETRY(read(src_fd, buf, sizeof(buf)));
/system/core/init/
H A Ddescriptors.cpp112 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(name().c_str(),
H A Dueventd.cpp180 pid_t pid = TEMP_FAILURE_RETRY(waitpid(-1, &status, 0));
/system/core/libprocinfo/
H A Dprocess_test.cpp98 TEMP_FAILURE_RETRY(read(pipefd[0], &buf, 1));
/system/core/libsysutils/src/
H A DFrameworkListener.cpp60 len = TEMP_FAILURE_RETRY(read(c->getSocket(), buffer, sizeof(buffer)));
/system/core/libunwindstack/tests/
H A DMemoryRemoteTest.cpp55 while (TEMP_FAILURE_RETRY(ptrace(PTRACE_GETSIGINFO, pid, 0, &si)) < 0 && errno == ESRCH) {
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dasync_manager.cc184 if (TEMP_FAILURE_RETRY(write(notification_write_fd_, &buffer, 1)) < 0) {
212 while (TEMP_FAILURE_RETRY(read(notification_listen_fd_, buffer,

Completed in 517 milliseconds

1234567