Home
last modified time | relevance | path

Searched full:key2 (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/curl/packages/vms/
Dconfig_h.com208 $ 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)
281 $ key2_h = f$extract(key2_len - 2, 2, key2)
282 $ key2_t = f$extract(key2_len - 5, 5, key2)
[all …]
/external/vboot_reference/tests/
Dvb21_common2_tests.c28 struct vb2_packed_key *key2; in test_unpack_key() local
32 key2 = (struct vb2_packed_key *)malloc(size); in test_unpack_key()
34 memcpy(key2, key, size); in test_unpack_key()
35 TEST_SUCC(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
38 memcpy(key2, key, size); in test_unpack_key()
39 key2->key_offset += 4; in test_unpack_key()
40 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
44 memcpy(key2, key, size); in test_unpack_key()
45 key2->c.fixed_size += size; in test_unpack_key()
46 TEST_EQ(vb2_unpack_key(&pubk, (uint8_t *)key2, size), in test_unpack_key()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_ec2object.py59 taggedEC2Object.add_tags({"key1": "value1", "key2": "value2"})
66 'Tag.2.Key': 'key2',
75 "key2": "value2"})
89 taggedEC2Object.tags["key2"] = "value2"
102 self.assertEqual(taggedEC2Object.tags, {"key2": "value2"})
109 taggedEC2Object.tags["key2"] = "value2"
121 self.assertEqual(taggedEC2Object.tags, {"key2": "value2"})
128 taggedEC2Object.tags["key2"] = "value2"
142 {"key1": "value1", "key2": "value2"})
149 taggedEC2Object.tags["key2"] = "value2"
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DDoubleKeyMap.java9 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) { in put()
13 Map<Key2, Value> data2 = data.get(k1); in put()
16 data2 = new LinkedHashMap<Key2, Value>(); in put()
26 public Value get(Key1 k1, Key2 k2) { in get()
27 Map<Key2, Value> data2 = data.get(k1); in get()
32 public Map<Key2, Value> get(Key1 k1) { return data.get(k1); } in get()
36 Map<Key2, Value> data2 = data.get(k1); in values()
47 public Set<Key2> keySet(Key1 k1) { in keySet()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_symtab.c152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; in cil_complex_symtab_hash()
185 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
192 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_insert()
197 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
203 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
233 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
241 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_search()
246 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
252 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_search()
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java113 Key<Integer> key2 = Key.get(Integer.class); in testEviction_keyOverlap_2x() local
120 set.add(key2, state2, source2); in testEviction_keyOverlap_2x()
121 assertInSet(set, key2, 2, source1, source2); in testEviction_keyOverlap_2x()
124 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2); in testEviction_keyOverlap_2x()
128 Key<Integer> key = key1 = key2 = Key.get(Integer.class); in testEviction_keyOverlap_2x()
161 Key<Integer> key2 = Key.get(Integer.class); in testNoEviction_keyOverlap_2x() local
168 set.add(key2, state2, source2); in testNoEviction_keyOverlap_2x()
169 assertInSet(set, key2, 2, source1, source2); in testNoEviction_keyOverlap_2x()
172 WeakReference<Key<Integer>> weakKey2Ref = new WeakReference<Key<Integer>>(key2); in testNoEviction_keyOverlap_2x()
174 Key<Integer> key = key1 = key2 = Key.get(Integer.class); in testNoEviction_keyOverlap_2x()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
DKeyPairTest.java77 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()));
/external/guava/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java92 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/skia/tests/
DImageFilterCacheTest.cpp37 SkImageFilter::Cache::Key key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing() local
48 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); in test_find_existing()
63 SkImageFilter::Cache::Key key2(0, SkMatrix::MakeTrans(5, 5), clip1, in test_dont_find_if_diff_key() local
73 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); in test_dont_find_if_diff_key()
86 SkImageFilter::Cache::Key key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge() local
96 cache->set(key2, image, offset); in test_internal_purge()
98 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset)); in test_internal_purge()
111 SkImageFilter::Cache::Key key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset()); in test_explicit_purging() local
115 cache->set(key2, image, offset); in test_explicit_purging()
120 REPORTER_ASSERT(reporter, cache->get(key2, &foundOffset)); in test_explicit_purging()
[all …]
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc24 scoped_ptr<crypto::SymmetricKey> key2( in TEST() local
26 ASSERT_TRUE(NULL != key2.get()); in TEST()
28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
40 scoped_ptr<crypto::SymmetricKey> key2( in TEST() local
42 ASSERT_TRUE(NULL != key2.get()); in TEST()
45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
58 scoped_ptr<crypto::SymmetricKey> key2( in TEST() local
60 ASSERT_TRUE(NULL != key2.get()); in TEST()
63 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
/external/libchrome/base/strings/
Dstring_split_unittest.cc33 EXPECT_FALSE(SplitStringIntoKeyValuePairs("key1,key2:value2", in TEST_F()
40 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
45 EXPECT_TRUE(SplitStringIntoKeyValuePairs(":value1,key2:value2", in TEST_F()
52 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
57 EXPECT_TRUE(SplitStringIntoKeyValuePairs(",key1:value1,key2:value2,", in TEST_F()
64 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
81 EXPECT_FALSE(SplitStringIntoKeyValuePairs("key1:,key2:value2", in TEST_F()
88 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
103 EXPECT_TRUE(SplitStringIntoKeyValuePairs("key1:value1 , key2:value2", in TEST_F()
110 EXPECT_EQ("key2", kv_pairs[1].first); in TEST_F()
[all …]
/external/icu/icu4c/source/common/
Duelement.h72 * @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/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph_tests/
Dtest_dot.py90 dot.style(key2='value2')
91 self.assertEqual(dot.attr, {'key2': 'value2'})
113 dot.node_style(1, key2='value2')
114 self.assertEqual(dot.nodes[1], {'key2': 'value2'})
173 dot.node_style(2, key='another', key2='world')
174 dot.edge_style(1,4, key1='value1', key2='value2')
204 'key2="world",',
227 'key2="value2",',
264 dot.node_style(2, key='another', key2='world')
265 dot.edge_style(1,4, key1='value1', key2='value2')
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java39 private static final String KEY2 = "key2"; field in InvocationRecordTest
87 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
156 invocationRecord.set(KEY2, STRING); in testKeySet()
158 set.add(KEY2); in testKeySet()
198 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java39 private static final String KEY2 = "key2"; field in InvocationRecordTest
87 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
156 invocationRecord.set(KEY2, STRING); in testKeySet()
158 set.add(KEY2); in testKeySet()
198 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java39 private static final String KEY2 = "key2"; field in InvocationRecordTest
87 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
156 invocationRecord.set(KEY2, STRING); in testKeySet()
158 set.add(KEY2); in testKeySet()
198 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java38 private static final String KEY2 = "key2"; field in InvocationRecordTest
86 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
155 invocationRecord.set(KEY2, STRING); in testKeySet()
157 set.add(KEY2); in testKeySet()
197 invocationRecord.set(KEY2, "abc"); in testLock()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java41 private static final String KEY2 = "key2"; field in InvocationRecordTest
89 assertFalse(KEY2, invocationRecord.containsKey(KEY2)); in testContainsKey()
158 invocationRecord.set(KEY2, STRING); in testKeySet()
160 set.add(KEY2); in testKeySet()
200 invocationRecord.set(KEY2, "abc"); in testLock()

12345678910>>...13