/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMLocatorImpl.java | 25 private final int byteOffset; field in DOMLocatorImpl 33 this.byteOffset = src.getByteOffset(); in DOMLocatorImpl() 60 return byteOffset; in getByteOffset()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Linux.java | 152 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread() argument 154 return preadBytes(fd, bytes, byteOffset, byteCount, offset); in pread() 170 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite() argument 172 return pwriteBytes(fd, bytes, byteOffset, byteCount, offset); in pwrite() 188 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read() argument 190 return readBytes(fd, bytes, byteOffset, byteCount); in read() 209 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom() argument 211 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom() 213 …private native int recvfromBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, … in recvfromBytes() argument 231 …public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetA… in sendto() argument [all …]
|
D | BlockGuardOs.java | 277 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread() argument 279 return super.pread(fd, bytes, byteOffset, byteCount, offset); in pread() 289 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite() argument 291 return super.pwrite(fd, bytes, byteOffset, byteCount, offset); in pwrite() 301 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read() argument 303 return super.read(fd, bytes, byteOffset, byteCount); in read() 331 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom() argument 333 return super.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom() 361 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto() argument 366 return super.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port); in sendto() [all …]
|
D | ForwardingOs.java | 173 …[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOExceptio… in pread() argument 175 …] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException… in pwrite() argument 177 …d, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { re… in read() argument 183 …t byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, Socke… in recvfrom() argument 194 …byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, So… in sendto() argument 195 …, int byteOffset, int byteCount, int flags, SocketAddress address) throws ErrnoException, SocketEx… in sendto() argument 241 …, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { ret… in write() argument
|
D | IoBridge.java | 507 …public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOEx… in read() argument 508 ArrayUtils.throwsIfOutOfBounds(bytes.length, byteOffset, byteCount); in read() 513 int readCount = Libcore.os.read(fd, bytes, byteOffset, byteCount); in read() 532 …public static void write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IO… in write() argument 533 ArrayUtils.throwsIfOutOfBounds(bytes.length, byteOffset, byteCount); in write() 539 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount); in write() 541 byteOffset += bytesWritten; in write() 549 …public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags… in sendto() argument 556 result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port); in sendto() 594 …public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int by… in recvfrom() argument [all …]
|
D | Os.java | 146 …public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thro… in pread() argument 148 …public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) thr… in pwrite() argument 151 …public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcept… in read() argument 156 …public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Ine… in recvfrom() argument 162 …public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetA… in sendto() argument 163 …public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Socke… in sendto() argument 205 …public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoExcep… in write() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 448 …ytes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { … in pread() argument 458 …tes, int byteOffset, int byteCount, long offset) throws ErrnoException, InterruptedIOException { r… in pwrite() argument 468 …yte[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { return… in read() argument 495 …byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketE… in recvfrom() argument 527 …byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws ErrnoException, So… in sendto() argument 532 …byteOffset, int byteCount, int flags, @Nullable SocketAddress address) throws ErrnoException, Sock… in sendto() argument 730 …te[] bytes, int byteOffset, int byteCount) throws ErrnoException, InterruptedIOException { return … in write() argument
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLongArray.java | 68 return byteOffset(i); in checkedByteOffset() 71 private static long byteOffset(int i) { in byteOffset() method in AtomicLongArray 356 b.append(getRaw(byteOffset(i))); in toString()
|
D | AtomicIntegerArray.java | 69 return byteOffset(i); in checkedByteOffset() 72 private static long byteOffset(int i) { in byteOffset() method in AtomicIntegerArray 357 b.append(getRaw(byteOffset(i))); in toString()
|
D | AtomicReferenceArray.java | 79 return byteOffset(i); in checkedByteOffset() 82 private static long byteOffset(int i) { in byteOffset() method in AtomicReferenceArray 307 b.append(getRaw(byteOffset(i))); in toString()
|
/libcore/luni/src/main/java/libcore/timezone/ |
D | ZoneInfoDB.java | 166 int byteOffset = byteOffsets[index]; in getBufferIterator() local 168 it.skip(byteOffset); in getBufferIterator()
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 1021 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { in append() argument 1026 if (!XML_Parse(parser, bytes + byteOffset, byteCount, isFinal) && !env->ExceptionCheck()) { in append() 1034 jbyteArray xml, jint byteOffset, jint byteCount) { in ExpatParser_appendBytes() argument 1041 append(env, object, pointer, bytes, byteOffset, byteCount, XML_FALSE); in ExpatParser_appendBytes() 1052 size_t byteOffset = 2 * charOffset; in ExpatParser_appendChars() local 1054 append(env, object, pointer, bytes, byteOffset, byteCount, XML_FALSE); in ExpatParser_appendChars()
|
D | libcore_io_Linux.cpp | 2055 …eadBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount,… in Linux_preadBytes() argument 2060 …return IO_FAILURE_RETRY(env, ssize_t, pread64, javaFd, bytes.get() + byteOffset, byteCount, offset… in Linux_preadBytes() 2063 …iteBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount,… in Linux_pwriteBytes() argument 2068 …return IO_FAILURE_RETRY(env, ssize_t, pwrite64, javaFd, bytes.get() + byteOffset, byteCount, offse… in Linux_pwriteBytes() 2071 …eadBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount)… in Linux_readBytes() argument 2076 return IO_FAILURE_RETRY(env, ssize_t, read, javaFd, bytes.get() + byteOffset, byteCount); in Linux_readBytes() 2116 …romBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount,… in Linux_recvfromBytes() argument 2126 …jint recvCount = NET_FAILURE_RETRY(env, ssize_t, recvfrom, javaFd, bytes.get() + byteOffset, byteC… in Linux_recvfromBytes() 2194 …dtoBytes(JNIEnv* env, jobject, jobject javaFd, jobject javaBytes, jint byteOffset, jint byteCount,… in Linux_sendtoBytes() argument 2201 NULL_ADDR_OK, bytes.get() + byteOffset, byteCount, flags); in Linux_sendtoBytes() [all …]
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherInputStreamTest.java | 96 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument 97 int numRead = super.read(buffer, byteOffset, byteCount); in read()
|