Searched refs:nread (Results 1 - 5 of 5) 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/compile/slang/
H A Dslang-data.c50 size_t nread = fread(buf, sizeof(char), sizeof(buf), infile); local
51 size_t line_count = nread / 16;
54 data_size += nread;
70 if (nread % 16 != 0) {
73 for (i = line_count * 16; i < nread; ++i) {
80 if (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.cpp245 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); local
247 if (nread != bitcodeSize)
251 return nread;
/frameworks/base/core/jni/
H A Dandroid_net_wifi_Wifi.cpp146 int nread = ::wifi_wait_for_event(ifname.c_str(), buf, sizeof buf); local
147 if (nread > 0) {

Completed in 278 milliseconds