Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/ADT/
DStringMapTest.cpp22 static const char testKey[]; member in __anon9ec82ee00111::StringMapTest
37 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
40 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
54 EXPECT_STREQ(testKey, it->first().data()); in assertSingleItemMap()
60 EXPECT_EQ(1u, testMap.count(testKey)); in assertSingleItemMap()
63 EXPECT_TRUE(testMap.find(testKey) == testMap.begin()); in assertSingleItemMap()
70 const char StringMapTest::testKey[] = "key"; member in __anon9ec82ee00111::StringMapTest
72 const char* StringMapTest::testKeyFirst = testKey;
73 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
74 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/llvm/unittests/ADT/
DStringMapTest.cpp24 static const char testKey[]; member in __anon0d4272340111::StringMapTest
39 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
42 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
56 EXPECT_STREQ(testKey, it->first().data()); in assertSingleItemMap()
62 EXPECT_EQ(1u, testMap.count(testKey)); in assertSingleItemMap()
65 EXPECT_TRUE(testMap.find(testKey) == testMap.begin()); in assertSingleItemMap()
72 const char StringMapTest::testKey[] = "key"; member in __anon0d4272340111::StringMapTest
74 const char* StringMapTest::testKeyFirst = testKey;
75 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
76 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringMapTest.cpp26 static const char testKey[]; member in __anonca26aa8c0111::StringMapTest
41 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
44 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
58 EXPECT_STREQ(testKey, it->first().data()); in assertSingleItemMap()
64 EXPECT_EQ(1u, testMap.count(testKey)); in assertSingleItemMap()
67 EXPECT_TRUE(testMap.find(testKey) == testMap.begin()); in assertSingleItemMap()
74 const char StringMapTest::testKey[] = "key"; member in __anonca26aa8c0111::StringMapTest
76 const char* StringMapTest::testKeyFirst = testKey;
77 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
78 const std::string StringMapTest::testKeyStr(testKey);
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeySimplifier.java326 ModifierKey testKey = allKeys.iterator().next(); in keysAreRelated() local
328 allKeys.remove(testKey); in keysAreRelated()
329 allKeys.remove(testKey.parent()); in keysAreRelated()
330 allKeys.remove(testKey.sibling()); in keysAreRelated()
331 allKeys.removeAll(testKey.children()); in keysAreRelated()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedPreferencesTest.java186 final String testKey = "foo"; in shouldTriggerRegisteredListeners() local
197 anotherSharedPreferences.edit().putString(testKey, "bar").commit(); in shouldTriggerRegisteredListeners()
199 assertThat(transcript).containsExactly(testKey+ " called"); in shouldTriggerRegisteredListeners()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java1271 CollationKey testKey[] = new CollationKey[testStr.length];
1273 testKey[i] = coll.getCollationKey(testStr[i]);
1276 Arrays.sort(testKey);
1277 for(int i = 0; i < testKey.length - 1; i ++) {
1279 = testKey[i].getBound(CollationKey.BoundMode.LOWER,
1281 for (int j = i + 1; j < testKey.length; j ++) {
1283 = testKey[j].getBound(CollationKey.BoundMode.UPPER,
1286 if (lower.compareTo(testKey[k]) > 0) {
1290 if (upper.compareTo(testKey[k]) <= 0) {
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java1268 CollationKey testKey[] = new CollationKey[testStr.length];
1270 testKey[i] = coll.getCollationKey(testStr[i]);
1273 Arrays.sort(testKey);
1274 for(int i = 0; i < testKey.length - 1; i ++) {
1276 = testKey[i].getBound(CollationKey.BoundMode.LOWER,
1278 for (int j = i + 1; j < testKey.length; j ++) {
1280 = testKey[j].getBound(CollationKey.BoundMode.UPPER,
1283 if (lower.compareTo(testKey[k]) > 0) {
1287 if (upper.compareTo(testKey[k]) <= 0) {
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DClientCallImplTest.java501 final Context.Key<String> testKey = Context.key("testing"); in callerContextPropagatedToListener() local
502 Context context = Context.current().withValue(testKey, "testValue"); in callerContextPropagatedToListener()
518 context = Context.current().withValue(testKey, "badValue"); in callerContextPropagatedToListener()
553 if (!"testValue".equals(testKey.get())) { in callerContextPropagatedToListener()
DManagedChannelImplTest.java1394 final Context.Key<String> testKey = Context.key("testing"); in informationPropagatedToNewStreamAndCallCredentials() local
1395 Context ctx = Context.current().withValue(testKey, "testValue"); in informationPropagatedToNewStreamAndCallCredentials()
1412 assertEquals("testValue", testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
1415 assertNull(testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
1450 assertEquals("testValue", testKey.get(credsApplyContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1460 assertEquals("testValue", testKey.get(newStreamContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1462 assertNull(testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
1473 assertEquals("testValue", testKey.get(credsApplyContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1484 assertEquals("testValue", testKey.get(newStreamContexts.poll())); in informationPropagatedToNewStreamAndCallCredentials()
1486 assertNull(testKey.get()); in informationPropagatedToNewStreamAndCallCredentials()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java4556 byte[] testKey = "0123456789012345".getBytes(StandardCharsets.US_ASCII); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4560 encCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4568 cipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java4558 byte[] testKey = "0123456789012345".getBytes(StandardCharsets.US_ASCII); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4562 encCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
4570 cipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(testKey, "AES")); in testDecryptBufferMultipleBlockSize_mustNotThrowException()
/external/python/pyasn1/tests/type/
Dtest_univ.py87 def testKey(self): member in NoValueTestCase