Home
last modified time | relevance | path

Searched refs:readlen (Results 1 – 1 of 1) sorted by relevance

/device/google/trout/hal/vehicle/2.0/
DPowerStateListener.cpp36 auto readlen = read(sockfd, buffer, sizeof(buffer)); in ForwardSocketToFile() local
37 if (readlen < 0) { in ForwardSocketToFile()
40 } else if (readlen > 0) { in ForwardSocketToFile()
51 auto writelen = write(tempFileFd, buffer, readlen); in ForwardSocketToFile()
56 } else if (writelen != readlen) { in ForwardSocketToFile()
58 << "buffer: " << buffer << ", length: " << readlen in ForwardSocketToFile()