Searched refs:nread (Results 1 - 4 of 4) sorted by relevance

/frameworks/compile/libbcc/lib/Support/
H A DSha1Util.cpp43 ssize_t nread = file.read(buf, sizeof(buf)); local
45 if (nread < 0) {
52 static_cast<unsigned long>(nread));
54 if (static_cast<size_t>(nread) < sizeof(buf)) {
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java499 int nread = 0;
503 nread = readOneLine(is);
505 if (nread == -1) {
557 return nread;
569 int nread = 0;
572 nread = readOneLine(is);
574 if (nread == -1) {
594 String headerValue = new String(buf, i, nread-1);
597 return nread;
606 int nread
[all...]
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp242 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); local
244 if (nread != bitcodeSize)
248 return nread;
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp126 int nread = ::wifi_wait_for_event(buf, sizeof buf); local
127 if (nread > 0) {

Completed in 2150 milliseconds