Searched refs:byteCount (Results 1 - 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DMD5Calculator.java35 int byteCount;
36 while ((byteCount = in.read(bytes)) > 0) {
37 digester.update(bytes, 0, byteCount);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DCachedInputStream.java213 public long skip(long byteCount) throws IOException { argument
218 return in.skip(byteCount);
222 if (totalSkip > byteCount) {
223 totalSkip = byteCount;
226 byteCount -= totalSkip;
227 while (byteCount > 0) {
236 int toRead = (int) (byteCount > leftInBuffer ? leftInBuffer : byteCount);
241 byteCount -= reads;
244 if (byteCount >
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFingerprint.java78 * @param byteCount length of original data will be stored at byteCount[0] as a side product
81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) argument
97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
H A DJPEGInputStream.java137 public long skip(long byteCount) throws IOException { argument
138 if (byteCount <= 0) {
142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount));
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dbyte_array_utils.h235 int byteCount = 0; local
243 byteCount += 3;
246 byteCount += 1;
251 byteCount += 1;
253 return byteCount;

Completed in 271 milliseconds