Searched defs: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/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/core/jni/
H A Dandroid_net_wifi_WifiNative.cpp123 int nread = ::wifi_wait_for_event(buf, sizeof buf); local
124 if (nread > 0) {
/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;

Completed in 170 milliseconds