Searched refs:nWrite (Results 1 – 2 of 2) sorted by relevance
533 ssize_t nWrite; in setLedStateLocked() local535 nWrite = write(fd, &ev, sizeof(struct input_event)); in setLedStateLocked()536 } while (nWrite == -1 && errno == EINTR); in setLedStateLocked()1803 ssize_t nWrite; in wake() local1805 nWrite = write(mWakeWritePipeFd, "W", 1); in wake()1806 } while (nWrite == -1 && errno == EINTR); in wake()1808 if (nWrite != 1 && errno != EAGAIN) { in wake()
369 ssize_t nWrite; in sendMessage() local371 nWrite = ::send(getFd(), &cleanMsg, msgLength, MSG_DONTWAIT | MSG_NOSIGNAL); in sendMessage()372 } while (nWrite == -1 && errno == EINTR); in sendMessage()374 if (nWrite < 0) { in sendMessage()389 if (size_t(nWrite) != msgLength) { in sendMessage()