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

1 2 3 4 5 6 7 8 91011

  /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/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...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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...]
  /external/mesa3d/src/gallium/state_trackers/vega/
handle.c 53 compare(void *key1, void *key2)
55 if (key1 < key2)
57 else if (key1 > key2)
  /external/vboot_reference/tests/
vb20_common2_tests.c 24 static void test_unpack_key(const struct vb2_packed_key *key1)
32 uint32_t size = key1->key_offset + key1->key_size;
36 memcpy(key, key1, size);
45 memcpy(key, key1, size);
51 memcpy(key, key1, size);
57 memcpy(key, key1, size);
63 memcpy(key, key1, size);
69 memcpy(key, key1, size);
77 static void test_verify_data(const struct vb2_packed_key *key1,
145 struct vb2_packed_key *key1; local
    [all...]
  /external/icu/icu4c/source/common/
uelement.h 71 * @param key1 The string for comparison
73 * @return true if key1 and key2 are equal, return false otherwise.
76 uhash_compareUnicodeString(const UElement key1, const UElement key2);
82 * @param key1 The string for comparison
84 * @return true if key1 and key2 are equal, return false otherwise.
87 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
  /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/selinux/libsepol/cil/src/
cil_symtab.c 152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4;
184 if (ckey->key1 == curr->ckey->key1 &&
191 if (ckey->key1 == curr->ckey->key1 &&
196 if (ckey->key1 == curr->ckey->key1 &&
202 if (ckey->key1 == curr->ckey->key1 &&
232 if (ckey->key1 == curr->ckey->key1 &
    [all...]
  /external/autotest/frontend/client/src/autotest/common/table/
JSONObjectComparator.java 21 String key1 = arg1.get(sortSpec.getField()).toString().toLowerCase(); local
22 compareValue = key0.compareTo(key1) * sortSpec.getDirectionMultiplier();
  /external/selinux/libsepol/src/
symtab.c 30 __attribute__ ((unused)), hashtab_key_t key1,
35 keyp1 = (char *)key1;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 55 byte[] key1 = new byte[8];
56 System.arraycopy(keyMaster, 0, key1, 0, key1.length);
57 workingKey1 = generateWorkingKey(encrypting, key1);
  /external/mesa3d/src/gallium/auxiliary/util/
u_cache.h 63 int (*compare)(const void *key1, const void *key2),
u_hash_table.h 60 int (*compare)(void *key1, void *key2));
  /external/skia/tests/
ImageFilterCacheTest.cpp 36 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset());
40 cache->set(key1, image, offset);
44 SkSpecialImage* foundImage = cache->get(key1, &foundOffset);
62 SkImageFilter::Cache::Key key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset());
72 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset));
85 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset());
89 cache->set(key1, image, offset);
93 REPORTER_ASSERT(reporter, cache->get(key1, &foundOffset));
99 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset));
110 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset())
    [all...]
  /external/guice/core/test/com/google/inject/internal/
WeakKeySetTest.java 112 Key<Integer> key1 = Key.get(Integer.class); local
117 set.add(key1, state1, source1);
118 assertInSet(set, key1, 1, source1);
123 WeakReference<Key<Integer>> weakKey1Ref = new WeakReference<Key<Integer>>(key1);
128 Key<Integer> key = key1 = key2 = Key.get(Integer.class);
139 // Key1 will be referenced as the key in the sources backingSet and won't be
153 // Now that the backing set is emptied, key1 is released.
160 Key<Integer> key1 = Key.get(Integer.class); local
165 set.add(key1, state1, source1);
166 assertInSet(set, key1, 1, source1)
188 Key<Integer> key1 = Key.get(Integer.class); local
231 Key<Integer> key1 = Key.get(Integer.class); local
278 Key<Integer> key1 = Key.get(Integer.class); local
    [all...]
  /external/boringssl/src/decrepit/xts/
xts.c 60 void *key1, *key2; member in struct:xts128_context
91 (*ctx->block1)(scratch.c, scratch.c, ctx->key1);
121 (*ctx->block1)(scratch.c, scratch.c, ctx->key1);
145 (*ctx->block1)(scratch.c, scratch.c, ctx->key1);
156 (*ctx->block1)(scratch.c, scratch.c, ctx->key1);
198 xctx->xts.key1 = &xctx->ks1;
212 if (!xctx->xts.key1 ||
228 if (xctx->xts.key1) {
229 if (xctx->xts.key1 != &xctx->ks1) {
232 xctx_out->xts.key1 = &xctx_out->ks1
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheReferencesTest.java 90 Key key1 = new Key(1);
91 String value1 = key1.toString();
94 assertSame(value1, cache.getUnchecked(key1));
96 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
98 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
105 Key key1 = new Key(1);
106 String value1 = key1.toString();
109 assertSame(value1, cache.getUnchecked(key1));
111 cache.invalidate(key1);
112 assertFalse(cache.asMap().containsKey(key1));
    [all...]
  /external/libchrome/crypto/
symmetric_key_unittest.cc 34 scoped_ptr<crypto::SymmetricKey> key1(
36 ASSERT_TRUE(NULL != key1.get());
38 EXPECT_TRUE(key1->GetRawKey(&raw_key1));
51 scoped_ptr<crypto::SymmetricKey> key1(
54 ASSERT_TRUE(NULL != key1.get());
56 EXPECT_TRUE(key1->GetRawKey(&raw_key1));
  /external/jetty/src/java/org/eclipse/jetty/websocket/
WebSocketServletConnectionD00.java 61 String key1 = request.getHeader("Sec-WebSocket-Key1"); local
63 if (key1 != null)
66 setHixieKeys(key1,key2);
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESedeKeySpecTest.java 121 byte[] key1 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3,
124 ks = new DESedeKeySpec(key1, 2);
131 + "as specified in a constructor.", key1, res);
133 System.arraycopy(key1, 2, exp, 0, 24);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/dynamodb/
test_layer1.py 134 key1 = {'HashKeyElement': {hash_key_type: item1_key},
136 result = c.get_item(table_name, key=key1, consistent_read=True)
148 result = c.get_item(table_name, key=key1, consistent_read=True,
156 c.delete_item, table_name, key=key1,
164 result = c.update_item(table_name, key=key1,
174 c.update_item, table_name, key=key1,
228 result = c.delete_item(table_name, key=key1)
262 key1 = {'HashKeyElement': {self.hash_key_type: item1_key},
264 result = c.get_item(self.table_name, key=key1, consistent_read=True)
  /external/libdrm/amdgpu/
util_hash_table.h 56 int (*compare)(void *key1, void *key2));
  /external/v8/src/profiler/
strings-storage.h 33 static bool StringsMatch(void* key1, void* key2);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESedeKeySpecTest.java 121 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3,
124 ks = new DESedeKeySpec(key1, 2);
131 + "as specified in a constructor.", key1, res);
133 System.arraycopy(key1, 2, exp, 0, 24);

Completed in 566 milliseconds

1 2 3 4 5 6 7 8 91011