Searched refs:nread (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/CoreTests/android/core/ |
D | TestWebServer.java | 499 int nread = 0; in parseStatusLine() local 503 nread = readOneLine(is); in parseStatusLine() 505 if (nread == -1) { in parseStatusLine() 557 return nread; in parseStatusLine() 569 int nread = 0; in parseHeader() local 572 nread = readOneLine(is); in parseHeader() 574 if (nread == -1) { in parseHeader() 594 String headerValue = new String(buf, i, nread-1); in parseHeader() 597 return nread; in parseHeader() 606 int nread = 0; in readHeaders() local [all …]
|
/frameworks/compile/libbcc/bcinfo/tools/ |
D | main.cpp | 245 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); in readBitcode() local 247 if (nread != bitcodeSize) in readBitcode() 251 return nread; in readBitcode()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 180 ssize_t nread = read(FD, buf, sizeof(buf)); in addFileToChecksum() local 181 if (nread < 0) { // bail out on failed read in addFileToChecksum() 186 checksum = adler32(checksum, (const unsigned char *) buf, nread); in addFileToChecksum() 187 if (static_cast<size_t>(nread) < sizeof(buf)) // EOF in addFileToChecksum()
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 191 int nread = ::wifi_wait_for_event(buf, sizeof buf); in android_net_wifi_waitForEvent() local 192 if (nread > 0) { in android_net_wifi_waitForEvent()
|