/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 | 495 public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOException { argument 496 Arrays.checkOffsetAndCount(bytes.length, byteOffset, byteCount); 501 int readCount = Libcore.os.read(fd, bytes, byteOffset, byteCount); 519 public static void write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOException { argument 520 Arrays.checkOffsetAndCount(bytes.length, byteOffset, byteCount); 526 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount); 528 byteOffset += bytesWritten; 535 public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException { argument 542 result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port); 579 public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, in argument [all...] |
H A D | BlockGuardOs.java | 232 @Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 234 return os.pread(fd, bytes, byteOffset, byteCount, offset); 242 @Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 244 return os.pwrite(fd, bytes, byteOffset, byteCount, offset); 252 @Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { argument 254 return os.read(fd, bytes, byteOffset, byteCount); 277 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument 279 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); 302 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { argument 307 return os.sendto(fd, bytes, byteOffset, byteCoun 346 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument 390 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument [all...] |
H A D | ForwardingOs.java | 143 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 145 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 147 public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { return os.read(fd, bytes, byteOffset, byteCount); } argument 152 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 158 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 159 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument 195 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument [all...] |
H A D | Linux.java | 146 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 148 return preadBytes(fd, bytes, byteOffset, byteCount, offset); 164 public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { argument 166 return pwriteBytes(fd, bytes, byteOffset, byteCount, offset); 182 public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { argument 184 return readBytes(fd, bytes, byteOffset, byteCount); 203 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument 205 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress); 207 private native int recvfromBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument 225 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, in argument 229 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument 232 sendtoBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) argument 233 sendtoBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, SocketAddress address) argument 286 write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) argument [all...] |
H A D | Os.java | 130 public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException; argument 132 public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException; argument 134 public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException; argument 139 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument 144 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException; argument 145 public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) throws ErrnoException, SocketException; argument 182 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 | 394 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 404 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 414 public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { return Libcore.os.read(fd, bytes, byteOffset, byteCount); } argument 439 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 471 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 476 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument 639 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 | 1964 static jint Linux_preadBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jlong offset) { argument 1969 return IO_FAILURE_RETRY(env, ssize_t, pread64, javaFd, bytes.get() + byteOffset, byteCount, offset); 1972 static jint Linux_pwriteBytes(JNIEnv* env, jobject, jobject javaFd, jbyteArray javaBytes, jint byteOffset, jint byteCount, jlong offset) { argument 1977 return IO_FAILURE_RETRY(env, ssize_t, pwrite64, javaFd, bytes.get() + byteOffset, byteCount, offset); 1980 static jint Linux_readBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount) { argument 1985 return IO_FAILURE_RETRY(env, ssize_t, read, javaFd, bytes.get() + byteOffset, byteCount); 2025 static jint Linux_recvfromBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jint flags, jobject javaInetSocketAddress) { argument 2035 jint recvCount = NET_FAILURE_RETRY(env, ssize_t, recvfrom, javaFd, bytes.get() + byteOffset, byteCount, flags, from, fromLength); 2103 static jint Linux_sendtoBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jint flags, jobject javaInetAddress, jint port) { argument 2110 NULL_ADDR_OK, bytes.get() + byteOffset, byteCoun 2113 Linux_sendtoBytesSocketAddress(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount, jint flags, jobject javaSocketAddress) argument 2448 Linux_writeBytes(JNIEnv* env, jobject, jobject javaFd, jbyteArray javaBytes, jint byteOffset, jint byteCount) argument [all...] |