Searched defs:nread (Results 1 - 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/libwifi_system/
H A Dsupplicant_manager.cpp52 int nread; local
100 while ((nread = TEMP_FAILURE_RETRY(read(srcfd, buf, sizeof(buf)))) != 0) {
101 if (nread < 0) {
109 TEMP_FAILURE_RETRY(write(destfd, buf, nread));
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); local
280 if (nread != bitcodeSize)
284 return nread;
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp182 ssize_t nread = read(FD, buf, sizeof(buf)); local
183 if (nread < 0) { // bail out on failed read
188 checksum = adler32(checksum, (const unsigned char *) buf, nread);
189 if (static_cast<size_t>(nread) < sizeof(buf)) // EOF

Completed in 156 milliseconds