HomeSort by relevance Sort by last modified time
    Searched full:key1 (Results 1 - 25 of 209) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/test/YAMLParser/
spec-10-10.data 4 ? explicit key1 : explicit value,
7 simple key1 : explicit value,
spec-10-11.data 4 ? explicit key1 : explicit value,
7 simple key1 : explicit value,
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
StringUtilsTests.java 25 "key1"
28 "key1", "key2"
35 "key1", "key"
42 assertFalse("not in 1 element", StringUtils.containsInCsv("key", "key1"));
43 assertFalse("not in 2 elements", StringUtils.containsInCsv("key", "key1,key2"));
46 assertTrue("in 2 elements", StringUtils.containsInCsv("key", "key1,key"));
53 assertEquals("not in 1 element", "key1,key",
54 StringUtils.appendToCsvIfNotExists("key", "key1"));
55 assertEquals("not in 2 elements", "key1,key2,key",
56 StringUtils.appendToCsvIfNotExists("key", "key1,key2"))
    [all...]
  /external/openssl/crypto/des/
des3s.cpp 39 des_key_schedule key1,key2,key3; local
48 des_encrypt3(&data[0],key1,key2,key3);
50 des_encrypt3(&data[0],key1,key2,key3);
51 des_encrypt3(&data[0],key1,key2,key3);
52 des_encrypt3(&data[0],key1,key2,key3);
55 des_encrypt3(&data[0],key1,key2,key3);
56 des_encrypt3(&data[0],key1,key2,key3);
57 des_encrypt3(&data[0],key1,key2,key3);
58 des_encrypt3(&data[0],key1,key2,key3);
60 des_encrypt3(&data[0],key1,key2,key3)
    [all...]
