/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | DESedeCrypt.java | 49 private byte[] key2 = null; field in class:DESedeCrypt 92 key2 = new byte[128]; 95 System.arraycopy(expandedKey, 0, key2, 0, 128); 120 expandedKey = key2; 150 expandedKey = key2; 160 byte[] key2, int off2, int len) { 163 if (key1[i+off1] != key2[i+off2]) 159 keyEquals(byte[] key1, int off1, byte[] key2, int off2, int len) argument
|
/openjdk7/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestKeyFactory.java | 42 * Test that key1 (reference key) and key2 (key to be tested) are 45 private static void testKey(Key key1, Key key2) throws Exception { argument 46 if (key2.getAlgorithm().equals("EC") == false) { 50 if (key2.getFormat().equals("X.509") == false) { 54 if (key2.getFormat().equals("PKCS#8") == false) { 58 if (key1.equals(key2) == false) { 60 System.out.println("key2: " + key2); 62 System.out.println("enc2: " + toString(key2.getEncoded())); 65 if (Arrays.equals(key1.getEncoded(), key2 [all...] |
/openjdk7/jdk/test/sun/security/rsa/ |
H A D | TestKeyFactory.java | 53 * Test that key1 (reference key) and key2 (key to be tested) are 56 private static void testKey(Key key1, Key key2) throws Exception { argument 57 if (key2.getAlgorithm().equals("RSA") == false) { 61 if (key2.getFormat().equals("X.509") == false) { 65 if (key2.getFormat().equals("PKCS#8") == false) { 69 if (key1.equals(key2) == false) { 72 if (Arrays.equals(key1.getEncoded(), key2.getEncoded()) == false) { 79 PublicKey key2 = (PublicKey)kf.translateKey(key); 87 testKey(key, key2); 95 PrivateKey key2 [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/rsa/ |
H A D | TestKeyFactory.java | 54 * Test that key1 (reference key) and key2 (key to be tested) are 57 private static void testKey(Key key1, Key key2) throws Exception { argument 58 if (key2.getAlgorithm().equals("RSA") == false) { 62 if (key2.getFormat().equals("X.509") == false) { 66 if (key2.getFormat().equals("PKCS#8") == false) { 70 if (key1.equals(key2) == false) { 73 if (Arrays.equals(key1.getEncoded(), key2.getEncoded()) == false) { 80 PublicKey key2 = (PublicKey)kf.translateKey(key); 88 testKey(key, key2); 96 PrivateKey key2 [all...] |
/openjdk7/jdk/test/java/net/URLClassLoader/ |
H A D | ClassPathTest.java | 123 String key2 = key.replace('/', File.separatorChar); 124 int li = key2.lastIndexOf(".class"); 125 key2 = key2.substring(0, li); 126 return key2;
|
/openjdk7/hotspot/src/share/vm/libadt/ |
H A D | dict.hpp | 41 typedef int32 (*CmpKey)(const void *key1, const void *key2); 101 int32 cmpkey(const void *key1, const void *key2);
|
H A D | dict.cpp | 353 int32 cmpkey(const void *key1, const void *key2) { argument 354 if (key1 == key2) return 0; 355 intptr_t delta = (intptr_t)key1 - (intptr_t)key2;
|
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | dict2.hpp | 39 typedef int (*CmpKey)(const void *key1, const void *key2); 102 int cmpkey(const void *key1, const void *key2);
|
H A D | dict2.cpp | 320 int cmpkey(const void *key1, const void *key2) { argument 321 if (key1 == key2) return 0; 322 intptr_t delta = (intptr_t)key1 - (intptr_t)key2;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/ |
H A D | PolicyMap.java | 56 public boolean areEqual(final PolicyMapKey key1, final PolicyMapKey key2) { 57 return key1.getService().equals(key2.getService()); 70 public boolean areEqual(final PolicyMapKey key1, final PolicyMapKey key2) { 73 retVal = retVal && key1.getService().equals(key2.getService()); 74 retVal = retVal && ((key1.getPort() == null) ? key2.getPort() == null : key1.getPort().equals(key2.getPort())); 92 public boolean areEqual(final PolicyMapKey key1, final PolicyMapKey key2) { 95 retVal = retVal && key1.getService().equals(key2.getService()); 96 retVal = retVal && ((key1.getPort() == null) ? key2.getPort() == null : key1.getPort().equals(key2 [all...] |
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/PBE/ |
H A D | PKCS12Cipher.java | 64 PBEKey key2 = new 66 cipher.init(Cipher.DECRYPT_MODE, key2, pbeParams); 72 cipher.init(Cipher.DECRYPT_MODE, key2, (AlgorithmParameters) null);
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | RacyDeregister.java | 70 SelectionKey key2 = accepted2.register(sel, SelectionKey.OP_READ); 140 key2 = accepted2.register(sel, SelectionKey.OP_READ); 144 key2.cancel();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | ClassWriter.java | 303 final Item key2; field in class:ClassWriter 570 key2 = new Item(); 973 key2.set(CLASS, value, null, null); 974 Item result = get(key2); 977 result = new Item(index++, key2); 1163 key2.set(STR, value, null, null); 1164 Item result = get(key2); 1167 result = new Item(index++, key2); 1184 key2.set(NAME_TYPE, name, desc, null); 1185 Item result = get(key2); [all...] |
/openjdk7/jdk/test/java/nio/file/WatchService/ |
H A D | Basic.java | 413 WatchKey key2 = dir.register(watcher2, 416 if (key1 == key2) 429 // check that key2 got zero events 437 // check that key2 got ENTRY_DELETE 438 takeExpectedKey(watcher2, key2); 439 checkExpectedEvent(key2.pollEvents(), 449 key2.reset(); 454 key2 = dir.register(watcher2, new WatchEvent.Kind<?>[]{ ENTRY_CREATE }); 456 // create file and key2 should be queued 459 takeExpectedKey(watcher2, key2); [all...] |
/openjdk7/jdk/test/sun/security/pkcs11/KeyAgreement/ |
H A D | TestDH.java | 105 SecretKey key2 = ka2.generateSecret(algorithm); 108 byte[] b2 = key2.getEncoded();
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | Links.java | 154 Object key2 = Files.readAttributes(bar, BasicFileAttributes.class).fileKey(); 155 assertTrue((key1 == null) || (key1.equals(key2)));
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | Group.java | 92 public int compare(String key1, String key2) { argument 93 return key2.length() - key1.length();
|
/openjdk7/jdk/test/sun/security/pkcs11/Secmod/ |
H A D | AddPrivateKey.java | 122 PrivateKey key2 = (PrivateKey)ks.getKey(ALIAS1, null); 123 System.out.println(toString(key2)); 126 // if (key.equals(key2) == false) { 132 sign(p, key2, publicKey);
|
/openjdk7/jdk/make/tools/GenerateCharacter/ |
H A D | check_class.c.template | 188 int key2 = index & 0xFFFF; 190 || key2 < 1 || key2 >= cp_count) { 196 || (type_table[key2] != utf8_resolved)) { 203 || ((type_table[key2] != CONSTANT_NameAndType))) {
|
/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/ |
H A D | NTLM.java | 295 SecretKey key2 = fac.generateSecret (dks2); 298 cipher.init (Cipher.ENCRYPT_MODE, key2); 338 SecretKey key2 = fac.generateSecret(dks2); 342 cipher.init(Cipher.ENCRYPT_MODE, key2);
|
/openjdk7/jdk/test/java/security/KeyRep/ |
H A D | Serial.java | 196 SecretKey key2 = (SecretKey)ois.readObject(); 199 if (!key.equals(key2)) {
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | LinkedHashMap.java | 721 Object key2 = e2.getKey(); 724 if ((key1 == null ? key2 == null : key1.equals(key2)) &&
|
/openjdk7/jdk/test/java/util/Arrays/ |
H A D | Sorting.java | 300 int key2 = a[i].getKey(); 307 if (!(key1 == key2 && key2 == key3 && key3 == key4)) { 309 key1 + ", " + key2 + ", " + key3 + ", " + key4);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Config.java | 525 private String find(String key1, String key2) { argument 529 (((Hashtable)(stanzaTable.get(key1))).get(key2))) != null)) {
|