/libcore/ojluni/src/main/java/java/net/ |
D | DatagramPacket.java | 69 int length; field in DatagramPacket 87 public DatagramPacket(byte buf[], int offset, int length) { in DatagramPacket() 103 public DatagramPacket(byte buf[], int length) { in DatagramPacket() 123 public DatagramPacket(byte buf[], int offset, int length, in DatagramPacket() 152 public DatagramPacket(byte buf[], int offset, int length, SocketAddress address) { in DatagramPacket() 175 public DatagramPacket(byte buf[], int length, in DatagramPacket() 193 public DatagramPacket(byte buf[], int length, SocketAddress address) { in DatagramPacket() 278 public synchronized void setData(byte[] buf, int offset, int length) { in setData() 307 public void setReceivedLength(int length) { in setReceivedLength() 401 public synchronized void setLength(int length) { in setLength()
|
/libcore/luni/src/main/java/libcore/util/ |
D | CharsetUtils.java | 32 public static native byte[] toAsciiBytes(String s, int offset, int length); in toAsciiBytes() 39 public static native byte[] toIsoLatin1Bytes(String s, int offset, int length); in toIsoLatin1Bytes() 46 public static native byte[] toUtf8Bytes(String s, int offset, int length); in toUtf8Bytes() 52 public static byte[] toBigEndianUtf16Bytes(String s, int offset, int length) { in toBigEndianUtf16Bytes() 73 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars() 83 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CoderResult.java | 97 private final int length; field in CoderResult 99 private CoderResult(int type, int length) { in CoderResult() 173 public int length() { in length() method in CoderResult 235 public static CoderResult malformedForLength(int length) { in malformedForLength() 254 public static CoderResult unmappableForLength(int length) { in unmappableForLength()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | MappedByteBuffer.java | 145 long length = mappingLength(offset); in isLoaded() local 167 long length = mappingLength(offset); in load() local 168 load0(mappingAddress(offset), length); in load() local 215 private native boolean isLoaded0(long address, long length, int pageCount); in isLoaded0() 216 private native void load0(long address, long length); in load0() 217 private native void force0(FileDescriptor fd, long address, long length); in force0()
|
D | DirectByteBuffer.java | 229 public ByteBuffer get(byte[] dst, int dstOffset, int length) { in get() 241 dst, dstOffset, length); in get() local 285 public ByteBuffer put(byte[] src, int srcOffset, int length) { in put() 300 src, srcOffset, length); in put() local 378 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() 383 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local 424 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked() 429 src, srcOffset, length, !nativeByteOrder); in putUnchecked() local 480 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() 485 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local [all …]
|
D | HeapByteBuffer.java | 120 public ByteBuffer get(byte[] dst, int offset, int length) { in get() 158 public ByteBuffer put(byte[] src, int offset, int length) { in put() 211 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() 239 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked() 272 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() 300 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked() 333 void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked() 361 void putUnchecked(int pos, int[] src, int srcOffset, int length) { in putUnchecked() 395 void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked() 423 void putUnchecked(int pos, long[] src, int srcOffset, int length) { in putUnchecked() [all …]
|
D | ByteBufferAsFloatBuffer.java | 99 public FloatBuffer get(float[] dst, int offset, int length) { in get() 103 bb.getUnchecked(ix(position), dst, offset, length); in get() local 121 public FloatBuffer put(float[] src, int offset, int length) { in put() 125 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | ByteBufferAsLongBuffer.java | 99 public LongBuffer get(long[] dst, int offset, int length) { in get() 103 bb.getUnchecked(ix(position), dst, offset, length); in get() local 121 public LongBuffer put(long[] src, int offset, int length) { in put() 125 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
D | ByteBufferAsIntBuffer.java | 99 public IntBuffer get(int[] dst, int offset, int length) { in get() 103 bb.getUnchecked(ix(position), dst, offset, length); in get() local 121 public IntBuffer put(int[] src, int offset, int length) { in put() 125 bb.putUnchecked(ix(position), src, offset, length); in put() local
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | BitArray.java | 31 public BitArray(int length) throws java.lang.IllegalArgumentException { in BitArray() 36 public BitArray(int length, byte[] a) throws java.lang.IllegalArgumentException { in BitArray() 64 public int length() { in length() method in BitArray 107 private int length; field in BitArray
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | System.java | 78 java.lang.Object src, int srcPos, java.lang.Object dest, int destPos, int length); in arraycopy() 81 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy() 86 char[] src, int srcPos, char[] dst, int dstPos, int length); in arraycopyCharUnchecked() 89 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy() 94 byte[] src, int srcPos, byte[] dst, int dstPos, int length); in arraycopyByteUnchecked() 97 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy() 102 short[] src, int srcPos, short[] dst, int dstPos, int length); in arraycopyShortUnchecked() 105 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy() 110 int[] src, int srcPos, int[] dst, int dstPos, int length); in arraycopyIntUnchecked() 113 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy() [all …]
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | BitArray.java | 41 private int length; field in BitArray 56 public BitArray(int length) throws IllegalArgumentException { in BitArray() 74 public BitArray(int length, byte[] a) throws IllegalArgumentException { in BitArray() 156 public int length() { in length() method in BitArray
|
/libcore/luni/src/main/native/ |
D | cbigint.cpp | 52 simpleAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2) in simpleAddHighPrecision() 134 static uint32_t simpleMultiplyHighPrecision(uint64_t* arg1, int32_t length, uint64_t arg2) { in simpleMultiplyHighPrecision() 157 simpleMultiplyAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2, in simpleMultiplyAddHighPrecision() 194 multiplyHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2, in multiplyHighPrecision() 226 simpleAppendDecimalDigitHighPrecision (uint64_t * arg1, int32_t length, uint64_t digit) in simpleAppendDecimalDigitHighPrecision() 249 simpleShiftLeftHighPrecision (uint64_t * arg1, int32_t length, int32_t arg2) in simpleShiftLeftHighPrecision() 370 highestSetBitHighPrecision (uint64_t * arg, int32_t length) in highestSetBitHighPrecision() 385 lowestSetBitHighPrecision (uint64_t * arg, int32_t length) in lowestSetBitHighPrecision() 427 toDoubleHighPrecision (uint64_t * arg, int32_t length) in toDoubleHighPrecision() 535 timesTenToTheEHighPrecision (uint64_t * result, int32_t length, jint e) in timesTenToTheEHighPrecision() [all …]
|
D | ExecStrings.cpp | 33 jsize length = env_->GetArrayLength(java_array_); in ExecStrings() local 55 jsize length = env_->GetArrayLength(java_array_); in ~ExecStrings() local
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 441 int length); in arraycopy() 458 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy() 498 char[] dst, int dstPos, int length); in arraycopyCharUnchecked() 513 private static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy() 553 byte[] dst, int dstPos, int length); in arraycopyByteUnchecked() 568 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy() 608 short[] dst, int dstPos, int length); in arraycopyShortUnchecked() 623 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy() 663 int[] dst, int dstPos, int length); in arraycopyIntUnchecked() 678 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy() [all …]
|
D | CharSequence.java | 67 int length(); in length() method 183 final int length = length(); in codePoints() local 210 final int length = length(); in codePoints() local
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Blob.java | 72 long length() throws SQLException; in length() method 97 byte[] getBytes(long pos, int length) throws SQLException; in getBytes() 303 InputStream getBinaryStream(long pos, long length) throws SQLException; in getBinaryStream()
|
D | Clob.java | 72 long length() throws SQLException; in length() method 95 String getSubString(long pos, int length) throws SQLException; in getSubString() 346 Reader getCharacterStream(long pos, long length) throws SQLException; in getCharacterStream()
|
D | PreparedStatement.java | 317 void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) in setAsciiStream() 352 int length) throws SQLException; in setUnicodeStream() 374 int length) throws SQLException; in setBinaryStream() 526 int length) throws SQLException; in setCharacterStream() 809 void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException; in setNCharacterStream() 845 void setClob(int parameterIndex, Reader reader, long length) in setClob() 872 void setBlob(int parameterIndex, InputStream inputStream, long length) in setBlob() 896 void setNClob(int parameterIndex, Reader reader, long length) in setNClob() 997 void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) in setAsciiStream() 1020 long length) throws SQLException; in setBinaryStream() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 55 public static java.nio.ByteBuffer wrap(byte[] array, int offset, int length) { in wrap() 77 public java.nio.ByteBuffer get(byte[] dst, int offset, int length) { in get() 89 public java.nio.ByteBuffer put(byte[] src, int offset, int length) { in put() 157 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked() 163 abstract void putUnchecked(int pos, char[] dst, int srcOffset, int length); in putUnchecked() 175 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked() 181 abstract void putUnchecked(int pos, short[] dst, int srcOffset, int length); in putUnchecked() 193 abstract void getUnchecked(int pos, int[] dst, int dstOffset, int length); in getUnchecked() 199 abstract void putUnchecked(int pos, int[] dst, int srcOffset, int length); in putUnchecked() 211 abstract void getUnchecked(int pos, long[] dst, int dstOffset, int length); in getUnchecked() [all …]
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | Chunk.java | 58 public int length; field in Chunk 79 public Chunk(int type, byte[] data, int offset, int length) { in Chunk()
|
/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | Preconditions.java | 67 int index, int length) { in outOfBoundsCheckIndex() 73 int fromIndex, int toIndex, int length) { in outOfBoundsCheckFromToIndex() 79 int fromIndex, int size, int length) { in outOfBoundsCheckFromIndexSize()
|
/libcore/luni/src/main/java/libcore/internal/ |
D | StringPool.java | 33 private static boolean contentEquals(String s, char[] chars, int start, int length) { in contentEquals() 48 public String get(char[] array, int start, int length) { in get()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | GZIPInputStreamTest.java | 114 final int length = HELLO_WORLD_GZIPPED.length; in testMultipleMembers() local 124 final int length = HELLO_WORLD_GZIPPED.length; in testTrailingNonGzipData() local 138 final int length = HELLO_WORLD_GZIPPED.length; in testTrailingHeaderAndPartialMember() local 207 try (InputStream is = new GZIPInputStream(new ByteArrayInputStream(data), data.length)) { in testNonGzipData()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DoubleBufferTest.java | 627 void loadTestData1(double array[], int offset, int length) { in loadTestData1() 633 void loadTestData2(double array[], int offset, int length) { in loadTestData2() 654 int offset, int length) { in assertContentEquals() 668 double startValue, int length) { in assertContentLikeTestData1()
|