Searched refs:nWrite (Results 1 – 2 of 2) sorted by relevance
153 ssize_t nWrite; in sendMessage() local155 nWrite = ::send(mFd, msg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()156 } while (nWrite == -1 && errno == EINTR); in sendMessage()158 if (nWrite < 0) { in sendMessage()173 if (size_t(nWrite) != msgLength) { in sendMessage()
560 ssize_t nWrite; in setLedStateLocked() local562 nWrite = write(device->fd, &ev, sizeof(struct input_event)); in setLedStateLocked()563 } while (nWrite == -1 && errno == EINTR); in setLedStateLocked()1043 ssize_t nWrite; in wake() local1045 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()1046 } while (nWrite == -1 && errno == EINTR); in wake()1048 if (nWrite != 1 && errno != EAGAIN) { in wake()