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

1 2 3 4 5 6 7 8 91011>>

  /external/vboot_reference/tests/
vb21_common2_tests.c 28 struct vb2_packed_key *key2; local
32 key2 = (struct vb2_packed_key *)malloc(size);
34 memcpy(key2, key, size);
35 TEST_SUCC(vb2_unpack_key(&pubk, (uint8_t *)key2, size),
38 memcpy(key2, key, size);
39 key2->key_offset += 4;
40 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size),
44 memcpy(key2, key, size);
45 key2->c.fixed_size += size;
46 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size)
251 struct vb2_packed_key *key2 = NULL; local
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
KeyPairTest.java 77 Key key2 = ((KeyPair) reference).getPublic();
79 assertEquals("PublicKey class", key1.getClass(), key2.getClass());
80 assertEquals("PublicKey algorithm", key1.getAlgorithm(), key2
82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat());
84 key2.getEncoded()));
88 key2 = ((KeyPair) reference).getPrivate();
90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass());
91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2
93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat());
95 key2.getEncoded()))
    [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)
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
CollationKeyTest.java 34 CollationKey key2 = collator.getCollationKey("ABC"); local
35 assertEquals("Should be equal", 0, key1.compareTo(key2));
47 CollationKey key2 = collator.getCollationKey("ABC"); local
48 assertEquals("Should be equal", 0, key1.compareTo(key2));
58 CollationKey key2 = collator.getCollationKey("ABC"); local
59 assertTrue("Should be equal", key1.equals(key2));
81 CollationKey key2 = collator.getCollationKey("ABC"); local
82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode());
  /external/curl/tests/unit/
unit1603.c 53 char key2[] = "key2b"; variable
64 Curl_hash_str(key2, strlen(key2), slots) != 0 ||
75 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
77 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
78 fail_unless(nodep == key2, "hash retrieval failed");
94 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2))
    [all...]
unit1602.c 57 int key2 = 25; variable
73 nodep = Curl_hash_add(&hash_static, &key2, klen, value2);
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_SettingsTest.java 35 String key2 = "key 2"; local
38 Settings.setSetting(mContentResolver, "account", key2, value2);
40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2));
  /external/icu/icu4c/source/common/
uelement.h 72 * @param key2 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);
83 * @param key2 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) {
65 DSAPublicKey dsa2 = ((DSAPublicKey) key2);
72 && key2 instanceof DSAPrivateKey) {
74 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
  /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) {
66 DSAPublicKey dsa2 = ((DSAPublicKey) key2);
73 && key2 instanceof DSAPrivateKey) {
75 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
  /external/curl/packages/vms/
config_h.com 208 $ key2 = f$element(1," ",line_in)
210 $ if key2 .nes. " " .and. key2 .nes. "" then goto rtldef_loop1
230 $ key2 = f$element(1," ",line_in)
232 $ if key2 .nes. " " .and. key2 .nes. "" then goto stardef_loop1
277 $ key2 = f$element(1," ",xline)
278 $ key2a = f$element(0,"_",key2)
279 $ key2b = f$element(1,"_",key2)
280 $ key2_len = f$length(key2)
    [all...]
  /external/libchrome/crypto/
symmetric_key_unittest.cc 24 scoped_ptr<crypto::SymmetricKey> key2(
26 ASSERT_TRUE(NULL != key2.get());
28 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
40 scoped_ptr<crypto::SymmetricKey> key2(
42 ASSERT_TRUE(NULL != key2.get());
45 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
58 scoped_ptr<crypto::SymmetricKey> key2(
60 ASSERT_TRUE(NULL != key2.get());
63 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
  /external/selinux/libsepol/cil/src/
cil_symtab.c 152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4;
185 ckey->key2 == curr->ckey->key2 &&
192 ckey->key2 < curr->ckey->key2) {
197 ckey->key2 == curr->ckey->key2 &&
203 ckey->key2 == curr->ckey->key2 &&
233 ckey->key2 == curr->ckey->key2 &
    [all...]
  /external/selinux/libsepol/src/
symtab.c 31 hashtab_key_t key2)
36 keyp2 = (char *)key2;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 59 byte[] key2 = new byte[8];
60 System.arraycopy(keyMaster, 8, key2, 0, key2.length);
61 workingKey2 = generateWorkingKey(!encrypting, key2);
  /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/guava/guava-tests/test/com/google/common/cache/
CacheReferencesTest.java 92 Key key2 = new Key(2);
93 String value2 = key2.toString();
95 assertSame(value2, cache.getUnchecked(key2));
96 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
98 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
107 Key key2 = new Key(2);
108 String value2 = key2.toString();
110 assertSame(value2, cache.getUnchecked(key2));
113 assertTrue(cache.asMap().containsKey(key2));
115 assertEquals(ImmutableSet.of(key2), cache.asMap().keySet())
    [all...]
  /external/guice/core/test/com/google/inject/internal/
WeakKeySetTest.java 113 Key<Integer> key2 = Key.get(Integer.class); local
120 set.add(key2, state2, source2);
121 assertInSet(set, key2, 2, source1, source2);
124 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2);
128 Key<Integer> key = key1 = key2 = Key.get(Integer.class);
161 Key<Integer> key2 = Key.get(Integer.class); local
168 set.add(key2, state2, source2);
169 assertInSet(set, key2, 2, source1, source2);
172 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2);
174 Key<Integer> key = key1 = key2 = Key.get(Integer.class)
189 Key<Integer> key2 = Key.get(Integer.class); local
232 Key<Integer> key2 = Key.get(Integer.class); local
279 Key<Integer> key2 = Key.get(Integer.class); local
    [all...]
  /external/autotest/client/site_tests/login_OwnershipNotRetaken/
login_OwnershipNotRetaken.py 56 key2 = open(constants.OWNER_KEY_FILE, 'rb')
57 hash2 = hashlib.md5(key2.read())
58 key2.close()
  /external/skia/tests/
ImageFilterCacheTest.cpp 37 SkImageFilter::Cache::Key key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset());
48 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset));
63 SkImageFilter::Cache::Key key2(0, SkMatrix::MakeTrans(5, 5), clip1,
73 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset));
86 SkImageFilter::Cache::Key key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset());
96 cache->set(key2, image, offset);
98 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset));
111 SkImageFilter::Cache::Key key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset());
115 cache->set(key2, image, offset);
120 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset))
    [all...]
  /external/libdrm/amdgpu/
util_hash_table.h 56 int (*compare)(void *key1, void *key2));
  /external/v8/src/profiler/
strings-storage.h 37 static bool StringsMatch(void* key1, void* key2);
  /external/boringssl/src/decrepit/xts/
xts.c 60 void *key1, *key2; member in struct:xts128_context
78 (*ctx->block2)(tweak.c, tweak.c, ctx->key2);
202 xctx->xts.key2 = &xctx->ks2;
213 !xctx->xts.key2 ||
234 if (xctx->xts.key2) {
235 if (xctx->xts.key2 != &xctx->ks2) {
238 xctx_out->xts.key2 = &xctx_out->ks2;
244 /* key1 and key2 are used as an indicator both key and IV are set */
246 xctx->xts.key2 = NULL;
  /external/mesa3d/src/gallium/tests/unit/
u_cache_test.c 61 cache_test_compare(const void *key1, const void *key2) {
62 return !(key1 == key2);

Completed in 1164 milliseconds

1 2 3 4 5 6 7 8 91011>>