/libcore/luni/src/test/java/libcore/java/util/function/ |
H A D | BiPredicateTest.java | 27 Object arg1 = "one"; 37 (x, y) -> { alwaysTrueInvoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return true; }; 39 (x, y) -> { alwaysTrue2Invoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return true; }; 41 (x, y) -> { alwaysFalseInvoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return false; }; 43 (x, y) -> { alwaysFalse2Invoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return false; }; 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg1, arg2)); 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg1, arg2)); 57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg1, arg2)); 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg1, arg2)); 75 Object arg1 [all...] |
/libcore/luni/src/main/native/ |
H A D | cbigint.cpp | 52 simpleAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2) argument 57 *arg1 += arg2; 58 if (arg2 <= *arg1) 63 while (++arg1[index] == 0 && ++index < length) { 70 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) argument 72 /* addition is limited by length of arg1 as it this function is 73 * storing the result in arg1 */ 94 temp1 = arg1[index]; 97 arg1[index] = temp3 + carry; 98 if (arg2[index] < arg1[inde 116 subtractHighPrecision(uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) argument 134 simpleMultiplyHighPrecision(uint64_t* arg1, int32_t length, uint64_t arg2) argument 157 simpleMultiplyAddHighPrecision(uint64_t * arg1, int32_t length, uint64_t arg2, uint32_t * result) argument 194 multiplyHighPrecision(uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2, uint64_t * result, int32_t length) argument 226 simpleAppendDecimalDigitHighPrecision(uint64_t * arg1, int32_t length, uint64_t digit) argument 249 simpleShiftLeftHighPrecision(uint64_t * arg1, int32_t length, int32_t arg2) argument 400 compareHighPrecision(uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) argument 684 simpleMultiplyHighPrecision64(uint64_t * arg1, int32_t length, uint64_t arg2) argument [all...] |
H A D | cbigint.h | 88 void multiplyHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2, 90 uint32_t simpleAppendDecimalDigitHighPrecision(uint64_t* arg1, int32_t length, uint64_t digit); 93 int32_t compareHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2); 95 void subtractHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2); 97 int32_t addHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2); 102 void simpleShiftLeftHighPrecision(uint64_t* arg1, int32_t length, int32_t arg2); 104 int32_t simpleAddHighPrecision(uint64_t* arg1, int32_t length, uint64_t arg2);
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | MessageUtils.java | 47 public static String subst(String patt, String arg1, String arg2) { argument 48 String args[] = { arg1, arg2 }; 52 public static String subst(String patt, String arg1, String arg2, argument 54 String args[] = { arg1, arg2, arg3 }; 85 public static String substProp(String propName, String arg1, String arg2) { argument 86 return subst(System.getProperty(propName), arg1, arg2); 89 public static String substProp(String propName, String arg1, String arg2, argument 91 return subst(System.getProperty(propName), arg1, arg2, arg3);
|
H A D | FpUtils.java | 298 * @param arg1 the first argument 303 public static boolean isUnordered(double arg1, double arg2) { argument 304 return isNaN(arg1) || isNaN(arg2); 314 * @param arg1 the first argument 319 public static boolean isUnordered(float arg1, float arg2) { argument 320 return isNaN(arg1) || isNaN(arg2);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MyMessageDigest2.java | 63 public void engineUpdate(byte[] arg0, int arg1, int arg2) { argument
|
H A D | MyMessageDigest1.java | 75 public void engineUpdate(byte[] arg0, int arg1, int arg2) { argument
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | SSLSocketFactoryImpl.java | 50 public Socket createSocket(String arg0, int arg1) throws IOException, UnknownHostException { argument 59 public Socket createSocket(InetAddress arg0, int arg1) throws IOException { argument 68 public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, UnknownHostException { argument 77 public Socket createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) throws IOException { argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | X509ExtendedKeyManagerTest.java | 43 public String chooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2) { argument 51 public String chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) { argument 67 public String[] getClientAliases(String arg0, Principal[] arg1) { argument 83 public String[] getServerAliases(String arg0, Principal[] arg1) { argument
|
H A D | SSLServerSocketFactoryTest.java | 50 public ServerSocket createServerSocket(int arg0, int arg1) argument 56 public ServerSocket createServerSocket(int arg0, int arg1, argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldSocketImplFactoryTest.java | 129 protected void bind(InetAddress arg0, int arg1) throws IOException { argument 137 protected void connect(String arg0, int arg1) throws IOException { argument 141 protected void connect(InetAddress arg0, int arg1) throws IOException { argument 145 protected void connect(SocketAddress arg0, int arg1) throws IOException { argument 174 public void setOption(int arg0, Object arg1) throws SocketException { argument
|
H A D | OldDatagramSocketImplFactoryTest.java | 134 protected void bind(int arg0, InetAddress arg1) throws SocketException { argument 161 protected void joinGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException { argument 169 protected void leaveGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException { argument 202 public void setOption(int arg0, Object arg1) throws SocketException { argument
|
H A D | OldServerSocketTest.java | 334 protected void connect(String arg0, int arg1) throws IOException { argument 337 protected void connect(InetAddress arg0, int arg1) throws IOException { argument 340 protected void connect(SocketAddress arg0, int arg1) throws IOException { argument 343 protected void bind(InetAddress arg0, int arg1) throws IOException { argument 370 public void setOption(int arg0, Object arg1) throws SocketException { argument
|
H A D | SocketTest.java | 208 @Override protected void bind(InetAddress arg0, int arg1) throws IOException { } 210 @Override protected void connect(String arg0, int arg1) throws IOException { } 211 @Override protected void connect(InetAddress arg0, int arg1) throws IOException { } 212 @Override protected void connect(SocketAddress arg0, int arg1) throws IOException { }
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | ResponseCacheTest.java | 60 public CacheResponse get(URI arg0, String arg1, Map arg2) argument 65 public CacheRequest put(URI arg0, URLConnection arg1) argument
|
H A D | ServerSocketTest.java | 924 protected void connect(String arg0, int arg1) throws IOException { argument 928 protected void connect(InetAddress arg0, int arg1) throws IOException { argument 932 protected void connect(SocketAddress arg0, int arg1) throws IOException { argument 936 protected void bind(InetAddress arg0, int arg1) throws IOException { argument 968 public void setOption(int arg0, Object arg1) throws SocketException { argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | MockDatagramChannel.java | 65 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { argument 75 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { argument 85 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { argument
|
H A D | MockSocketChannel.java | 67 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { argument 77 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { argument
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldFormattableTest.java | 29 public void formatTo(Formatter arg0, int arg1, int arg2, int arg3) { argument
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyStore3Test.java | 209 public Key engineGetKey(String arg0, char[] arg1) argument 222 public void engineLoad(InputStream arg0, char[] arg1) argument 228 public void engineSetCertificateEntry(String arg0, Certificate arg1) argument 233 public void engineSetKeyEntry(String arg0, byte[] arg1, argument 238 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2, argument 251 public void engineStore(OutputStream arg0, char[] arg1) argument
|
H A D | MessageDigest1Test.java | 87 public void engineUpdate(byte[] arg0, int arg1, int arg2) { 89 assertEquals("offset", offset, arg1); 178 public int engineDigest(byte[] arg0, int arg1, int arg2) { 180 assertEquals("offset", offset, arg1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | CharsetEncoder2Test.java | 91 public MockCharsetEncoderForHarmony491(Charset arg0, float arg1, argument 93 super(arg0, arg1, arg2); 96 protected CoderResult encodeLoop(CharBuffer arg0, ByteBuffer arg1) { argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
H A D | MockAbstractSelector.java | 48 protected SelectionKey register(AbstractSelectableChannel arg0, int arg1, argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | RefSortedMap.java | 329 public V put(K arg0, V arg1) { argument 333 return entries.get(idx).setValue(arg1); 335 entries.add(-idx - 1, new MapEntry<K, V>(arg0, arg1)); 360 public int compare(MapEntry<K, V> arg0, MapEntry<K, V> arg1) { 361 return RefSortedMap.this.compare(arg0.getKey(), arg1.getKey());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | WriterTest.java | 93 public void write(char[] arg0, int arg1, int arg2) throws IOException { argument
|