Home
last modified time | relevance | path

Searched refs:byteCount (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCachedInputStream.java213 public long skip(long byteCount) throws IOException { in skip() argument
218 return in.skip(byteCount); in skip()
222 if (totalSkip > byteCount) { in skip()
223 totalSkip = byteCount; in skip()
226 byteCount -= totalSkip; in skip()
227 while (byteCount > 0) { in skip()
236 int toRead = (int) (byteCount > leftInBuffer ? leftInBuffer : byteCount); in skip()
241 byteCount -= reads; in skip()
244 if (byteCount > 0) { in skip()
245 totalSkip += in.skip(byteCount); in skip()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h235 int byteCount = 0; in calculateRequiredByteCountToStoreCodePoints() local
243 byteCount += 3; in calculateRequiredByteCountToStoreCodePoints()
246 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints()
251 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints()
253 return byteCount; in calculateRequiredByteCountToStoreCodePoints()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) in fromInputStream() argument
97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count; in fromInputStream()
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java75 int byteCount = 0; in saveDepth() local
77 byteCount = channel.write(depthCloudData); in saveDepth()
78 if (0 == byteCount) { in saveDepth()
81 bytesWritten += byteCount; in saveDepth()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMD5Calculator.java35 int byteCount; in checksum() local
36 while ((byteCount = in.read(bytes)) > 0) { in checksum()
37 digester.update(bytes, 0, byteCount); in checksum()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGInputStream.java137 public long skip(long byteCount) throws IOException { in skip() argument
138 if (byteCount <= 0) { in skip()
142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); in skip()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java799 private static String readAsciiString(ByteBuffer buf, int byteCount, boolean nullOk) { in readAsciiString() argument
800 byte[] bytes = new byte[byteCount]; in readAsciiString()