Searched refs:nWrite (Results 1 – 2 of 2) sorted by relevance
154 ssize_t nWrite; in sendMessage() local156 nWrite = ::send(mFd, msg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()157 } while (nWrite == -1 && errno == EINTR); in sendMessage()159 if (nWrite < 0) { in sendMessage()174 if (size_t(nWrite) != msgLength) { in sendMessage()
543 ssize_t nWrite; in setLedStateLocked() local545 nWrite = write(device->fd, &ev, sizeof(struct input_event)); in setLedStateLocked()546 } while (nWrite == -1 && errno == EINTR); in setLedStateLocked()1026 ssize_t nWrite; in wake() local1028 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()1029 } while (nWrite == -1 && errno == EINTR); in wake()1031 if (nWrite != 1 && errno != EAGAIN) { in wake()