Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/reflect/
DReflection.java221 ClassLoader loader2, String name2) in isSameClassPackage() argument
227 int lastDot2 = name2.lastIndexOf('.'); in isSameClassPackage()
246 if (name2.charAt(idx2) == '[') { in isSameClassPackage()
249 } while (name2.charAt(idx2) == '['); in isSameClassPackage()
250 if (name2.charAt(idx2) != 'L') { in isSameClassPackage()
252 throw new InternalError("Illegal class name " + name2); 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()
294 if (dot != name2.lastIndexOf('.')) in isSamePackage()
297 if (name1.charAt(i) != name2.charAt(i)) in isSamePackage()
/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()
401 Arrays.equals(name2, selector.getIssuerAsBytes())); in test_getIssuerAsBytes()
404 Arrays.equals(name2, selector.getIssuerAsBytes())); in test_getIssuerAsBytes()
412 String name2 = "O=Second Org."; in test_getIssuerAsString() local
414 X500Principal iss2 = new X500Principal(name2); in test_getIssuerAsString()
422 name2.equals(selector.getIssuerAsString())); in test_getIssuerAsString()
424 assertEquals("The returned issuer should be equal to specified", name2, in test_getIssuerAsString()
671 byte[] name2 = new byte[] in test_getSubjectAsBytes()
677 X500Principal sub2 = new X500Principal(name2); in test_getSubjectAsBytes()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/reflect/
DReflection.java67 java.lang.String name2) { 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
269 NativeBuffer linkBuffer = copyToNativeBuffer(name2); 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.java105 String name2 = "test_file_name2"; in testDuplicateEntries() local
110 out.putNextEntry(new ZipEntry(name2)); 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
1527 name2 = name2.substring(name2.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.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()