Home
last modified time | relevance | path

Searched refs:nread (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java499 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/slang/
Dslang-data.c50 size_t nread = fread(buf, sizeof(char), sizeof(buf), infile); in main() local
51 size_t line_count = nread / 16; in main()
54 data_size += nread; in main()
70 if (nread % 16 != 0) { in main()
73 for (i = line_count * 16; i < nread; ++i) { in main()
80 if (nread != sizeof(buf)) { in main()
/frameworks/compile/libbcc/lib/ExecutionEngine/
DSha1Helper.cpp66 ssize_t nread = file.read(buf, sizeof(buf)); in calcFileSHA1() local
68 if (nread < 0) { in calcFileSHA1()
74 static_cast<unsigned long>(nread)); in calcFileSHA1()
76 if ((size_t)nread < sizeof(buf)) { in calcFileSHA1()
DFileHandle.cpp122 ssize_t nread = ::read(mFD, static_cast<void *>(buf), count); in read() local
124 if (nread >= 0) { in read()
125 return nread; in read()
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp169 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); in readBitcode() local
171 if (nread != bitcodeSize) in readBitcode()
175 return nread; in readBitcode()
/frameworks/base/core/jni/
Dandroid_net_wifi_Wifi.cpp146 int nread = ::wifi_wait_for_event(ifname.c_str(), buf, sizeof buf); in android_net_wifi_waitForEvent() local
147 if (nread > 0) { in android_net_wifi_waitForEvent()