HomeSort by relevance Sort by last modified time
    Searched refs:byteCount (Results 26 - 50 of 183) sorted by null

12 3 4 5 6 7 8

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
MD5Calculator.java 35 int byteCount;
36 while ((byteCount = in.read(bytes)) > 0) {
37 digester.update(bytes, 0, byteCount);
  /libcore/luni/src/main/java/java/nio/
IoVec.java 88 void didTransfer(int byteCount) {
89 for (int i = 0; byteCount > 0 && i < bufferCount; ++i) {
91 if (byteCounts[i] < byteCount) {
93 byteCount -= byteCounts[i];
95 b.position((direction == Direction.WRITEV ? b.position() : 0) + byteCount);
96 byteCount = 0;
MemoryBlock.java 34 private MemoryMappedBlock(long address, long byteCount) {
35 super(address, byteCount);
66 private NonMovableHeapBlock(byte[] array, long address, long byteCount) {
67 super(address, byteCount);
86 private UnmanagedBlock(long address, long byteCount) {
87 super(address, byteCount);
123 public static MemoryBlock allocate(int byteCount) {
125 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, byteCount);
127 return new NonMovableHeapBlock(array, address, byteCount);
130 public static MemoryBlock wrapFromJni(long address, long byteCount) {
    [all...]
Buffer.java 171 int byteCount = bytesPerElement * count;
176 if (byteCount > remaining()) {
179 return byteCount;
183 int byteCount = bytesPerElement * count;
188 if (byteCount > remaining()) {
194 return byteCount;
DirectByteBuffer.java 106 @Override public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) {
107 checkGetBounds(1, dst.length, dstOffset, byteCount);
108 this.block.peekByteArray(offset + position, dst, dstOffset, byteCount);
109 position += byteCount;
114 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount);
116 position += byteCount;
120 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount);
122 position += byteCount;
126 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount);
128 position += byteCount;
    [all...]
  /external/skia/src/utils/
SkMD5.h 44 uint64_t byteCount;
SkSHA1.h 44 uint64_t byteCount;
  /external/yaffs2/yaffs2/
yaffs_packedtags1.c 8 pt->byteCount = t->byteCount;
31 t->byteCount = pt->byteCount;
yaffs_packedtags1.h 11 unsigned byteCount:10;
yaffs_packedtags2.h 13 unsigned byteCount;
  /libcore/luni/src/main/java/java/io/
ByteArrayInputStream.java 196 * Skips {@code byteCount} bytes in this InputStream. Subsequent
198 * used. This implementation skips {@code byteCount} number of bytes in the
199 * target stream. It does nothing and returns 0 if {@code byteCount} is negative.
204 public synchronized long skip(long byteCount) {
205 if (byteCount <= 0) {
209 pos = this.count - pos < byteCount ? this.count : (int) (pos + byteCount);
ObjectInput.java 102 * Skips {@code byteCount} bytes on this stream. Less than {@code byteCount} byte are
110 public long skip(long byteCount) throws IOException;
PushbackInputStream.java 211 * Skips {@code byteCount} bytes in this stream. This implementation skips bytes
219 public long skip(long byteCount) throws IOException {
223 if (byteCount <= 0) {
228 numSkipped += (byteCount < buf.length - pos) ? byteCount : buf.length - pos;
231 if (numSkipped < byteCount) {
232 numSkipped += in.skip(byteCount - numSkipped);
FilterInputStream.java 158 * Skips {@code byteCount} bytes in this stream. Subsequent
160 * used. This implementation skips {@code byteCount} bytes in the
170 public long skip(long byteCount) throws IOException {
171 return in.skip(byteCount);
InputStream.java 231 * @param byteCount the number of bytes to skip.
236 public long skip(long byteCount) throws IOException {
237 return Streams.skipByReading(this, byteCount);
DataInput.java 115 * Reads {@code byteCount} bytes from this stream and stores them in the byte
116 * array {@code dst} starting at {@code offset}. If {@code byteCount} is zero, then this
118 * {@code byteCount} bytes have been read. If insufficient bytes are available,
127 * @param byteCount
133 * if {@code offset < 0} or {@code byteCount < 0}, or
134 * {@code offset + byteCount > dst.length}.
140 public abstract void readFully(byte[] dst, int offset, int byteCount) throws IOException;
  /external/skia/src/ports/
SkOSFile_stdio.cpp 79 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* f)
89 // ::fseek((FILE*)f, (long)(curr + byteCount), SEEK_SET);
90 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR);
93 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err));
96 return byteCount;
99 return ::fread(buffer, 1, byteCount, (FILE*)f);
102 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f)
105 return ::fwrite(buffer, 1, byteCount, (FILE*)f);
  /libcore/luni/src/main/java/java/util/zip/
InflaterInputStream.java 134 * Reads up to {@code byteCount} bytes of decompressed data and stores it in
140 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
142 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
144 if (byteCount == 0) {
159 int result = inf.inflate(buffer, offset, byteCount);
202 * Skips up to {@code byteCount} bytes of uncompressed data.
204 * @param byteCount the number of bytes to skip.
206 * @throws IllegalArgumentException if {@code byteCount < 0}.
210 public long skip(long byteCount) throws IOException {
211 if (byteCount < 0)
    [all...]
CheckedInputStream.java 106 * Skip up to {@code byteCount} bytes of data on the underlying input
109 * @param byteCount the number of bytes to skip.
114 public long skip(long byteCount) throws IOException {
115 return Streams.skipByReading(this, byteCount);
  /libcore/luni/src/main/java/javax/crypto/
CipherInputStream.java 102 int byteCount = in.read(inputBuffer);
103 if (byteCount == -1) {
113 outputLength = cipher.update(inputBuffer, 0, byteCount, outputBuffer, 0);
155 public long skip(long byteCount) throws IOException {
156 return Streams.skipByReading(this, byteCount);
  /libcore/luni/src/main/java/libcore/io/
Posix.java 84 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException;
86 public native void mlock(long address, long byteCount) throws ErrnoException;
87 public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException;
88 public native void msync(long address, long byteCount, int flags) throws ErrnoException;
89 public native void munlock(long address, long byteCount) throws ErrnoException;
90 public native void munmap(long address, long byteCount) throws ErrnoException;
101 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
103 return preadBytes(fd, bytes, byteOffset, byteCount, offset);
105 private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
113 public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException
    [all...]
Streams.java 64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throws
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException {
70 if (byteCount == 0) {
79 Arrays.checkOffsetAndCount(dst.length, offset, byteCount);
80 while (byteCount > 0) {
81 int bytesRead = in.read(dst, offset, byteCount);
86 byteCount -= bytesRead;
139 * {@code byteCount} bytes have been read.
148 public static long skipByReading(InputStream in, long byteCount) throws IOException {
156 while (skipped < byteCount) {
    [all...]
  /external/skia/src/utils/ios/
SkOSFile_iOS.mm 69 size_t sk_fread(void* buffer, size_t byteCount, SkFILE* rec) {
74 if (byteCount > remaining) {
75 byteCount = remaining;
77 memcpy(buffer, (char*)[rec->fData bytes] + rec->fOffset, byteCount);
78 rec->fOffset += byteCount;
80 return byteCount;
84 size_t sk_fwrite(const void* buffer, size_t byteCount, SkFILE* f) {
  /libcore/luni/src/main/java/libcore/net/url/
FtpURLInputStream.java 77 public long skip(long byteCount) throws IOException {
78 return is.skip(byteCount);
  /external/webkit/Source/JavaScriptCore/interpreter/
RegisterFile.cpp 94 void RegisterFile::addToCommittedByteCount(long byteCount)
97 ASSERT(static_cast<long>(committedBytesCount) + byteCount > -1);
98 committedBytesCount += byteCount;

Completed in 2785 milliseconds

12 3 4 5 6 7 8