Home
last modified time | relevance | path

Searched refs:readLen (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/rawbu/
Dbackup.cpp204 int readLen = fread(copyBuffer, 1, amt, src); in copy_file() local
205 if (readLen <= 0) { in copy_file()
215 int writeLen = fwrite(copyBuffer, 1, readLen, dest); in copy_file()
216 if (writeLen != readLen) { in copy_file()
219 writeLen, readLen, destName, strerror(errno)); in copy_file()
222 writeLen, readLen, strerror(errno)); in copy_file()
226 size -= readLen; in copy_file()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java93 int readLen; in copyToFile() local
94 while ((readLen = is.read(buffer)) != -1) { in copyToFile()
95 os.write(buffer, 0, readLen); in copyToFile()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp882 int readLen = amt < len ? amt : len; in compare_file() local
883 amt = read(fd, contents, readLen); in compare_file()
884 if (amt != readLen) { in compare_file()
889 for (int i=0; i<readLen; i++) { in compare_file()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduParser.java1332 int readLen = pduDataStream.read(area, 0, length); in skipWapValue() local
1333 if (readLen < length) { //The actually read length is lower than the length in skipWapValue()
1336 return readLen; in skipWapValue()