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

12 3 4 5 6 7

  /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;
BufferedReader.java 467 * Skips {@code byteCount} bytes in this stream. Subsequent calls to
473 * @param byteCount
477 * if {@code byteCount < 0}.
485 public long skip(long byteCount) throws IOException {
486 if (byteCount < 0) {
487 throw new IllegalArgumentException("byteCount < 0: " + byteCount);
491 if (byteCount < 1) {
494 if (end - pos >= byteCount) {
495 pos += byteCount;
    [all...]
  /libcore/luni/src/main/java/java/nio/
DirectByteBuffer.java 40 public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) {
41 checkGetBounds(1, dst.length, dstOffset, byteCount);
42 this.block.peekByteArray(offset + position, dst, dstOffset, byteCount);
43 position += byteCount;
48 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount);
50 position += byteCount;
54 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount);
56 position += byteCount;
60 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount);
62 position += byteCount;
    [all...]
ReadWriteDirectByteBuffer.java 99 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {
100 checkPutBounds(1, src.length, srcOffset, byteCount);
101 this.block.pokeByteArray(offset + position, src, srcOffset, byteCount);
102 position += byteCount;
107 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount);
109 position += byteCount;
113 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount);
115 position += byteCount;
119 int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount);
121 position += byteCount;
    [all...]
MemoryBlock.java 34 private MemoryMappedBlock(int address, long byteCount) {
35 super(address, byteCount);
66 private NonMovableHeapBlock(byte[] array, int address, long byteCount) {
67 super(address, byteCount);
86 private UnmanagedBlock(int address, long byteCount) {
87 super(address, byteCount);
124 public static MemoryBlock allocate(int byteCount) {
126 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, byteCount);
128 return new NonMovableHeapBlock(array, address, byteCount);
131 public static MemoryBlock wrapFromJni(int address, long byteCount) {
    [all...]
ByteBuffer.java 89 * {@code start + byteCount}, capacity will be the length of the array.
96 * @param byteCount
101 * if either {@code start} or {@code byteCount} is invalid.
103 public static ByteBuffer wrap(byte[] array, int start, int byteCount) {
104 Arrays.checkOffsetAndCount(array.length, start, byteCount);
107 buf.limit = start + byteCount;
397 * @param byteCount
401 * @exception IndexOutOfBoundsException if {@code dstOffset < 0 || byteCount < 0}
402 * @exception BufferUnderflowException if {@code byteCount > remaining()}
404 public ByteBuffer get(byte[] dst, int dstOffset, int byteCount) {
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
InflaterInputStream.java 132 * Reads up to {@code byteCount} bytes of decompressed data and stores it in
138 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
140 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
142 if (byteCount == 0) {
157 int result = inf.inflate(buffer, offset, byteCount);
205 * Skips up to {@code byteCount} bytes of uncompressed data.
207 * @param byteCount the number of bytes to skip.
209 * @throws IllegalArgumentException if {@code byteCount < 0}.
213 public long skip(long byteCount) throws IOException {
214 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);
InflaterOutputStream.java 139 public void write(byte[] bytes, int offset, int byteCount) throws IOException, ZipException {
141 Arrays.checkOffsetAndCount(bytes.length, offset, byteCount);
142 inf.setInput(bytes, offset, 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 75 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException;
77 public native void mlock(long address, long byteCount) throws ErrnoException;
78 public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException;
79 public native void msync(long address, long byteCount, int flags) throws ErrnoException;
80 public native void munlock(long address, long byteCount) throws ErrnoException;
81 public native void munmap(long address, long byteCount) throws ErrnoException;
92 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
94 return preadBytes(fd, bytes, byteOffset, byteCount, offset);
96 private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException;
104 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...]
BlockGuardOs.java 127 @Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
129 return os.pread(fd, bytes, byteOffset, byteCount, offset);
137 @Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException {
139 return os.pwrite(fd, bytes, byteOffset, byteCount, offset);
147 @Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException {
149 return os.read(fd, bytes, byteOffset, byteCount);
162 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException {
164 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
172 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException {
177 return os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port)
    [all...]
  /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;
  /libcore/luni/src/main/java/java/net/
DatagramPacket.java 180 public synchronized void setData(byte[] data, int offset, int byteCount) {
181 if ((offset | byteCount) < 0 || offset > data.length || byteCount > data.length - offset) {
186 this.length = byteCount;
187 this.userSuppliedLength = byteCount;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
NativeFrame.java 179 int byteCount = rgbaBitmap.getByteCount();
181 if (!setNativeBitmap(rgbaBitmap, byteCount, bps)) {
195 int byteCount = result.getByteCount();
197 if (!getNativeBitmap(result, byteCount, bps)) {
246 private native byte[] getNativeData(int byteCount);
254 private native int[] getNativeInts(int byteCount);
256 private native float[] getNativeFloats(int byteCount);

Completed in 921 milliseconds

12 3 4 5 6 7