Home
last modified time | relevance | path

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

12

/libcore/luni/src/main/java/libcore/io/
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.java105 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore()
108 public native void mlock(long address, long byteCount) throws ErrnoException; in mlock()
109 …public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long… in mmap()
110 public native void msync(long address, long byteCount, int flags) throws ErrnoException; in msync()
111 public native void munlock(long address, long byteCount) throws ErrnoException; in munlock()
112 public native void munmap(long address, long byteCount) throws ErrnoException; in munmap()
131 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
135 …private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, l… in preadBytes()
149 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
153 …e int pwriteBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) … in pwriteBytes()
[all …]
DBlockGuardOs.java209 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread()
219 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite()
229 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read()
254 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom()
269 …ile(FileDescriptor outFd, FileDescriptor inFd, MutableLong inOffset, long byteCount) throws ErrnoE… in sendfile()
279 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto()
317 …@Override public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws … in write()
DForwardingOs.java111 …public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException { os.mincor… in mincore()
114 …public void mlock(long address, long byteCount) throws ErrnoException { os.mlock(address, byteCoun… in mlock()
115 …public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset… in mmap()
116 …public void msync(long address, long byteCount, int flags) throws ErrnoException { os.msync(addres… in msync()
117 …public void munlock(long address, long byteCount) throws ErrnoException { os.munlock(address, byte… in munlock()
118 …public void munmap(long address, long byteCount) throws ErrnoException { os.munmap(address, byteCo… in munmap()
125 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
127 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
129 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read()
134 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom()
[all …]
DOs.java103 public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore()
106 public void mlock(long address, long byteCount) throws ErrnoException; in mlock()
107 …public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset… in mmap()
108 public void msync(long address, long byteCount, int flags) throws ErrnoException; in msync()
109 public void munlock(long address, long byteCount) throws ErrnoException; in munlock()
110 public void munmap(long address, long byteCount) throws ErrnoException; in munmap()
118 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread()
120 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite()
122 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read()
127 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom()
[all …]
DStreams.java69 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully()
149 public static long skipByReading(InputStream in, long byteCount) throws IOException { in skipByReading()
DIoBridge.java465 …public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOEx… in read()
489 …public static void write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IO… in write()
505 …public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags… in sendto()
548 …from(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Da… in recvfrom()
572 … isRead, DatagramPacket packet, boolean isConnected, InetSocketAddress srcAddress, int byteCount) { in postRecvfrom()
DMemory.java35 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet()
42 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut()
151 …ive void memmove(Object dstObject, int dstOffset, Object srcObject, int srcOffset, long byteCount); in memmove()
182 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray()
/libcore/libart/src/main/java/java/lang/
DStringFactory.java52 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes()
56 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes()
58 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes()
67 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes()
/libcore/luni/src/main/java/android/system/
DOs.java277 …public static void mincore(long address, long byteCount, byte[] vector) throws ErrnoException { Li… in mincore()
292 …public static void mlock(long address, long byteCount) throws ErrnoException { Libcore.os.mlock(ad… in mlock()
297 …public static long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long… in mmap()
302 …public static void msync(long address, long byteCount, int flags) throws ErrnoException { Libcore.… in msync()
307 …public static void munlock(long address, long byteCount) throws ErrnoException { Libcore.os.munloc… in munlock()
312 …public static void munmap(long address, long byteCount) throws ErrnoException { Libcore.os.munmap(… in munmap()
353 …public static int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offse… in pread()
363 …public static int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offs… in pwrite()
373 …public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws Errn… in read()
393 …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
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java106 public int deflate(byte[] buf, int offset, int byteCount) { in deflate()
DInflaterTest.java113 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/test/java/libcore/util/
DZoneInfoTest.java493 public void skip(int byteCount) { in skip()
498 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1PRNG_SecureRandomImpl.java547 private static byte[] getRandomBytes(int byteCount) { in getRandomBytes()
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp109 …kByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) { in Memory_peekByteArray()
234 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
257 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkGet()
274 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap) { in Memory_unsafeBulkPut()
Dlibcore_io_Posix.cpp684 socklen_t byteCount = sizeof(ss); in doGetSockName() local
1282 static void Posix_mincore(JNIEnv* env, jobject, jlong address, jlong byteCount, jbyteArray javaVect… in Posix_mincore()
1308 static void Posix_mlock(JNIEnv* env, jobject, jlong address, jlong byteCount) { in Posix_mlock()
1313 static jlong Posix_mmap(JNIEnv* env, jobject, jlong address, jlong byteCount, jint prot, jint flags… in Posix_mmap()
1323 static void Posix_msync(JNIEnv* env, jobject, jlong address, jlong byteCount, jint flags) { in Posix_msync()
1328 static void Posix_munlock(JNIEnv* env, jobject, jlong address, jlong byteCount) { in Posix_munlock()
1333 static void Posix_munmap(JNIEnv* env, jobject, jlong address, jlong byteCount) { in Posix_munmap()
1468 …v* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jlong offset)… in Posix_preadBytes()
1476 …env, jobject, jobject javaFd, jbyteArray javaBytes, jint byteOffset, jint byteCount, jlong offset)… in Posix_pwriteBytes()
1484 …adBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount) { in Posix_readBytes()
[all …]
Dorg_apache_harmony_xml_ExpatParser.cpp428 static size_t fillBuffer(ParsingContext* parsingContext, const char* utf8, int byteCount) { in fillBuffer()
1019 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { in append()
1032 jbyteArray xml, jint byteOffset, jint byteCount) { in ExpatParser_appendBytes()
1051 size_t byteCount = 2 * charCount; in ExpatParser_appendChars() local
1061 size_t byteCount = 2 * xml.size(); in ExpatParser_appendString() local
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java230 int byteCount = bytes.length() / 2; in createStream() local
/libcore/dex/src/main/java/com/android/dex/
DTableOfContents.java216 public int byteCount = 0; field in TableOfContents.Section
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DBinaryHprofReader.java264 int byteCount = dst.length; in readFully() local

12