Lines Matching refs:rc
287 ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); in SendPacket() local
289 if (rc == -1 && errno != EAGAIN && errno != EWOULDBLOCK) { in SendPacket()
317 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 3, -1)); in Run() local
318 if (rc == -1) { in Run()
320 } else if (rc == 0) { in Run()
325 for (int i = 0; i < rc; ++i) { in Run()
352 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in Run() local
353 if (rc != 8) { in Run()
355 << "adbd_auth: failed to read from eventfd (rc = " << rc << ")"; in Run()
366 … int rc = TEMP_FAILURE_RETRY(read(framework_fd_.get(), buf, sizeof(buf))); in Run() local
367 if (rc == -1) { in Run()
369 } else if (rc == 0) { in Run()
374 HandlePacket(std::string_view(buf, rc)); in Run()
472 ssize_t rc = write(event_fd_.get(), &value, sizeof(value)); in Interrupt() local
473 if (rc == -1) { in Interrupt()
475 } else if (rc != sizeof(value)) { in Interrupt()
476 LOG(FATAL) << "adbd_auth: write to eventfd returned short (" << rc << ")"; in Interrupt()