/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMLocatorImpl.java | 25 private final int byteOffset; field in class:DOMLocatorImpl 33 this.byteOffset = src.getByteOffset(); 60 return byteOffset;
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicReferenceArray.java | 79 return byteOffset(i); 82 private static long byteOffset(int i) { method in class:AtomicReferenceArray 307 b.append(getRaw(byteOffset(i)));
|
H A D | AtomicIntegerArray.java | 69 return byteOffset(i); 72 private static long byteOffset(int i) { method in class:AtomicIntegerArray 357 b.append(getRaw(byteOffset(i)));
|
H A D | AtomicLongArray.java | 68 return byteOffset(i); 71 private static long byteOffset(int i) { method in class:AtomicLongArray 356 b.append(getRaw(byteOffset(i)));
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | IoBridge.java | 522 public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOException { argument 523 Arrays.checkOffsetAndCount(bytes.length, byteOffset, byteCount); 528 int readCount = Libcore.os.read(fd, bytes, byteOffset, byteCount); 546 public static void write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOException { argument 547 Arrays.checkOffsetAndCount(bytes.length, byteOffset, byteCount); 553 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount); 555 byteOffset += bytesWritten; 562 public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException { argument 569 result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port); 606 public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, in argument [all...] |
H A D | BlockGuardOs.java | 229 @Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 231 return os.pread(fd, bytes, byteOffset, byteCount, offset); 239 @Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 241 return os.pwrite(fd, bytes, byteOffset, byteCount, offset); 249 @Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { argument 251 return os.read(fd, bytes, byteOffset, byteCount); 274 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument 276 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); 299 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { argument 304 return os.sendto(fd, bytes, byteOffset, byteCoun 343 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument 387 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument [all...] |
H A D | ForwardingOs.java | 141 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { return os.pread(fd, bytes, byteOffset, byteCount, offset); } argument 143 public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { return os.pwrite(fd, bytes, byteOffset, byteCount, offset); } argument 145 public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { return os.read(fd, bytes, byteOffset, byteCount); } argument 150 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); } argument 156 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return os.sendto(fd, bytes, byteOffset, byteCoun argument 157 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument 193 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument [all...] |
H A D | Linux.java | 144 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 146 return preadBytes(fd, bytes, byteOffset, byteCount, offset); 162 public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 164 return pwriteBytes(fd, bytes, byteOffset, byteCount, offset); 180 public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { argument 182 return readBytes(fd, bytes, byteOffset, byteCount); 201 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument 203 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress); 205 private native int recvfromBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument 223 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, in argument 227 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument 230 sendtoBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) argument 231 sendtoBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, SocketAddress address) argument 284 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument [all...] |
H A D | Os.java | 128 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException; argument 130 public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException; argument 132 public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException; argument 137 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument 142 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException; argument 143 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) throws ErrnoException, SocketException; argument 180 public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException; argument
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | CipherInputStreamTest.java | 96 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument 97 int numRead = super.read(buffer, byteOffset, byteCount);
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 390 public static int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { return Libcore.os.pread(fd, bytes, byteOffset, byteCount, offset); } argument 400 public static int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { return Libcore.os.pwrite(fd, bytes, byteOffset, byteCount, offset); } argument 410 public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { return Libcore.os.read(fd, bytes, byteOffset, byteCount); } argument 430 public static int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); } argument 460 public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return Libcore.os.sendto(fd, bytes, byteOffset, byteCoun argument 465 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument 619 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument [all...] |
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 1021 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { 1026 if (!XML_Parse(parser, bytes + byteOffset, byteCount, isFinal) && !env->ExceptionCheck()) { 1034 jbyteArray xml, jint byteOffset, jint byteCount) { 1041 append(env, object, pointer, bytes, byteOffset, byteCount, XML_FALSE); 1052 size_t byteOffset = 2 * charOffset; local 1054 append(env, object, pointer, bytes, byteOffset, byteCount, XML_FALSE); 1020 append(JNIEnv* env, jobject object, jlong pointer, const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) argument 1033 ExpatParser_appendBytes(JNIEnv* env, jobject object, jlong pointer, jbyteArray xml, jint byteOffset, jint byteCount) argument
|
H A D | libcore_io_Linux.cpp | 1875 static jint Linux_preadBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jlong offset) { argument 1880 return IO_FAILURE_RETRY(env, ssize_t, pread64, javaFd, bytes.get() + byteOffset, byteCount, offset); 1883 static jint Linux_pwriteBytes(JNIEnv* env, jobject, jobject javaFd, jbyteArray javaBytes, jint byteOffset, jint byteCount, jlong offset) { argument 1888 return IO_FAILURE_RETRY(env, ssize_t, pwrite64, javaFd, bytes.get() + byteOffset, byteCount, offset); 1891 static jint Linux_readBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount) { argument 1896 return IO_FAILURE_RETRY(env, ssize_t, read, javaFd, bytes.get() + byteOffset, byteCount); 1936 static jint Linux_recvfromBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jint flags, jobject javaInetSocketAddress) { argument 1946 jint recvCount = NET_FAILURE_RETRY(env, ssize_t, recvfrom, javaFd, bytes.get() + byteOffset, byteCount, flags, from, fromLength); 2012 static jint Linux_sendtoBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jint flags, jobject javaInetAddress, jint port) { argument 2019 NULL_ADDR_OK, bytes.get() + byteOffset, byteCoun 2022 Linux_sendtoBytesSocketAddress(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jint flags, jobject javaSocketAddress) argument 2356 Linux_writeBytes(JNIEnv* env, jobject, jobject javaFd, jbyteArray javaBytes, jint byteOffset, jint byteCount) argument [all...] |