Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java197 int readBytes = 0; in readStreamExhaustively() local
199 while (readBytes != outBuffer.length) { in readStreamExhaustively()
200 readBytesLastCycle = inputStream.read(outBuffer, readBytes, in readStreamExhaustively()
201 outBuffer.length - readBytes); in readStreamExhaustively()
204 + " (expected " + outBuffer.length + ", read " + readBytes + ")"); in readStreamExhaustively()
205 readBytes += readBytesLastCycle; in readStreamExhaustively()
211 for (int readBytes = input.read(buffer); readBytes >= 0; readBytes = input.read(buffer)) { in copy()
212 output.write(buffer, 0, readBytes); in copy()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java485 for (int readBytes = input.read(buffer); readBytes >= 0; readBytes = input.read(buffer)) { in checkMagicAndCopyFileTo()
486 output.write(buffer, 0, readBytes); in checkMagicAndCopyFileTo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java713 for (int readBytes = in.read(buffer); readBytes >= 0; readBytes = in.read(buffer)) in copyFileFallback()
714 out.write(buffer, 0, readBytes); in copyFileFallback()