/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 220 private static boolean isSameClassPackage(ClassLoader loader1, String name1, in isSameClassPackage() argument 226 int lastDot1 = name1.lastIndexOf('.'); in isSameClassPackage() 237 if (name1.charAt(idx1) == '[') { in isSameClassPackage() 240 } while (name1.charAt(idx1) == '['); in isSameClassPackage() 241 if (name1.charAt(idx1) != 'L') { in isSameClassPackage() 243 throw new InternalError("Illegal class name " + name1); in isSameClassPackage() 263 return name1.regionMatches(false, idx1, name2, idx2, length1); in isSameClassPackage()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 292 String name1 = class1.getName(), name2 = class2.getName(); in isSamePackage() 293 int dot = name1.lastIndexOf('.'); in isSamePackage() 297 if (name1.charAt(i) != name2.charAt(i)) in isSamePackage()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CertSelectorTest.java | 383 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() 411 String name1 = "O=First Org."; in test_getIssuerAsString() local 413 X500Principal iss1 = new X500Principal(name1); in test_getIssuerAsString() 419 assertEquals("The returned issuer should be equal to specified", name1, in test_getIssuerAsString() 667 byte[] name1 = new byte[] in test_getSubjectAsBytes() 676 X500Principal sub1 = new X500Principal(name1); in test_getSubjectAsBytes() 684 Arrays.equals(name1, selector.getSubjectAsBytes())); in test_getSubjectAsBytes() 696 String name1 = "O=First Org."; in test_getSubjectAsString() local [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/reflect/ |
D | Reflection.java | 65 java.lang.String name1, in isSameClassPackage() argument
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixNativeDispatcher.java | 267 static void symlink(byte[] name1, UnixPath name2) throws UnixException { in symlink() argument 268 NativeBuffer targetBuffer = NativeBuffers.asNativeBuffer(name1); in symlink() 277 private static native void symlink0(long name1, long name2) in symlink0() argument
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | AbstractZipFileTest.java | 104 String name1 = "test_file_name1"; in testDuplicateEntries() local 112 out.putNextEntry(new ZipEntry(name1)); in testDuplicateEntries() 118 replaceBytes(buffer, name2.getBytes(), name1.getBytes()); in testDuplicateEntries()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1525 private static boolean classNamesEqual(String name1, String name2) { in classNamesEqual() argument 1526 name1 = name1.substring(name1.lastIndexOf('.') + 1); in classNamesEqual() 1528 return name1.equals(name2); in classNamesEqual()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeConverter.cpp | 579 static jboolean NativeConverter_contains(JNIEnv* env, jclass, jstring name1, jstring name2) { in NativeConverter_contains() argument 580 ScopedUtfChars name1Chars(env, name1); in NativeConverter_contains()
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 1169 jboolean equals(char* name1, int len1, char* name2, int len2) { in equals() argument 1174 if (*name1++ != *name2++) { in equals()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 304 private static boolean classNamesEqual(java.lang.String name1, java.lang.String name2) { in classNamesEqual() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 249 String name1 = "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"; in test_equals() local 252 X500Principal xpr1 = new X500Principal(name1); in test_equals()
|