Searched refs:nWrite (Results 1 – 2 of 2) sorted by relevance
288 ssize_t nWrite; in sendMessage() local290 nWrite = ::send(mFd, &cleanMsg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()291 } while (nWrite == -1 && errno == EINTR); in sendMessage()293 if (nWrite < 0) { in sendMessage()308 if (size_t(nWrite) != msgLength) { in sendMessage()
624 ssize_t nWrite; in setLedStateLocked() local626 nWrite = write(device->fd, &ev, sizeof(struct input_event)); in setLedStateLocked()627 } while (nWrite == -1 && errno == EINTR); in setLedStateLocked()1081 ssize_t nWrite; in wake() local1083 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()1084 } while (nWrite == -1 && errno == EINTR); in wake()1086 if (nWrite != 1 && errno != EAGAIN) { in wake()