Home
last modified time | relevance | path

Searched defs:byteCount (Results 1 – 25 of 74) sorted by relevance

123

/libcore/luni/src/main/java/libcore/io/
DHeapBufferIterator.java30 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()
DBufferIterator.java34 public abstract void skip(int byteCount); in skip()
40 public abstract void readByteArray(byte[] dst, int dstOffset, int byteCount); in readByteArray()
DNioBufferIterator.java44 public void skip(int byteCount) { in skip()
48 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
DPosix.java101 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore()
104 public native void mlock(long address, long byteCount) throws ErrnoException; in mlock()
105 …public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long… in mmap()
106 public native void msync(long address, long byteCount, int flags) throws ErrnoException; in msync()
107 public native void munlock(long address, long byteCount) throws ErrnoException; in munlock()
108 public native void munmap(long address, long byteCount) throws ErrnoException; in munmap()
121 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
125 …private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, l… in preadBytes()
133 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
137 …e int pwriteBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) … in pwriteBytes()
[all …]
DBlockGuardOs.java208 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread()
218 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite()
228 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read()
248 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom()
263 …ile(FileDescriptor outFd, FileDescriptor inFd, MutableLong inOffset, long byteCount) throws ErrnoE… in sendfile()
273 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto()
311 …@Override public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws … in write()
/libcore/luni/src/main/java/java/util/zip/
DInflater.java226 …public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { in inflate()
244 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); in inflateImpl()
291 public synchronized void setDictionary(byte[] dictionary, int offset, int byteCount) { in setDictionary()
297 … private native void setDictionaryImpl(byte[] dictionary, int offset, int byteCount, long handle); in setDictionaryImpl()
311 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput()
319 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); in setInputImpl()
321 synchronized int setFileInput(FileDescriptor fd, long offset, int byteCount) { in setFileInput()
328 private native int setFileInputImpl(FileDescriptor fd, long offset, int byteCount, long handle); in setFileInputImpl()
DDeflaterOutputStream.java116 int byteCount; in deflate() local
154 int byteCount = def.deflate(buf); in finish() local
170 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException { in write()
195 int byteCount; in flush() local
DCheckedInputStream.java81 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
105 public long skip(long byteCount) throws IOException { in skip()
DDeflater.java211 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()
DAdler32.java72 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()
DCRC32.java73 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()
DDeflaterInputStream.java114 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
159 public long skip(long byteCount) throws IOException { in skip()
DInflaterInputStream.java139 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
209 public long skip(long byteCount) throws IOException { in skip()
/libcore/luni/src/main/java/java/nio/
DByteArrayBuffer.java107 @Override public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { in get()
115 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); in get() local
121 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); in get() local
127 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); in get() local
133 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); in get() local
139 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount); in get() local
145 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); in get() local
262 @Override public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { in put()
273 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); in put() local
279 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); in put() local
[all …]
DDirectByteBuffer.java111 @Override public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { in get()
121 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); in get() local
128 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); in get() local
135 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); in get() local
142 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); in get() local
149 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount); in get() local
156 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); in get() local
351 @Override public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { in put()
364 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); in put() local
371 int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); in put() local
[all …]
DMemoryBlock.java38 private MemoryMappedBlock(long address, long byteCount) { in MemoryMappedBlock()
70 private NonMovableHeapBlock(byte[] array, long address, long byteCount) { in NonMovableHeapBlock()
90 private UnmanagedBlock(long address, long byteCount) { in UnmanagedBlock()
129 public static MemoryBlock allocate(int byteCount) { in allocate()
136 public static MemoryBlock wrapFromJni(long address, long byteCount) { in wrapFromJni()
173 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { in pokeByteArray()
205 public final void peekByteArray(int offset, byte[] dst, int dstOffset, int byteCount) { in peekByteArray()
/libcore/luni/src/main/java/java/io/
DObjectInput.java76 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException; in read()
99 public long skip(long byteCount) throws IOException; in skip()
DFilterInputStream.java117 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
150 public long skip(long byteCount) throws IOException { in skip()
DInputStream.java176 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
228 public long skip(long byteCount) throws IOException { in skip()
DLineNumberInputStream.java159 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
228 public long skip(long byteCount) throws IOException { in skip()
DFileInputStream.java176 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
181 public long skip(long byteCount) throws IOException { in skip()
DPushbackInputStream.java166 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
208 public long skip(long byteCount) throws IOException { in skip()
DStringBufferInputStream.java81 @Override public synchronized int read(byte[] buffer, int byteOffset, int byteCount) { in read()
/libcore/luni/src/main/java/javax/crypto/
DCipherInputStream.java99 int byteCount = in.read(inputBuffer); in fillBuffer() local
170 public long skip(long byteCount) throws IOException { in skip()
/libcore/luni/src/main/java/javax/crypto/spec/
DIvParameterSpec.java63 public IvParameterSpec(byte[] iv, int offset, int byteCount) { in IvParameterSpec()

123