Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/util/function/
DBiPredicateTest.java27 Object arg1 = "one"; 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()
75 Object arg1 = "one"; in testNegate() local
[all …]
/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/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLSocketFactoryImpl.java50 public Socket createSocket(String arg0, int arg1) throws IOException, UnknownHostException { in createSocket() argument
59 public Socket createSocket(InetAddress arg0, int arg1) throws IOException { in createSocket() argument
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/main/native/
Dcbigint.h88 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/annotations/hiddenapi/sun/misc/
DMessageUtils.java42 java.lang.String patt, java.lang.String arg1, java.lang.String arg2) { in subst() argument
48 java.lang.String arg1, in subst() argument
63 java.lang.String propName, java.lang.String arg1, java.lang.String arg2) { in substProp() argument
69 java.lang.String arg1, in substProp() 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
67 public String[] getClientAliases(String arg0, Principal[] arg1) { in getClientAliases() argument
83 public String[] getServerAliases(String arg0, Principal[] arg1) { in getServerAliases() argument
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketImplFactoryTest.java129 protected void bind(InetAddress arg0, int arg1) throws IOException { in bind() argument
137 protected void connect(String arg0, int arg1) throws IOException { in connect() argument
141 protected void connect(InetAddress arg0, int arg1) throws IOException { in connect() argument
145 protected void connect(SocketAddress arg0, int arg1) throws IOException { in connect() argument
174 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() argument
DOldDatagramSocketImplFactoryTest.java134 protected void bind(int arg0, InetAddress arg1) throws SocketException { in bind() argument
161 protected void joinGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException { in joinGroup() argument
169 protected void leaveGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException { in leaveGroup() argument
202 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() argument
DOldServerSocketTest.java334 protected void connect(String arg0, int arg1) throws IOException { in connect() argument
337 protected void connect(InetAddress arg0, int arg1) throws IOException { in connect() argument
340 protected void connect(SocketAddress arg0, int arg1) throws IOException { in connect() argument
343 protected void bind(InetAddress arg0, int arg1) throws IOException { in bind() argument
370 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() argument
DSocketTest.java207 @Override protected void bind(InetAddress arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
209 @Override protected void connect(String arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
210 @Override protected void connect(InetAddress arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
211 @Override protected void connect(SocketAddress arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
/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(result, arg1.gcd(arg2)); in try_gcd_variants()
203 assertEquals(result, arg2.gcd(arg1)); in try_gcd_variants()
204 assertEquals(result, arg1.negate().gcd(arg2)); in try_gcd_variants()
205 assertEquals(result, arg2.gcd(arg1.negate())); in try_gcd_variants()
206 assertEquals(result, arg1.gcd(arg2.negate())); in try_gcd_variants()
207 assertEquals(result, arg2.negate().gcd(arg1)); in try_gcd_variants()
208 assertEquals(result, arg1.negate().gcd(arg2.negate())); in try_gcd_variants()
209 assertEquals(result, arg2.negate().gcd(arg1.negate())); in try_gcd_variants()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore3Test.java209 public Key engineGetKey(String arg0, char[] arg1) in engineGetKey() argument
222 public void engineLoad(InputStream arg0, char[] arg1) in engineLoad() argument
228 public void engineSetCertificateEntry(String arg0, Certificate arg1) in engineSetCertificateEntry() argument
233 public void engineSetKeyEntry(String arg0, byte[] arg1, in engineSetKeyEntry() argument
238 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2, in engineSetKeyEntry() argument
251 public void engineStore(OutputStream arg0, char[] arg1) in engineStore() argument
DMessageDigest1Test.java87 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in test_updateLB$LILI()
89 assertEquals("offset", offset, arg1); in test_updateLB$LILI()
178 public int engineDigest(byte[] arg0, int arg1, int arg2) { in test_digestLB$LILI()
180 assertEquals("offset", offset, arg1); in test_digestLB$LILI()
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/
DMockDatagramChannel.java65 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { in send() argument
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
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
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoder2Test.java91 public MockCharsetEncoderForHarmony491(Charset arg0, float arg1, in MockCharsetEncoderForHarmony491() argument
93 super(arg0, arg1, arg2); in MockCharsetEncoderForHarmony491()
96 protected CoderResult encodeLoop(CharBuffer arg0, ByteBuffer arg1) { in encodeLoop() 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/util/
DRefSortedMap.java329 public V put(K arg0, V arg1) {
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/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/nio/channels/spi/
DMockAbstractSelector.java48 protected SelectionKey register(AbstractSelectableChannel arg0, int arg1, in register() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java924 protected void connect(String arg0, int arg1) throws IOException { in connect() argument
928 protected void connect(InetAddress arg0, int arg1) throws IOException { in connect() argument
932 protected void connect(SocketAddress arg0, int arg1) throws IOException { in connect() argument
936 protected void bind(InetAddress arg0, int arg1) throws IOException { in bind() argument
968 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() 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.h93 double arg1; member

12