Searched refs:nWrite (Results 1 – 3 of 3) sorted by relevance
365 ssize_t nWrite; in wake() local367 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()368 } while (nWrite == -1 && errno == EINTR); in wake()370 if (nWrite != 1) { in wake()
523 ssize_t nWrite; in setLedState() local525 nWrite = write(device->fd, &ev, sizeof(struct input_event)); in setLedState()526 } while (nWrite == -1 && errno == EINTR); in setLedState()887 ssize_t nWrite; in wake() local889 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()890 } while (nWrite == -1 && errno == EINTR); in wake()892 if (nWrite != 1 && errno != EAGAIN) { in wake()
148 ssize_t nWrite; in sendMessage() local150 nWrite = ::send(mFd, msg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()151 } while (nWrite == -1 && errno == EINTR); in sendMessage()153 if (nWrite < 0) { in sendMessage()168 if (size_t(nWrite) != msgLength) { in sendMessage()