Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/reflect/
DReflection.java146 private static boolean isSameClassPackage(ClassLoader loader1, String name1, in isSameClassPackage() argument
152 int lastDot1 = name1.lastIndexOf('.'); in isSameClassPackage()
163 if (name1.charAt(idx1) == '[') { in isSameClassPackage()
166 } while (name1.charAt(idx1) == '['); in isSameClassPackage()
167 if (name1.charAt(idx1) != 'L') { in isSameClassPackage()
169 throw new InternalError("Illegal class name " + name1); in isSameClassPackage()
189 return name1.regionMatches(false, idx1, name2, idx2, length1); in isSameClassPackage()
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java383 byte[] name1 = new byte[] in test_getIssuerAsBytes()
392 X500Principal iss1 = new X500Principal(name1); in test_getIssuerAsBytes()
399 Arrays.equals(name1, selector.getIssuerAsBytes())); in test_getIssuerAsBytes()
410 String name1 = "O=First Org."; in test_getIssuerAsString() local
412 X500Principal iss1 = new X500Principal(name1); in test_getIssuerAsString()
418 assertEquals("The returned issuer should be equal to specified", name1, in test_getIssuerAsString()
666 byte[] name1 = new byte[] in test_getSubjectAsBytes()
675 X500Principal sub1 = new X500Principal(name1); in test_getSubjectAsBytes()
683 Arrays.equals(name1, selector.getSubjectAsBytes())); in test_getSubjectAsBytes()
695 String name1 = "O=First Org."; in test_getSubjectAsString() local
[all …]
/libcore/luni/src/test/java/libcore/java/util/zip/
DAbstractZipFileTest.java99 String name1 = "test_file_name1"; in testDuplicateEntries() local
107 out.putNextEntry(new ZipEntry(name1)); 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
1460 name1 = name1.substring(name1.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
530 ScopedUtfChars name1Chars(env, name1); in NativeConverter_contains()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java249 String name1 = "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"; in test_equals() local
252 X500Principal xpr1 = new X500Principal(name1); in test_equals()