/libcore/ojluni/src/main/java/java/net/ |
D | URLStreamHandler.java | 393 protected boolean equals(URL u1, URL u2) { in equals() argument 395 return Objects.equals(u1.getRef(), u2.getRef()) && in equals() 396 Objects.equals(u1.getQuery(), u2.getQuery()) && in equals() 399 sameFile(u1, u2); in equals() 433 protected boolean sameFile(URL u1, URL u2) { in sameFile() argument 435 if (!((u1.getProtocol() == u2.getProtocol()) || in sameFile() 437 u1.getProtocol().equalsIgnoreCase(u2.getProtocol())))) in sameFile() 441 if (!(u1.getFile() == u2.getFile() || in sameFile() 442 (u1.getFile() != null && u1.getFile().equals(u2.getFile())))) in sameFile() 448 port2 = (u2.getPort() != -1) ? u2.getPort() : u2.handler.getDefaultPort(); in sameFile() [all …]
|
D | URL.java | 895 URL u2 = (URL)obj; in equals() 897 return handler.equals(this, u2); in equals()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | Handler.java | 43 protected boolean equals(URL u1, URL u2) { in equals() argument 45 String userInfo2 = u2.getUserInfo(); in equals() 46 return super.equals(u1, u2) && in equals()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 265 static void cmp(long v1, TimeUnit u1, long v2, TimeUnit u2, int expected) { in cmp() argument 266 int result = FileTime.from(v1, u1).compareTo(FileTime.from(v2, u2)); in cmp() 271 static void cmp(Instant ins, long v2, TimeUnit u2, int expected) { in cmp() argument 272 int result = FileTime.from(ins).compareTo(FileTime.from(v2, u2)); in cmp() 277 static void eq(long v1, TimeUnit u1, long v2, TimeUnit u2) { in eq() argument 279 FileTime t2 = FileTime.from(v2, u2); in eq() 286 static void eq(Instant ins, long v2, TimeUnit u2) { in eq() argument 288 FileTime t2 = FileTime.from(v2, u2); in eq() 308 static void neq(long v1, TimeUnit u1, long v2, TimeUnit u2) { in neq() argument 310 FileTime t2 = FileTime.from(v2, u2); in neq() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | Handler.java | 61 protected boolean sameFile(URL u1, URL u2) { in sameFile() argument 62 if (!u1.getProtocol().equals("jar") || !u2.getProtocol().equals("jar")) in sameFile() 66 String file2 = u2.getFile(); in sameFile() 71 return super.sameFile(u1, u2); in sameFile() 85 return super.sameFile(u1, u2); in sameFile()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | Handler.java | 122 protected boolean hostsEqual(URL u1, URL u2) { in hostsEqual() argument 129 String s2 = u2.getHost(); in hostsEqual() 134 return super.hostsEqual(u1, u2); in hostsEqual()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URLTest.java | 49 URL u2; field in URLTest 86 u2 = new URL( in test_ConstructorLjava_lang_String() 88 assertEquals("u2 returns a wrong protocol", "http", u2.getProtocol()); in test_ConstructorLjava_lang_String() 89 assertEquals("u2 returns a wrong host", "www.yahoo3.com", u2.getHost()); in test_ConstructorLjava_lang_String() 90 assertEquals("u2 returns a wrong port", -1, u2.getPort()); in test_ConstructorLjava_lang_String() 92 "/dir1/dir2/test.cgi?point1.html", u2.getFile()); in test_ConstructorLjava_lang_String() 93 assertEquals("u2 returns a wrong anchor", "anchor1", u2.getRef()); in test_ConstructorLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 1367 char u2 = Character.toUpperCase(c2); in regionMatches() local 1368 if (u1 == u2) { in regionMatches() 1375 if (Character.toLowerCase(u1) == Character.toLowerCase(u2)) { in regionMatches()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 674 unsigned int u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,ua,ub,uc,ud,ue,uf; 680 "%d %x %x %x %32s",&u0,&u1,&u2,&u3,&u4,&u5,&u6,&u7, 685 staddr[2] = (unsigned char)u2;
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 982 BigInteger u = ONE; BigInteger u2; 986 u2 = u.multiply(v).mod(n); 994 u = u2; v = v2; 996 u2 = u.add(v).mod(n); 997 if (u2.testBit(0)) 998 u2 = u2.subtract(n); 1000 u2 = u2.shiftRight(1); 1006 u = u2; v = v2;
|
D | BigDecimal.java | 4847 long u2 = tmp & LONG_MASK; 4868 tmp = mulsub(u2,u1,v1,v0,q1);
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLTest.java | 563 URL u2; field in OldURLTest
|