Searched refs:arg1 (Results 1 - 25 of 38) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/function/
H A DBiPredicateTest.java27 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 Dcbigint.cpp52 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 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/src/main/java/sun/misc/
H A DMessageUtils.java47 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 DFpUtils.java298 * @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 DMyMessageDigest2.java63 public void engineUpdate(byte[] arg0, int arg1, int arg2) { argument
H A DMyMessageDigest1.java75 public void engineUpdate(byte[] arg0, int arg1, int arg2) { argument
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DSSLSocketFactoryImpl.java50 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 DX509ExtendedKeyManagerTest.java43 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 DSSLServerSocketFactoryTest.java50 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 DOldSocketImplFactoryTest.java129 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 DOldDatagramSocketImplFactoryTest.java134 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 DOldServerSocketTest.java334 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 DSocketTest.java208 @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 DResponseCacheTest.java60 public CacheResponse get(URI arg0, String arg1, Map arg2) argument
65 public CacheRequest put(URI arg0, URLConnection arg1) argument
H A DServerSocketTest.java924 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 DMockDatagramChannel.java65 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 DMockSocketChannel.java67 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 DOldFormattableTest.java29 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 DKeyStore3Test.java209 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 DMessageDigest1Test.java87 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 DCharsetEncoder2Test.java91 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 DMockAbstractSelector.java48 protected SelectionKey register(AbstractSelectableChannel arg0, int arg1, argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DRefSortedMap.java329 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 DWriterTest.java93 public void write(char[] arg0, int arg1, int arg2) throws IOException { argument

Completed in 630 milliseconds

12