Home
last modified time | relevance | path

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

12

/libcore/luni/src/main/java/libcore/io/
DNioBufferIterator.java59 public void skip(int byteCount) { in skip()
69 public void readByteArray(byte[] bytes, int arrayOffset, int byteCount) { in readByteArray()
99 final int byteCount = Integer.BYTES * intCount; in readIntArray() local
109 final int byteCount = Long.BYTES * longCount; in readLongArray() local
124 private static void checkReadBounds(int position, int length, int byteCount) { in checkReadBounds()
DIoTracker.java31 public void trackIo(int byteCount) { in trackIo()
40 public void trackIo(int byteCount, Mode mode) { in trackIo()
DBufferIterator.java39 public abstract void skip(int byteCount); in skip()
53 public abstract void readByteArray(byte[] bytes, int arrayOffset, int byteCount); in readByteArray()
DLinux.java126 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore()
129 public native void mlock(long address, long byteCount) throws ErrnoException; in mlock()
130 …public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long… in mmap()
131 public native void msync(long address, long byteCount, int flags) throws ErrnoException; in msync()
132 public native void munlock(long address, long byteCount) throws ErrnoException; in munlock()
133 public native void munmap(long address, long byteCount) throws ErrnoException; in munmap()
152 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
156 …private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, l… in preadBytes()
170 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
174 …e int pwriteBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) … in pwriteBytes()
[all …]
DBlockGuardOs.java298 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread()
310 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite()
322 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read()
352 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom()
377 …sendfile(FileDescriptor outFd, FileDescriptor inFd, Int64Ref offset, long byteCount) throws ErrnoE… in sendfile()
392 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto()
445 …@Override public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws … in write()
475 @Override public void msync(long address, long byteCount, int flags) throws ErrnoException { in msync()
495 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, in sendto()
DStreams.java113 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully()
233 public static long skipByReading(@NonNull InputStream in, long byteCount) throws IOException { in skipByReading()
DOs.java424 public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore()
439 public void mlock(long address, long byteCount) throws ErrnoException; in mlock()
445 …public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset… in mmap()
450 public void msync(long address, long byteCount, int flags) throws ErrnoException; in msync()
455 public void munlock(long address, long byteCount) throws ErrnoException; in munlock()
461 public void munmap(long address, long byteCount) throws ErrnoException; in munmap()
498 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
508 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
519 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read()
544 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom()
[all …]
DForwardingOs.java488 …public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException { os.mincor… in mincore()
505 …public void mlock(long address, long byteCount) throws ErrnoException { os.mlock(address, byteCoun… in mlock()
510 …public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset… in mmap()
515 …public void msync(long address, long byteCount, int flags) throws ErrnoException { os.msync(addres… in msync()
520 …public void munlock(long address, long byteCount) throws ErrnoException { os.munlock(address, byte… in munlock()
525 …public void munmap(long address, long byteCount) throws ErrnoException { os.munmap(address, byteCo… in munmap()
597 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
607 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
617 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read()
643 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom()
[all …]
DIoBridge.java600 …ad(@NonNull FileDescriptor fd, @NonNull byte[] bytes, int byteOffset, int byteCount) throws IOExce… in read()
642 …te(@NonNull FileDescriptor fd,@NonNull byte[] bytes, int byteOffset, int byteCount) throws IOExce… in write()
682 …to(@NonNull FileDescriptor fd, @NonNull byte[] bytes, int byteOffset, int byteCount, int flags, @N… in sendto()
752 …d, @NonNull FileDescriptor fd, @NonNull byte[] bytes, int byteOffset, int byteCount, int flags, @N… in recvfrom()
777 … postRecvfrom(boolean isRead, DatagramPacket packet, InetSocketAddress srcAddress, int byteCount) { in postRecvfrom()
DMemory.java48 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet()
56 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut()
244 …NonNull Object dstObject, int dstOffset, @NonNull Object srcObject, int srcOffset, long byteCount); in memmove()
298 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray()
/libcore/libart/src/main/java/java/lang/
DStringFactory.java53 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes()
58 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes()
60 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes()
69 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes()
123 public static native String newStringFromUtf8Bytes(byte[] data, int offset, int byteCount); in newStringFromUtf8Bytes()
/libcore/luni/src/main/java/android/system/
DOs.java461 …public static void mincore(long address, long byteCount, byte[] vector) throws ErrnoException { Li… in mincore()
476 …public static void mlock(long address, long byteCount) throws ErrnoException { Libcore.os.mlock(ad… in mlock()
481 …public static long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long… in mmap()
486 …public static void msync(long address, long byteCount, int flags) throws ErrnoException { Libcore.… in msync()
491 …public static void munlock(long address, long byteCount) throws ErrnoException { Libcore.os.munloc… in munlock()
496 …public static void munmap(long address, long byteCount) throws ErrnoException { Libcore.os.munmap(… in munmap()
559 …public static int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offse… in pread()
569 …public static int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offs… in pwrite()
579 …public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws Errn… in read()
623 …public static int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fla… in recvfrom()
[all …]
/libcore/benchmarks/src/benchmarks/
DZipFileBenchmark.java70 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries() local
DZipFileReadBenchmark.java63 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java110 public int deflate(byte[] buf, int offset, int byteCount) { in deflate()
DInflaterTest.java121 int byteCount = deflater.deflate(buf); in deflate() local
/libcore/luni/src/test/etc/loading-test-jar/
DTestMethods.java71 int byteCount = in.read(buffer); in readFully() local
/libcore/support/src/test/java/tests/support/
DSupport_TestWebData.java47 private static byte[] newBinaryFile(int byteCount) { in newBinaryFile()
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp112 …kByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) { in Memory_peekByteArray()
237 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
260 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkGet()
277 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkPut()
Dlibcore_io_Linux.cpp824 socklen_t byteCount = sizeof(ss); in doGetSockName() local
1915 static void Linux_mincore(JNIEnv* env, jobject, jlong address, jlong byteCount, jbyteArray javaVect… in Linux_mincore()
1941 static void Linux_mlock(JNIEnv* env, jobject, jlong address, jlong byteCount) { in Linux_mlock()
1946 static jlong Linux_mmap(JNIEnv* env, jobject, jlong address, jlong byteCount, jint prot, jint flags… in Linux_mmap()
1956 static void Linux_msync(JNIEnv* env, jobject, jlong address, jlong byteCount, jint flags) { in Linux_msync()
1961 static void Linux_munlock(JNIEnv* env, jobject, jlong address, jlong byteCount) { in Linux_munlock()
1966 static void Linux_munmap(JNIEnv* env, jobject, jlong address, jlong byteCount) { in Linux_munmap()
2103 …v* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jlong offset)… in Linux_preadBytes()
2111 …v* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jlong offset)… in Linux_pwriteBytes()
2119 …adBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount) { in Linux_readBytes()
[all …]
Dorg_apache_harmony_xml_ExpatParser.cpp1034 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { in append()
1047 jbyteArray xml, jint byteOffset, jint byteCount) { in ExpatParser_appendBytes()
1066 size_t byteCount = 2 * charCount; in ExpatParser_appendChars() local
1076 size_t byteCount = 2 * xml.size(); in ExpatParser_appendString() local
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java230 int byteCount = bytes.length() / 2; in createStream() local
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java531 BufferIterator iterator, byte[] underlyingData, int byteCount) { in assertReadByteArraySucceeds()
656 private static byte[] createBytes(int byteCount) { in createBytes()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java96 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
/libcore/ojluni/src/main/native/
DCharacter.cpp157 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); in Character_getNameImpl() local

12