Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 35) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/function/
DBiPredicateTest.java28 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/
Dcbigint.cpp52 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 …]
Dcbigint.h88 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/
DMessageUtils.java47 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()
DFpUtils.java303 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/
DBigIntegerTest.java199 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/
DMessageUtils.java42 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
DFpUtils.java82 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/
DSSLSocketFactoryImpl.java68 …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/
DMessageDigest1Test.java87 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()
DKeyStore3Test.java234 Certificate[] arg2) throws KeyStoreException { in engineSetKeyEntry() argument
238 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2, in engineSetKeyEntry() argument
DMessageDigestSpiTest.java196 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/
DMockSocketChannel.java67 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
DMockDatagramChannel.java75 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/
DX509ExtendedKeyManagerTest.java43 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
DSSLServerSocketFactoryTest.java57 InetAddress arg2) throws IOException { in createServerSocket() argument
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyMessageDigest1.java75 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/
DCharsetEncoder2Test.java92 float arg2) { in MockCharsetEncoderForHarmony491() argument
93 super(arg0, arg1, arg2); in MockCharsetEncoderForHarmony491()
/libcore/luni/src/test/java/libcore/java/util/
DOldFormattableTest.java29 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/
DResponseCacheTest.java60 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/
DMockAbstractSelector.java49 Object arg2) { in register() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTest.java93 public void write(char[] arg0, int arg1, int arg2) throws IOException { in write() argument
/libcore/ojluni/src/main/native/
Dfdlibm.h94 double arg2; member
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java141 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/
DSecretKeyFactoryTest.java438 protected Mock_SecretKeyFactory(SecretKeyFactorySpi arg0, Provider arg1, String arg2) { in Mock_SecretKeyFactory() argument
439 super(arg0, arg1, arg2); in Mock_SecretKeyFactory()

12