Searched refs:nread (Results 1 – 6 of 6) 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/slang/ |
D | slang-data.c | 50 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/ |
D | Sha1Helper.cpp | 66 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()
|
D | FileHandle.cpp | 122 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/ |
D | main.cpp | 169 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/ |
D | android_net_wifi_Wifi.cpp | 146 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()
|