/libcore/luni/src/test/java/libcore/java/util/function/ |
D | BiPredicateTest.java | 28 Object arg2 = "two"; in testAnd() local 37 … (x, y) -> { alwaysTrueInvoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return true; }; in testAnd() 39 …(x, y) -> { alwaysTrue2Invoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return true; }; in testAnd() 41 …(x, y) -> { alwaysFalseInvoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return false; … in testAnd() 43 …(x, y) -> { alwaysFalse2Invoked.set(true); assertSame(arg1, x); assertSame(arg2, y); return false;… in testAnd() 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg1, arg2)); in testAnd() 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg1, arg2)); in testAnd() 57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg1, arg2)); in testAnd() 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg1, arg2)); in testAnd() 76 Object arg2 = "two"; in testNegate() local [all …]
|
/libcore/luni/src/main/native/ |
D | cbigint.cpp | 52 simpleAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2) in simpleAddHighPrecision() argument 57 *arg1 += arg2; in simpleAddHighPrecision() 58 if (arg2 <= *arg1) in simpleAddHighPrecision() 70 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) in addHighPrecision() argument 95 temp2 = arg2[index]; in addHighPrecision() 98 if (arg2[index] < arg1[index]) in addHighPrecision() 100 else if (arg2[index] != arg1[index]) in addHighPrecision() 116 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) in subtractHighPrecision() argument 124 while (length2 > 0 && arg2[length2 - 1] == 0) in subtractHighPrecision() 127 addHighPrecision (arg1, length1, arg2, length2); in subtractHighPrecision() [all …]
|
D | cbigint.h | 88 void multiplyHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2, 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/ |
D | MessageUtils.java | 47 public static String subst(String patt, String arg1, String arg2) { in subst() argument 48 String args[] = { arg1, arg2 }; in subst() 52 public static String subst(String patt, String arg1, String arg2, in subst() argument 54 String args[] = { arg1, arg2, arg3 }; in subst() 85 public static String substProp(String propName, String arg1, String arg2) { in substProp() argument 86 return subst(System.getProperty(propName), arg1, arg2); in substProp() 89 public static String substProp(String propName, String arg1, String arg2, in substProp() argument 91 return subst(System.getProperty(propName), arg1, arg2, arg3); in substProp()
|
D | FpUtils.java | 303 public static boolean isUnordered(double arg1, double arg2) { in isUnordered() argument 304 return isNaN(arg1) || isNaN(arg2); in isUnordered() 319 public static boolean isUnordered(float arg1, float arg2) { in isUnordered() argument 320 return isNaN(arg1) || isNaN(arg2); in isUnordered()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigIntegerTest.java | 199 private void try_gcd_variants(BigInteger arg1, BigInteger arg2, BigInteger result) in try_gcd_variants() argument 202 assertEquals(arg1.gcd(arg2), result); in try_gcd_variants() 203 assertEquals(arg2.gcd(arg1), result); in try_gcd_variants() 204 assertEquals(arg1.negate().gcd(arg2), result); in try_gcd_variants() 205 assertEquals(arg2.gcd(arg1.negate()), result); in try_gcd_variants() 206 assertEquals(arg1.gcd(arg2.negate()), result); in try_gcd_variants() 207 assertEquals(arg2.negate().gcd(arg1), result); in try_gcd_variants() 208 assertEquals(arg1.negate().gcd(arg2.negate()), result); in try_gcd_variants() 209 assertEquals(arg2.negate().gcd(arg1.negate()), result); in try_gcd_variants()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | MessageUtils.java | 42 java.lang.String patt, java.lang.String arg1, java.lang.String arg2) { in subst() argument 49 java.lang.String arg2, in subst() argument 63 java.lang.String propName, java.lang.String arg1, java.lang.String arg2) { in substProp() argument 70 java.lang.String arg2, in substProp() argument
|
D | FpUtils.java | 82 public static boolean isUnordered(double arg1, double arg2) { in isUnordered() argument 86 public static boolean isUnordered(float arg1, float arg2) { in isUnordered() argument
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | SSLSocketFactoryImpl.java | 68 …public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, … in createSocket() argument 77 …public Socket createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) throws IOExcept… in createSocket() argument
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest1Test.java | 87 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in test_updateLB$LILI() 90 assertEquals("len", len, arg2); in test_updateLB$LILI() 178 public int engineDigest(byte[] arg0, int arg1, int arg2) { in test_digestLB$LILI() 181 assertEquals("len", len, arg2); in test_digestLB$LILI()
|
D | KeyStore3Test.java | 234 Certificate[] arg2) throws KeyStoreException { in engineSetKeyEntry() argument 238 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2, in engineSetKeyEntry() argument
|
D | MessageDigestSpiTest.java | 196 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in engineUpdate() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MockSocketChannel.java | 67 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { in read() argument 77 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { in write() argument
|
D | MockDatagramChannel.java | 75 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { in read() argument 85 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { in write() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509ExtendedKeyManagerTest.java | 43 public String chooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2) { in chooseClientAlias() argument 51 public String chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) { in chooseServerAlias() argument
|
D | SSLServerSocketFactoryTest.java | 57 InetAddress arg2) throws IOException { in createServerSocket() argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyMessageDigest1.java | 75 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in engineUpdate() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetEncoder2Test.java | 92 float arg2) { in MockCharsetEncoderForHarmony491() argument 93 super(arg0, arg1, arg2); in MockCharsetEncoderForHarmony491()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldFormattableTest.java | 29 public void formatTo(Formatter arg0, int arg1, int arg2, int arg3) { in formatTo() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ResponseCacheTest.java | 60 public CacheResponse get(URI arg0, String arg1, Map arg2) in get() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | MockAbstractSelector.java | 49 Object arg2) { in register() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | WriterTest.java | 93 public void write(char[] arg0, int arg1, int arg2) throws IOException { in write() argument
|
/libcore/ojluni/src/main/native/ |
D | fdlibm.h | 94 double arg2; member
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 141 public static String testCatchException_target(String arg1, long arg2, String exceptionMessage) in testCatchException_target() argument 148 assertEquals(42l, arg2); in testCatchException_target() 153 long arg2, in testCatchException_handler() argument 159 assertEquals(42, arg2); in testCatchException_handler() 234 public static boolean testGuardWithTest_test(String arg1, long arg2) { in testGuardWithTest_test() argument 235 return "target".equals(arg1) && 42 == arg2; in testGuardWithTest_test() 238 public static String testGuardWithTest_target(String arg1, long arg2, int arg3) { in testGuardWithTest_target() argument 240 assertTrue(testGuardWithTest_test(arg1, arg2)); in testGuardWithTest_target() 247 public static String testGuardWithTest_fallback(String arg1, long arg2, int arg3) { in testGuardWithTest_fallback() argument 249 assertTrue(!testGuardWithTest_test(arg1, arg2)); in testGuardWithTest_fallback()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | SecretKeyFactoryTest.java | 438 protected Mock_SecretKeyFactory(SecretKeyFactorySpi arg0, Provider arg1, String arg2) { in Mock_SecretKeyFactory() argument 439 super(arg0, arg1, arg2); in Mock_SecretKeyFactory()
|