Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/reflect/
DReflection.java220 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/
DVerifyAccess.java292 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/
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()
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/
DReflection.java65 java.lang.String name1, in isSameClassPackage() argument
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixNativeDispatcher.java267 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/
DAbstractZipFileTest.java104 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/
DObjectStreamClass.java1525 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/ojluni/src/main/native/
Dzip_util.c1169 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/
DObjectStreamClass.java304 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/
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()