str2key.c 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2)
108 memset(key1,0,8);
116 (*key2)[i]=(*key1)[i]=(str[i]<<1);
126 (*key1)[i%8]^=(str[i]<<1);
136 (*key1)[i%8]^=(j<<1);
146 (*key1)[7-(i%8)]^=j;
151 if (length <= 8) memcpy(key2,key1,8);
153 DES_set_odd_parity(key1);
156 if(DES_is_weak_key(key1))
157 (*key1)[7] ^= 0xF0
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DoubleKeyMap.java 9 public class DoubleKeyMap<Key1, Key2, Value> {
10 Map<Key1, Map<Key2, Value>> data = new LinkedHashMap<Key1, Map<Key2, Value>>();
12 public Value put(Key1 k1, Key2 k2, Value v) {
26 public Value get(Key1 k1, Key2 k2) {
32 public Map<Key2, Value> get(Key1 k1) { return data.get(k1); }
35 public Collection<Value> values(Key1 k1) {
42 public Set<Key1> keySet() {
47 public Set<Key2> keySet(Key1 k1) {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
KeyPairTest.java 76 Key key1 = ((KeyPair)test).getPublic();
79 assertEquals("PublicKey class", key1.getClass(), key2.getClass());
80 assertEquals("PublicKey algorithm", key1.getAlgorithm(), key2
82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat());
83 assertTrue("PublicKey encoded", Arrays.equals(key1.getEncoded(),
87 key1 = ((KeyPair)test).getPrivate();
90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass());
91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2
93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat());
94 assertTrue("PrivateKey encoded", Arrays.equals(key1.getEncoded()
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_SettingsTest.java 33 String key1 = "key 1"; local
37 Settings.setSetting(mContentResolver, "account", key1, value1);
39 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1));
43 Settings.setSetting(mContentResolver, "account", key1, value2);
44 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1));
  /external/chromium/chrome/browser/rlz/
rlz_unittest.cc 36 RegKey key1; local
37 EXPECT_EQ(ERROR_SUCCESS, key1.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ));
38 EXPECT_EQ(ERROR_SUCCESS, key1.ReadValueDW(kEvent1, &recorded_value));
58 RegKey key1; local
59 EXPECT_EQ(ERROR_SUCCESS, key1.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ));
60 EXPECT_EQ(ERROR_SUCCESS, key1.ReadValueDW(kEvent1, &recorded_value));
  /cts/tests/tests/text/src/android/text/cts/
AnnotationTest.java 25 private static final String KEY1 = "name";
41 new Annotation(KEY1, VALUE1);
46 mAnnotation = new Annotation(KEY1, VALUE1);
54 mAnnotation = new Annotation(KEY1, VALUE1);
55 assertEquals(KEY1, mAnnotation.getKey());
61 mAnnotation = new Annotation(KEY1, VALUE1);
69 mAnnotation = new Annotation(KEY1, VALUE1);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
CollationKeyTest.java 33 CollationKey key1 = collator.getCollationKey("abc"); local
35 assertEquals("Should be equal", 0, key1.compareTo(key2));
46 CollationKey key1 = collator.getCollationKey("abc"); local
48 assertEquals("Should be equal", 0, key1.compareTo(key2));
57 CollationKey key1 = collator.getCollationKey("abc"); local
59 assertTrue("Should be equal", key1.equals(key2));
80 CollationKey key1 = collator.getCollationKey("abc"); local
82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode());
93 CollationKey key1 = collator.getCollationKey("abc"); local
94 byte[] bytes = key1.toByteArray()
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/util/
TwoKeyHashMap.java 124 * @param key1
128 public V remove(Object key1, Object key2) {
129 Entry<E, K, V> e = removeEntry(key1, key2);
136 * @param key1
141 public V put(E key1, K key2, V value) {
142 if (key1 == null && key2 == null) {
156 int hash = key1.hashCode() + key2.hashCode();
161 if (hash == e.hash && key1.equals(e.getKey1())
170 arr[index] = createEntry(hash, key1, key2, value, arr[index]);
217 * Returns true if this map contains a mapping for {@code key1} and {@code key2}
291 E key1; field in class:TwoKeyHashMap.Entry
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheReferencesTest.java 91 Key key1 = new Key(1);
92 String value1 = key1.toString();
95 assertSame(value1, cache.getUnchecked(key1));
97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
99 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
106 Key key1 = new Key(1);
107 String value1 = key1.toString();
110 assertSame(value1, cache.getUnchecked(key1));
112 cache.invalidate(key1);
113 assertFalse(cache.asMap().containsKey(key1));
    [all...]
  /external/libsepol/src/
symtab.c 30 __attribute__ ((unused)), hashtab_key_t key1,
35 keyp1 = (char *)key1;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/
TestDictionary.m 31 NSString *key1 = @"a101";
35 [testDict setObject:obj1 forKey:key1];
37 NSString *result = [testDict objectForKey:key1];
44 NSString *key1 = @"a101";
50 [testDict setObject:obj1 forKey:key1];
53 NSString *result = [testDict objectForKey:key1];
60 NSString *key1 = @"a101";
64 [testDict setObject:obj1 forKey:key1];
84 NSString *key1 = @"a101";
88 [testDict setObject:obj1 forKey:key1];
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DESede.java 38 private int[] key1 = null; field in class:DESede
64 key1 = generateWorkingKey(encrypting, key, 0);
86 if (key1 == null)
93 desFunc(key1, in, inOff, out, outOff);
101 desFunc(key1, out, outOff, out, outOff);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 54 byte[] key1 = new byte[8];
55 System.arraycopy(keyMaster, 0, key1, 0, key1.length);
56 workingKey1 = generateWorkingKey(encrypting, key1);
  /external/dbus/test/data/valid-messages/
lots-of-arguments.message 45 STRING 'key1'
55 STRING 'key1'
  /external/icu4c/common/
uhash_us.cpp 37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) {
39 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpec2Test.java 62 private boolean isEqual(Key key1, Key key2) {
63 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) {
64 DSAPublicKey dsa1 = ((DSAPublicKey) key1);
71 } else if (key1 instanceof DSAPrivateKey
73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
  /libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java 63 private boolean isEqual(Key key1, Key key2) {
64 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) {
65 DSAPublicKey dsa1 = ((DSAPublicKey) key1);
72 } else if (key1 instanceof DSAPrivateKey
74 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
  /external/chromium/base/
string_split_unittest.cc 44 EXPECT_TRUE(SplitStringIntoKeyValues("key1\tvalue1, value2 value3",
47 EXPECT_EQ("key1", key);
78 EXPECT_TRUE(SplitStringIntoKeyValues("key1\tvalue1, value2 value3",
81 EXPECT_EQ("key1", key);
100 EXPECT_TRUE(SplitStringIntoKeyValuePairs("key1:value1,,key3:value3",
105 EXPECT_EQ("key1", kv_pairs[0].first);
112 EXPECT_FALSE(SplitStringIntoKeyValuePairs("key1:value1 , key2:",
117 EXPECT_EQ("key1", kv_pairs[0].first);
124 EXPECT_TRUE(SplitStringIntoKeyValuePairs("key1:va:ue1 , key2:value2",
129 EXPECT_EQ("key1", kv_pairs[0].first)
    [all...]
  /external/webkit/LayoutTests/dom/xhtml/level3/core/
nodesetuserdata09.js 107 docElem.setUserData("Key1", doc, null);
109 docElem.setUserData("Key1", doc, nullHandler.handle);
111 returned = doc.getUserData("Key1");
  /external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
FilePreferencesImplTest.java 65 uroot.put("\u4e2d key1", "\u4e2d value1");
66 assertEquals("\u4e2d value1", uroot.get("\u4e2d key1", null));
77 sroot.put("\u4e2d key1", "\u4e2d value1");
78 assertEquals("\u4e2d value1", sroot.get("\u4e2d key1", null));
  /external/chromium/net/base/
host_cache_unittest.cc 280 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_UNSPECIFIED, 0);
283 const HostCache::Entry* entry1 = NULL; // Entry for key1
289 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL);
290 cache.Set(key1, OK, AddressList(), now);
291 entry1 = cache.Lookup(key1, base::TimeTicks());
315 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_IPV4, 0);
321 const HostCache::Entry* entry1 = NULL; // Entry for key1
328 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL);
329 cache.Set(key1, OK, AddressList(), now);
330 entry1 = cache.Lookup(key1, base::TimeTicks())
395 HostCache::Key key1; member in struct:net::__anon3949
458 const HostCache::Key& key1 = tests[i].key1; local
    [all...]

Completed in 736 milliseconds

1 2 3 4 5 6 7 8 9