Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 25 of 37) 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/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()
63 while (++arg1[index] == 0 && ++index < length) { in simpleAddHighPrecision()
70 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2) in addHighPrecision() argument
94 temp1 = arg1[index]; in addHighPrecision()
97 arg1[index] = temp3 + carry; in addHighPrecision()
98 if (arg2[index] < arg1[index]) in addHighPrecision()
100 else if (arg2[index] != arg1[index]) in addHighPrecision()
109 while (++arg1[index] == 0 && ++index < length1) { in addHighPrecision()
[all …]
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/
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.java334 public static boolean isUnordered(double arg1, double arg2) { in isUnordered() argument
335 return isNaN(arg1) || isNaN(arg2); in isUnordered()
350 public static boolean isUnordered(float arg1, float arg2) { in isUnordered() argument
351 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/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
DSSLServerSocketFactoryTest.java50 public ServerSocket createServerSocket(int arg0, int arg1) in createServerSocket() argument
56 public ServerSocket createServerSocket(int arg0, int arg1, in createServerSocket() 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.java343 protected void connect(String arg0, int arg1) throws IOException { in connect() argument
346 protected void connect(InetAddress arg0, int arg1) throws IOException { in connect() argument
349 protected void connect(SocketAddress arg0, int arg1) throws IOException { in connect() argument
352 protected void bind(InetAddress arg0, int arg1) throws IOException { in bind() argument
379 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() argument
DSocketTest.java193 @Override protected void bind(InetAddress arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
195 @Override protected void connect(String arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
196 @Override protected void connect(InetAddress arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
197 @Override protected void connect(SocketAddress arg0, int arg1) throws IOException { } in test_SocketOptions_setOption() argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore3Test.java212 public Key engineGetKey(String arg0, char[] arg1) in engineGetKey() argument
225 public void engineLoad(InputStream arg0, char[] arg1) in engineLoad() argument
231 public void engineSetCertificateEntry(String arg0, Certificate arg1) in engineSetCertificateEntry() argument
236 public void engineSetKeyEntry(String arg0, byte[] arg1, in engineSetKeyEntry() argument
241 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2, in engineSetKeyEntry() argument
254 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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DMockDatagramChannel.java64 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { in send() argument
74 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { in read() argument
84 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/net/
DResponseCacheTest.java60 public CacheResponse get(URI arg0, String arg1, Map arg2) in get() argument
65 public CacheRequest put(URI arg0, URLConnection arg1) in put() argument
DServerSocketTest.java896 protected void connect(String arg0, int arg1) throws IOException { in connect() argument
900 protected void connect(InetAddress arg0, int arg1) throws IOException { in connect() argument
904 protected void connect(SocketAddress arg0, int arg1) throws IOException { in connect() argument
908 protected void bind(InetAddress arg0, int arg1) throws IOException { in bind() argument
940 public void setOption(int arg0, Object arg1) throws SocketException { in setOption() 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/
DMyMessageDigest2.java63 public void engineUpdate(byte[] arg0, int arg1, int arg2) { in engineUpdate() argument
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/io/
DWriterTest.java93 public void write(char[] arg0, int arg1, int arg2) throws IOException { in write() argument

12