HomeSort by relevance Sort by last modified time
    Searched refs:TEMP_FAILURE_RETRY (Results 151 - 175 of 331) sorted by null

1 2 3 4 5 67 8 91011>>

  /system/core/logwrapper/
logwrap.c 350 if (TEMP_FAILURE_RETRY(poll(poll_fds, ARRAY_SIZE(poll_fds), -1)) < 0) {
357 sz = TEMP_FAILURE_RETRY(
402 ret = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
497 parent_ptty = TEMP_FAILURE_RETRY(open("/dev/ptmx", O_RDWR));
512 child_ptty = TEMP_FAILURE_RETRY(open(child_devname, O_RDWR));
  /frameworks/av/media/mtp/
MtpFfsHandle.cpp 86 mBulkIn.reset(TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP_IN : FFS_MTP_EP_IN, O_RDWR)));
94 mBulkOut.reset(TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP_OUT : FFS_MTP_EP_OUT, O_RDWR)));
102 mIntr.reset(TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP_INTR : FFS_MTP_EP_INTR, O_RDWR)));
175 int nbytes = TEMP_FAILURE_RETRY(::read(mControl, event,
333 int this_events = TEMP_FAILURE_RETRY(io_getevents(mCtx, 0, AIO_BUFS_MAX, events, &ZERO_TIMEOUT));
392 int evs = TEMP_FAILURE_RETRY(io_getevents(mCtx, num_events, AIO_BUFS_MAX, events, nullptr));
588 if (TEMP_FAILURE_RETRY(pread(mfr.fd, mIobuf[0].bufs.data() +
  /bootable/recovery/applypatch/
applypatch.cpp 235 if (TEMP_FAILURE_RETRY(lseek(fd, start, SEEK_SET)) == -1) {
243 ssize_t written = TEMP_FAILURE_RETRY(ota_write(fd, data + start, to_write));
269 if (TEMP_FAILURE_RETRY(ota_write(dc, "3\n", 2)) == -1) {
278 if (TEMP_FAILURE_RETRY(lseek(fd, 0, SEEK_SET)) == -1) {
293 ssize_t read_count = TEMP_FAILURE_RETRY(ota_read(fd, buffer + so_far, to_read - so_far));
427 ssize_t wrote = TEMP_FAILURE_RETRY(ota_write(fd, data + done, len - done));
  /build/make/tools/makeparallel/
makeparallel.cpp 45 #define TEMP_FAILURE_RETRY(exp) (exp)
247 while ((ret = TEMP_FAILURE_RETRY(poll(pollfds, 1, 0))) != 0) {
279 int ret = TEMP_FAILURE_RETRY(write(out_fd, &buf, 1));
  /device/google/cuttlefish_common/guest/hals/camera/
EmulatedCameraDevice.cpp 340 TEMP_FAILURE_RETRY(write(mThreadControl, &msg, sizeof(msg)));
389 int res = TEMP_FAILURE_RETRY(select(fd_num, fds, NULL, NULL, tvp));
400 res = TEMP_FAILURE_RETRY(read(mControlFD, &msg, sizeof(msg)));
  /system/core/debuggerd/libdebuggerd/
utility.cpp 89 TEMP_FAILURE_RETRY(write(log->tfd, buf, len));
117 TEMP_FAILURE_RETRY(writev(kmsg_fd.get(), iov, 3));
228 int rc = TEMP_FAILURE_RETRY(read(fd.get(), buf, len - 1));
  /system/core/init/
subcontext.cpp 66 auto result = TEMP_FAILURE_RETRY(recv(socket, buffer, sizeof(buffer), 0));
85 TEMP_FAILURE_RETRY(send(socket, message_string.c_str(), message_string.size(), 0));
172 int nr = TEMP_FAILURE_RETRY(poll(ufd, arraysize(ufd), -1));
keychords.cpp 107 keychord_fd = TEMP_FAILURE_RETRY(open("/dev/keychord", O_RDWR | O_CLOEXEC));
  /device/google/cuttlefish_common/common/libs/fs/
shared_fd.cpp 150 int rval = TEMP_FAILURE_RETRY(
251 int fd = TEMP_FAILURE_RETRY(open(path, flags, mode));
260 int fd = TEMP_FAILURE_RETRY(socket(domain, socket_type, protocol));
374 if (TEMP_FAILURE_RETRY(chmod(name, mode)) == -1) {
  /frameworks/base/core/jni/
android_ddm_DdmHandleNativeHeap.cpp 61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
android_view_InputQueue.cpp 105 nRead = TEMP_FAILURE_RETRY(read(mDispatchReadFd, &byteread, sizeof(byteread)));
180 int res = TEMP_FAILURE_RETRY(write(mDispatchWriteFd, &dummy, sizeof(dummy)));
  /system/connectivity/wificond/tests/
shell_utils.cpp 98 nread = TEMP_FAILURE_RETRY(read(shell_output.fd, buf, sizeof(buf)));
  /system/core/debuggerd/client/
debuggerd_client_test.cpp 116 TEMP_FAILURE_RETRY(read(pipe_read.get(), &dummy, sizeof(dummy)));
  /system/core/libcutils/
fs_config.cpp 232 fd = TEMP_FAILURE_RETRY(open(name, O_RDONLY | O_BINARY));
237 fd = TEMP_FAILURE_RETRY(open(conf[which][dir], O_RDONLY | O_BINARY));
306 while (TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))) == sizeof(header)) {
319 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) {
  /system/core/libmemunreachable/
PtracerThread.cpp 121 int ret = TEMP_FAILURE_RETRY(waitpid(child_pid_, &status, __WALL));
  /system/core/libmemunreachable/tests/
Binder_test.cpp 88 if (TEMP_FAILURE_RETRY(waitpid(child_, &status, 0)) != child_) {
  /system/extras/verity/fec/
image.cpp 158 int fd = TEMP_FAILURE_RETRY(open(fn.c_str(), flags | O_LARGEFILE));
175 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(),
213 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY));
314 int fd = TEMP_FAILURE_RETRY(open(ctx->fec_filename,
  /system/vold/
FileDeviceUtils.cpp 73 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(
  /bionic/benchmarks/tests/
interface_test.cpp 118 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer, sizeof(buffer) - 1));
132 ASSERT_EQ(pid_, TEMP_FAILURE_RETRY(waitpid(pid_, &status, 0))) << "Test output:\n" << raw_output_;
    [all...]
  /bionic/tests/
utils.h 150 ASSERT_EQ(pid, TEMP_FAILURE_RETRY(waitpid(pid, &status, 0))) << *error_msg;
218 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) {
  /bootable/recovery/otautil/
SysUtil.cpp 19 #include <errno.h> // TEMP_FAILURE_RETRY
111 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(block_dev.c_str(), O_RDONLY)));
182 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY)));
  /bootable/recovery/update_verifier/
update_verifier.cpp 147 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(dm_block_device.c_str(), O_RDONLY)));
200 android::base::unique_fd care_map_fd(TEMP_FAILURE_RETRY(open(care_map_name.c_str(), O_RDONLY)));
  /dalvik/libdex/
SysUtil.cpp 33 #include <nativehelper/JNIHelp.h> // TEMP_FAILURE_RETRY may or may not be in unistd
319 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, buf, count));
344 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, buf, getSize));
  /frameworks/base/native/webview/loader/
loader.cpp 80 int tmp_fd = TEMP_FAILURE_RETRY(mkstemp(relro_tmp));
110 int relro_fd = TEMP_FAILURE_RETRY(open(relro, O_RDONLY));
  /frameworks/native/cmds/dumpstate/
DumpstateInternal.cpp 162 int ret = TEMP_FAILURE_RETRY(poll(fds, arraysize(fds), 30 * 1000));
174 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer)));

Completed in 303 milliseconds

1 2 3 4 5 67 8 91011>>