Home
last modified time | relevance | path

Searched refs:name2 (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/sun/reflect/
DReflection.java147 ClassLoader loader2, String name2) in isSameClassPackage() argument
153 int lastDot2 = name2.lastIndexOf('.'); in isSameClassPackage()
172 if (name2.charAt(idx2) == '[') { in isSameClassPackage()
175 } while (name2.charAt(idx2) == '['); in isSameClassPackage()
176 if (name2.charAt(idx2) != 'L') { in isSameClassPackage()
178 throw new InternalError("Illegal class name " + name2); in isSameClassPackage()
189 return name1.regionMatches(false, idx1, name2, idx2, length1); in isSameClassPackage()
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java388 byte[] name2 = new byte[] in test_getIssuerAsBytes()
393 X500Principal iss2 = new X500Principal(name2); in test_getIssuerAsBytes()
400 assertFalse("The returned issuer should differ", name2.equals(selector.getIssuerAsBytes())); in test_getIssuerAsBytes()
403 Arrays.equals(name2, selector.getIssuerAsBytes())); in test_getIssuerAsBytes()
411 String name2 = "O=Second Org."; in test_getIssuerAsString() local
413 X500Principal iss2 = new X500Principal(name2); in test_getIssuerAsString()
421 name2.equals(selector.getIssuerAsString())); in test_getIssuerAsString()
423 assertEquals("The returned issuer should be equal to specified", name2, in test_getIssuerAsString()
670 byte[] name2 = new byte[] in test_getSubjectAsBytes()
676 X500Principal sub2 = new X500Principal(name2); in test_getSubjectAsBytes()
[all …]
/libcore/luni/src/test/java/libcore/java/util/zip/
DAbstractZipFileTest.java100 String name2 = "test_file_name2"; in testDuplicateEntries() local
105 out.putNextEntry(new ZipEntry(name2)); in testDuplicateEntries()
113 replaceBytes(buffer, name2.getBytes(), name1.getBytes()); in testDuplicateEntries()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1459 private static boolean classNamesEqual(String name1, String name2) { in classNamesEqual() argument
1461 name2 = name2.substring(name2.lastIndexOf('.') + 1); in classNamesEqual()
1462 return name1.equals(name2); in classNamesEqual()
/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp529 static jboolean NativeConverter_contains(JNIEnv* env, jclass, jstring name1, jstring name2) { in NativeConverter_contains() argument
534 ScopedUtfChars name2Chars(env, name2); in NativeConverter_contains()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java250 String name2 = "cn=duke,ou=javasoft,o=sun microsystems,c=us"; in test_equals() local
253 X500Principal xpr2 = new X500Principal(name2); in test_equals()