| /libcore/luni/src/main/java/libcore/io/ |
| D | HeapBufferIterator.java | 30 private final int byteCount; field in HeapBufferIterator 35 HeapBufferIterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { in HeapBufferIterator() 46 public void skip(int byteCount) { in skip() 50 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray() 68 final int byteCount = intCount * SizeOf.INT; in readIntArray() local 83 … public static BufferIterator iterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { in iterator()
|
| D | BufferIterator.java | 34 public abstract void skip(int byteCount); in skip() 40 public abstract void readByteArray(byte[] dst, int dstOffset, int byteCount); in readByteArray()
|
| D | Posix.java | 75 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() 77 public native void mlock(long address, long byteCount) throws ErrnoException; in mlock() 78 …public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long… in mmap() 79 public native void msync(long address, long byteCount, int flags) throws ErrnoException; in msync() 80 public native void munlock(long address, long byteCount) throws ErrnoException; in munlock() 81 public native void munmap(long address, long byteCount) throws ErrnoException; in munmap() 92 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread() 96 …private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, l… in preadBytes() 104 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite() 108 …e int pwriteBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) … in pwriteBytes() [all …]
|
| D | NioBufferIterator.java | 44 public void skip(int byteCount) { in skip() 48 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
|
| D | BlockGuardOs.java | 127 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread() 137 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite() 147 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read() 162 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom() 172 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto() 189 …@Override public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws … in write()
|
| D | ForwardingOs.java | 81 …public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException { os.mincor… in mincore() 83 …public void mlock(long address, long byteCount) throws ErrnoException { os.mlock(address, byteCoun… in mlock() 84 …public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset… in mmap() 85 …public void msync(long address, long byteCount, int flags) throws ErrnoException { os.msync(addres… in msync() 86 …public void munlock(long address, long byteCount) throws ErrnoException { os.munlock(address, byte… in munlock() 87 …public void munmap(long address, long byteCount) throws ErrnoException { os.munmap(address, byteCo… in munmap() 92 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread() 94 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite() 96 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read() 99 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom() [all …]
|
| D | Os.java | 73 public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() 75 public void mlock(long address, long byteCount) throws ErrnoException; in mlock() 76 …public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset… in mmap() 77 public void msync(long address, long byteCount, int flags) throws ErrnoException; in msync() 78 public void munlock(long address, long byteCount) throws ErrnoException; in munlock() 79 public void munmap(long address, long byteCount) throws ErrnoException; in munmap() 85 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread() 87 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite() 89 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read() 92 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom() [all …]
|
| /libcore/luni/src/main/java/java/util/zip/ |
| D | Inflater.java | 217 …public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { in inflate() 235 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); in inflateImpl() 282 public synchronized void setDictionary(byte[] dictionary, int offset, int byteCount) { in setDictionary() 288 … private native void setDictionaryImpl(byte[] dictionary, int offset, int byteCount, long handle); in setDictionaryImpl() 302 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput() 310 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl() 312 synchronized int setFileInput(FileDescriptor fd, long offset, int byteCount) { in setFileInput() 319 private native int setFileInputImpl(FileDescriptor fd, long offset, int byteCount, long handle); in setFileInputImpl()
|
| D | DeflaterOutputStream.java | 137 int byteCount; in deflate() local 175 int byteCount = def.deflate(buf); in finish() local 191 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException { in write() 214 int byteCount; in flush() local
|
| D | Deflater.java | 211 public synchronized int deflate(byte[] buf, int offset, int byteCount) { in deflate() 228 public synchronized int deflate(byte[] buf, int offset, int byteCount, int flush) { in deflate() 235 private synchronized int deflateImpl(byte[] buf, int offset, int byteCount, int flush) { in deflateImpl() 244 … private native int deflateImpl(byte[] buf, int offset, int byteCount, long handle, int flushParm); in deflateImpl() 380 public synchronized void setDictionary(byte[] buf, int offset, int byteCount) { in setDictionary() 386 private native void setDictionaryImpl(byte[] buf, int offset, int byteCount, long handle); in setDictionaryImpl() 400 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput() 414 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
|
| D | Adler32.java | 72 public void update(byte[] buf, int offset, int byteCount) { in update() 77 private native long updateImpl(byte[] buf, int offset, int byteCount, long adler1); in updateImpl()
|
| D | CRC32.java | 73 public void update(byte[] buf, int offset, int byteCount) { in update() 79 private native long updateImpl(byte[] buf, int offset, int byteCount, long crc1); in updateImpl()
|
| D | DeflaterInputStream.java | 112 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException { in read() 154 public long skip(long byteCount) throws IOException { in skip()
|
| D | InflaterInputStream.java | 138 public int read(byte[] buffer, int offset, int byteCount) throws IOException { in read() 213 public long skip(long byteCount) throws IOException { in skip()
|
| /libcore/luni/src/main/java/java/nio/ |
| D | HeapByteBuffer.java | 62 public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { in get() 70 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); in get() local 76 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); in get() local 82 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); in get() local 88 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); in get() local 94 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount); in get() local 100 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); in get() local
|
| D | DirectByteBuffer.java | 40 public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { in get() 48 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); in get() local 54 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); in get() local 60 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); in get() local 66 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); in get() local 72 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount); in get() local 78 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); in get() local
|
| D | ReadWriteHeapByteBuffer.java | 109 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { in put() 117 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); in put() local 123 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); in put() local 129 int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); in put() local 135 int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); in put() local 141 int byteCount = checkPutBounds(SizeOf.LONG, src.length, srcOffset, longCount); in put() local 147 int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); in put() local
|
| D | ReadWriteDirectByteBuffer.java | 99 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { in put() 107 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); in put() local 113 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); in put() local 119 int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); in put() local 125 int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); in put() local 131 int byteCount = checkPutBounds(SizeOf.LONG, src.length, srcOffset, longCount); in put() local 137 int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); in put() local
|
| D | MemoryBlock.java | 34 private MemoryMappedBlock(int address, long byteCount) { in MemoryMappedBlock() 66 private NonMovableHeapBlock(byte[] array, int address, long byteCount) { in NonMovableHeapBlock() 86 private UnmanagedBlock(int address, long byteCount) { in UnmanagedBlock() 124 public static MemoryBlock allocate(int byteCount) { in allocate() 131 public static MemoryBlock wrapFromJni(int address, long byteCount) { in wrapFromJni() 152 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { in pokeByteArray() 184 public final void peekByteArray(int offset, byte[] dst, int dstOffset, int byteCount) { in peekByteArray()
|
| /libcore/luni/src/main/java/libcore/net/ |
| D | RawSocket.java | 50 int offset, int byteCount); in sendPacket() 52 int offset, int byteCount, int destPort, int timeoutMillis); in recvPacket() 80 public int read(byte[] packet, int offset, int byteCount, int destPort, in read() 103 public int write(byte[] destMac, byte[] packet, int offset, int byteCount) { in write()
|
| /libcore/luni/src/main/java/java/io/ |
| D | FileInputStream.java | 178 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() 183 public long skip(long byteCount) throws IOException { in skip()
|
| D | ObjectInput.java | 110 public long skip(long byteCount) throws IOException; in skip()
|
| D | BufferedInputStream.java | 266 public synchronized int read(byte[] buffer, int offset, int byteCount) throws IOException { in read() 368 public synchronized long skip(long byteCount) throws IOException { in skip()
|
| /libcore/luni/src/main/java/javax/crypto/ |
| D | CipherInputStream.java | 102 int byteCount = in.read(inputBuffer); in read() local 155 public long skip(long byteCount) throws IOException { in skip()
|
| /libcore/luni/src/main/java/javax/crypto/spec/ |
| D | IvParameterSpec.java | 63 public IvParameterSpec(byte[] iv, int offset, int byteCount) { in IvParameterSpec()
|