HomeSort by relevance Sort by last modified time
    Searched refs:key2 (Results 1 - 25 of 493) 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...]
  /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/
Contacts_SettingsTest.java 35 String key2 = "key 2"; local
38 Settings.setSetting(mContentResolver, "account", key2, value2);
40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2));
  /frameworks/support/collection/src/test/java/androidx/collection/
LongSparseArrayTest.java 39 long key1 = 1L, key2 = 2L; local
43 LongSparseArray.append(key2, value2);
49 LongSparseArray.remove(key2);
SparseArrayCompatTest.java 39 int key1 = 1, key2 = 2; local
43 sparseArrayCompat.append(key2, value2);
49 sparseArrayCompat.remove(key2);
  /external/perfetto/src/traced/probes/filesystem/
lru_inode_cache_unittest.cc 34 const std::pair<BlockDeviceID, Inode> key2{0, 1};
56 cache.Insert(key2, val2());
58 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2())));
66 cache.Insert(key2, val2());
68 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2())));
72 EXPECT_THAT(cache.Get(key2), Pointee(Eq(val2())));
  /external/icu/icu4c/source/common/
uelement.h 74 * @param key2 The string for comparison
75 * @return true if key1 and key2 are equal, return false otherwise.
78 uhash_compareUnicodeString(const UElement key1, const UElement key2);
85 * @param key2 The string for comparison
86 * @return true if key1 and key2 are equal, return false otherwise.
89 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
  /external/annotation-tools/asmx/src/org/objectweb/asm/optimizer/
ConstantPool.java 45 private Constant key2 = new Constant(); field in class:ConstantPool
100 key2.set('S', value, null, null);
101 Constant result = get(key2);
104 result = new Constant(key2);
111 key2.set('C', value, null, null);
112 Constant result = get(key2);
115 result = new Constant(key2);
180 key2.set('T', name, desc, null);
181 Constant result = get(key2);
185 result = new Constant(key2);
    [all...]
  /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 std::unique_ptr<crypto::SymmetricKey> key2(
26 ASSERT_TRUE(key2);
28 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
40 std::unique_ptr<crypto::SymmetricKey> key2(
42 ASSERT_TRUE(key2);
45 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
58 std::unique_ptr<crypto::SymmetricKey> key2(
60 ASSERT_TRUE(key2);
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 const_hashtab_key_t key2)
33 return strcmp(key1, 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),
  /external/ltp/testcases/kernel/syscalls/request_key/
request_key02.c 39 static int key2; variable
48 {"ltp2", EKEYREVOKED, &key2},
101 key2 = init_key("ltp2", KEYCTL_REVOKE);
  /device/google/contexthub/firmware/os/inc/
bl.h 54 bool (*blProgramShared)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2);
55 bool (*blEraseShared)(uint32_t key1, uint32_t key2);
56 bool (*blProgramEe)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2);
91 bool blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask, uint32_t key1, uint32_t key2);
92 bool blPlatProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t 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/boringssl/src/fipstools/
cavp_tdes_test.cc 89 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; local
97 !t->GetBytes(&key2, "KEY2") ||
107 key.insert(key.end(), key2.begin(), key2.end());
138 EncodeHex(key2.data(), key2.size()).c_str(),
212 std::vector<uint8_t> key1, key2, key3, iv, in, result; local
217 !t->GetBytes(&key2, "KEY2") ||
    [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 63 key2 = open(constants.OWNER_KEY_FILE, 'rb')
64 hash2 = hashlib.md5(key2.read())
65 key2.close()
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_screen.c 46 static int vmw_dev_compare(void *key1, void *key2)
48 return (major(*(dev_t *)key1) == major(*(dev_t *)key2) &&
49 minor(*(dev_t *)key1) == minor(*(dev_t *)key2)) ? 0 : 1;
  /frameworks/support/work/workmanager/src/test/java/androidx/work/
OverwritingInputMergerTest.java 53 String key2 = "key2"; local
60 .putString(key2, value2)
71 assertThat(output.getString(key2, null), is(value2));

Completed in 783 milliseconds

1 2 3 4 5 6 7 8 91011>>