/external/llvm/unittests/ADT/ |
D | StringMapTest.cpp | 22 StringMap<uint32_t> testMap; member in __anon884106b60111::StringMapTest 32 EXPECT_EQ(0u, testMap.size()); in assertEmptyMap() 33 EXPECT_TRUE(testMap.empty()); in assertEmptyMap() 36 EXPECT_TRUE(testMap.begin() == testMap.end()); in assertEmptyMap() 39 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap() 40 EXPECT_EQ(0u, testMap.count(StringRef(testKeyFirst, testKeyLength))); in assertEmptyMap() 41 EXPECT_EQ(0u, testMap.count(testKeyStr)); in assertEmptyMap() 42 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap() 43 EXPECT_TRUE(testMap.find(StringRef(testKeyFirst, testKeyLength)) == in assertEmptyMap() 44 testMap.end()); in assertEmptyMap() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | StringMapTest.cpp | 24 StringMap<uint32_t> testMap; member in __anon8cca574e0111::StringMapTest 34 EXPECT_EQ(0u, testMap.size()); in assertEmptyMap() 35 EXPECT_TRUE(testMap.empty()); in assertEmptyMap() 38 EXPECT_TRUE(testMap.begin() == testMap.end()); in assertEmptyMap() 41 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap() 42 EXPECT_EQ(0u, testMap.count(StringRef(testKeyFirst, testKeyLength))); in assertEmptyMap() 43 EXPECT_EQ(0u, testMap.count(testKeyStr)); in assertEmptyMap() 44 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap() 45 EXPECT_TRUE(testMap.find(StringRef(testKeyFirst, testKeyLength)) == in assertEmptyMap() 46 testMap.end()); in assertEmptyMap() [all …]
|
/external/libcxx/test/std/containers/associative/ |
D | iterator_types.pass.cpp | 20 void testMap() { in testMap() function 58 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main() 64 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main() 71 testMap<Map, ValueTp, min_pointer<ValueTp>, min_pointer<const ValueTp>>(); in main() 77 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main() 83 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main() 90 testMap<Map, ValueTp, min_pointer<ValueTp>, min_pointer<const ValueTp>>(); in main()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TrieMapTest.java | 167 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration() argument 168 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration() 169 TreeMap<String,Integer> expected = new TreeMap<String, Integer>(testMap); in timeIteration() 174 …= comparisonTime == 0 ? new TreeMap<String, Integer>(testMap) : new HashMap<String, Integer>(testM… in timeIteration() 188 …logln("\titeration time\tTREEMAP\tn/a\t" + t.toString(testMap.size()) + "\t\titerations=" + t.getI… in timeIteration() 190 …logln("\titeration time\tHASHMAP\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerati… in timeIteration() 205 …logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\ti… in timeIteration() 220 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents() argument 221 if (testMap.size() == 0) { in checkContents() 224 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in checkContents() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMapTest.java | 164 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration() argument 165 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration() 166 TreeMap<String,Integer> expected = new TreeMap<String, Integer>(testMap); in timeIteration() 171 …= comparisonTime == 0 ? new TreeMap<String, Integer>(testMap) : new HashMap<String, Integer>(testM… in timeIteration() 185 …logln("\titeration time\tTREEMAP\tn/a\t" + t.toString(testMap.size()) + "\t\titerations=" + t.getI… in timeIteration() 187 …logln("\titeration time\tHASHMAP\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerati… in timeIteration() 202 …logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\ti… in timeIteration() 217 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents() argument 218 if (testMap.size() == 0) { in checkContents() 221 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in checkContents() [all …]
|
/external/scudo/standalone/tests/ |
D | bytemap_test.cpp | 16 template <typename T> void testMap(T &Map, scudo::uptr Size) { in testMap() function 31 testMap(Map, Size); in TEST()
|
/external/guava/guava-gwt/test/com/google/common/collect/ |
D | CollectSpliteratorsTest_gwt.java | 26 public void testMap() throws Exception { in testMap() method in CollectSpliteratorsTest_gwt 28 testCase.testMap(); in testMap()
|
/external/guava/guava-gwt/test/com/google/common/base/ |
D | JoinerTest_gwt.java | 26 public void testMap() throws Exception { in testMap() method in JoinerTest_gwt 28 testCase.testMap(); in testMap()
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 4161 TestMap testMap = new TestMap(); in testMapMergeEmptyEntry() local 4174 testMap.mergeFrom(input); in testMapMergeEmptyEntry() 4175 assertNotNull(testMap.int32ToInt32Field);; in testMapMergeEmptyEntry() 4176 assertEquals(1, testMap.int32ToInt32Field.size()); in testMapMergeEmptyEntry() 4177 assertEquals(Integer.valueOf(0), testMap.int32ToInt32Field.get(0)); in testMapMergeEmptyEntry() 4178 assertNotNull(testMap.int32ToMessageField); in testMapMergeEmptyEntry() 4179 assertEquals(1, testMap.int32ToMessageField.size()); in testMapMergeEmptyEntry() 4180 TestMap.MessageValue messageValue = testMap.int32ToMessageField.get(0); in testMapMergeEmptyEntry() 4356 private void setMapMessage(TestMap testMap) { in setMapMessage() argument 4357 testMap.int32ToInt32Field = new HashMap<Integer, Integer>(); in setMapMessage() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue143/ |
D | GenericMapTest.java | 25 public void testMap() throws Exception { in testMap() method in GenericMapTest
|
/external/snakeyaml/src/test/java/examples/ |
D | CustomMapExampleTest.java | 27 public void testMap() { in testMap() method in CustomMapExampleTest
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/ |
D | MapTest.kt | 13 fun testMap() = runTest { in <lambda>() method
|
D | MapNotNullTest.kt | 13 fun testMap() = runTest { in <lambda>() method in kotlinx.coroutines.flow.MapNotNullTest
|
/external/boringssl/src/crypto/cipher_extra/test/nist_cavp/ |
D | make_cavp.go | 210 var testMap = map[string]Test{ var 277 test, ok := testMap[*cipher]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | CollectSpliteratorsTest.java | 30 public void testMap() { in testMap() method in CollectSpliteratorsTest
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | MapTagTest.java | 28 public void testMap() { in testMap() method in MapTagTest
|
/external/clang/test/Analysis/inlining/ |
D | false-positive-suppression.cpp | 70 void testMap(Map &m, int i) { in testMap() function
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | replicate_cluster_test.py | 74 def testMap(self): member in ReplicateClusterTest
|
D | replicate_test.py | 251 def testMap(self): member in RemoteReplicateTest
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | memory_cleanup_test.py | 174 def testMap(self, num_parallel_calls): member in MemoryCleanupTest
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | while_test.py | 230 def testMap(self): member in WhileTest
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | JoinerTest.java | 241 public void testMap() { in testMap() method in JoinerTest
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | JoinerTest.java | 241 public void testMap() { in testMap() method in JoinerTest
|
/external/tensorflow/tensorflow/python/grappler/ |
D | datasets_test.py | 367 def testMap(self): member in GrapplerTest
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | FreshValueGeneratorTest.java | 337 public void testMap() { in testMap() method in FreshValueGeneratorTest
|