/libcore/luni/src/main/java/java/net/ |
D | DatagramPacket.java | 35 private int length; field in DatagramPacket 59 public DatagramPacket(byte[] data, int length) { in DatagramPacket() 74 public DatagramPacket(byte[] data, int offset, int length) { in DatagramPacket() 95 public DatagramPacket(byte[] data, int offset, int length, InetAddress host, int aPort) { in DatagramPacket() 116 public DatagramPacket(byte[] data, int length, InetAddress host, int port) { in DatagramPacket() 211 public synchronized void setLength(int length) { in setLength() 232 public void setReceivedLength(int length) { in setReceivedLength() 264 public DatagramPacket(byte[] data, int length, SocketAddress sockAddr) throws SocketException { in DatagramPacket() 286 public DatagramPacket(byte[] data, int offset, int length, in DatagramPacket()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | Charsets.java | 48 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); in toAsciiBytes() 54 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); in toIsoLatin1Bytes() 60 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); in toUtf8Bytes() 66 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { in toBigEndianUtf16Bytes() 86 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars() 95 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
|
D | CoderResult.java | 85 private final int length; field in CoderResult 95 private CoderResult(int type, int length) { in CoderResult() 111 public static synchronized CoderResult malformedForLength(int length) in malformedForLength() 139 public static synchronized CoderResult unmappableForLength(int length) in unmappableForLength() 211 public int length() throws UnsupportedOperationException { in length() method in CoderResult
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | HelloRequest.java | 44 public HelloRequest(HandshakeIODataStream in, int length) in HelloRequest() 60 public int length() { in length() method in HelloRequest
|
D | ServerHelloDone.java | 44 public ServerHelloDone(HandshakeIODataStream in, int length) in ServerHelloDone() 64 public int length() { in length() method in ServerHelloDone
|
D | Message.java | 32 protected int length; field in Message 44 public int length() { in length() method in Message
|
D | HandshakeIODataStream.java | 153 public byte[] read(int length) throws IOException { in read() 164 public int read(byte[] dst, int offset, int length) throws IOException { in read() 192 private void append(byte[] src, int from, int length) { in append() 242 private void check(int length) { in check() 356 public byte[] getData(int length) { in getData()
|
D | SSLEngineDataStream.java | 42 protected void setSourceBuffers(ByteBuffer[] srcs, int offset, int length) { in setSourceBuffers() 65 public byte[] getData(int length) { in getData()
|
D | DataStream.java | 39 public byte[] getData(int length); in getData()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CharsetBenchmark.java | 25 private int length; field in CharsetBenchmark 78 …private static byte[] toDirectMappedBytes(char[] chars, int offset, int length, int maxValidChar) { in toDirectMappedBytes() 88 private static byte[] toUtf8Bytes(char[] chars, int offset, int length) { in toUtf8Bytes() 94 private static void toUtf8Bytes(char[] chars, int offset, int length, UnsafeByteSequence out) { in toUtf8Bytes() 130 private static String makeString(int length) { in makeString()
|
D | StringLengthBenchmark.java | 24 int length = 0; in timeLength() local
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | Chunk.java | 35 public int offset, length; // position within "data" field in Chunk 45 public Chunk(int type, byte[] data, int offset, int length) { in Chunk()
|
/libcore/luni/src/main/java/java/sql/ |
D | Blob.java | 54 public InputStream getBinaryStream(long pos, long length) throws SQLException; in getBinaryStream() 69 public byte[] getBytes(long pos, int length) throws SQLException; in getBytes() 79 public long length() throws SQLException; in length() method
|
D | Clob.java | 68 public String getSubString(long pos, int length) throws SQLException; in getSubString() 77 public long length() throws SQLException; in length() method 193 public Reader getCharacterStream(long pos, long length) throws SQLException; in getCharacterStream()
|
D | PreparedStatement.java | 167 int length) throws SQLException; in setAsciiStream() 206 int length) throws SQLException; in setBinaryStream() 288 public void setCharacterStream(int parameterIndex, Reader reader, int length) in setCharacterStream() 675 InputStream theInputStream, int length) throws SQLException; in setUnicodeStream() 731 …public void setNCharacterStream(int parameterIndex, Reader reader, long length) throws SQLExceptio… in setNCharacterStream() 757 public void setClob(int parameterIndex, Reader reader, long length) throws SQLException; in setClob() 770 … public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException; in setBlob() 783 public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException; in setNClob() 807 …public void setAsciiStream(int parameterIndex, InputStream inputStream, long length) throws SQLExc… in setAsciiStream() 820 …public void setBinaryStream(int parameterIndex, InputStream inputStream, long length) throws SQLEx… in setBinaryStream() [all …]
|
/libcore/luni/src/main/java/libcore/internal/ |
D | StringPool.java | 28 private static boolean contentEquals(String s, char[] chars, int start, int length) { in contentEquals() 43 public String get(char[] array, int start, int length) { in get()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Base64.java | 41 int length = len / 4 * 3; in decode() local 136 int length = (in.length + 2) * 4 / 3; in encode() local
|
/libcore/luni/src/main/java/java/lang/ |
D | StringToReal.java | 73 private static StringExponentPair initialParse(String s, int length, boolean isDouble) { in initialParse() 213 int length = name.length(); in parseName() local 245 int length = s.length(); in parseDouble() local 286 int length = s.length(); in parseFloat() local
|
/libcore/luni/src/main/native/ |
D | cbigint.cpp | 113 simpleAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2) in simpleAddHighPrecision() 195 static uint32_t simpleMultiplyHighPrecision(uint64_t* arg1, int32_t length, uint64_t arg2) { in simpleMultiplyHighPrecision() 218 simpleMultiplyAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2, in simpleMultiplyAddHighPrecision() 255 void simpleMultiplyAddHighPrecisionBigEndianFix(uint64_t* arg1, int32_t length, uint64_t arg2, uint… in simpleMultiplyAddHighPrecisionBigEndianFix() 280 multiplyHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2, in multiplyHighPrecision() 316 simpleAppendDecimalDigitHighPrecision (uint64_t * arg1, int32_t length, uint64_t digit) in simpleAppendDecimalDigitHighPrecision() 339 simpleShiftLeftHighPrecision (uint64_t * arg1, int32_t length, int32_t arg2) in simpleShiftLeftHighPrecision() 512 highestSetBitHighPrecision (uint64_t * arg, int32_t length) in highestSetBitHighPrecision() 527 lowestSetBitHighPrecision (uint64_t * arg, int32_t length) in lowestSetBitHighPrecision() 569 toDoubleHighPrecision (uint64_t * arg, int32_t length) in toDoubleHighPrecision() [all …]
|
D | java_nio_charset_Charsets.cpp | 109 …iiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint length, jcharArray jav… in Charsets_asciiBytesToChars() 128 …n1BytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint length, jcharArray jav… in Charsets_isoLatin1BytesToChars() 150 static jbyteArray charsToBytes(JNIEnv* env, jcharArray javaChars, jint offset, jint length, jchar m… in charsToBytes() 175 …eArray Charsets_toAsciiBytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint length) { in Charsets_toAsciiBytes() 179 …ay Charsets_toIsoLatin1Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint length) { in Charsets_toIsoLatin1Bytes() 183 …teArray Charsets_toUtf8Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint length) { in Charsets_toUtf8Bytes()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | DocumentHandler.java | 179 public abstract void characters (char ch[], int start, int length) in characters() 207 public abstract void ignorableWhitespace (char ch[], int start, int length) in ignorableWhitespace()
|
/libcore/luni/src/main/java/java/io/ |
D | ByteArrayInputStream.java | 75 public ByteArrayInputStream(byte[] buf, int offset, int length) { in ByteArrayInputStream() 166 public synchronized int read(byte[] buffer, int offset, int length) { in read()
|
D | SerializationHandleMap.java | 75 int length = array.length; in findIndex() local 91 private int getModuloHash(Object key, int length) { in getModuloHash() 140 int length = keys.length; in remove() local
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DalvikLogging.java | 38 int length = loggerName.length(); in loggerNameToTag() local
|
/libcore/luni/src/main/java/java/util/ |
D | StringTokenizer.java | 148 int length = string.length(); in hasMoreTokens() local 186 int length = string.length(); in nextToken() local
|