Home
last modified time | relevance | path

Searched refs:testMap (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/ADT/
DStringMapTest.cpp20 StringMap<uint32_t> testMap; member in __anon9ec82ee00111::StringMapTest
30 EXPECT_EQ(0u, testMap.size()); in assertEmptyMap()
31 EXPECT_TRUE(testMap.empty()); in assertEmptyMap()
34 EXPECT_TRUE(testMap.begin() == testMap.end()); in assertEmptyMap()
37 EXPECT_EQ(0u, testMap.count(testKey)); in assertEmptyMap()
38 EXPECT_EQ(0u, testMap.count(StringRef(testKeyFirst, testKeyLength))); in assertEmptyMap()
39 EXPECT_EQ(0u, testMap.count(testKeyStr)); in assertEmptyMap()
40 EXPECT_TRUE(testMap.find(testKey) == testMap.end()); in assertEmptyMap()
41 EXPECT_TRUE(testMap.find(StringRef(testKeyFirst, testKeyLength)) == in assertEmptyMap()
42 testMap.end()); in assertEmptyMap()
[all …]
/external/llvm/unittests/ADT/
DStringMapTest.cpp22 StringMap<uint32_t> testMap; member in __anon0d4272340111::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/
DStringMapTest.cpp24 StringMap<uint32_t> testMap; member in __anonca26aa8c0111::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/
Diterator_types.pass.cpp20 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/
DTrieMapTest.java167 …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/
DTrieMapTest.java164 …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/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java4162 TestMap testMap = new TestMap(); in testMapMergeEmptyEntry() local
4175 testMap.mergeFrom(input); in testMapMergeEmptyEntry()
4176 assertNotNull(testMap.int32ToInt32Field);; in testMapMergeEmptyEntry()
4177 assertEquals(1, testMap.int32ToInt32Field.size()); in testMapMergeEmptyEntry()
4178 assertEquals(Integer.valueOf(0), testMap.int32ToInt32Field.get(0)); in testMapMergeEmptyEntry()
4179 assertNotNull(testMap.int32ToMessageField); in testMapMergeEmptyEntry()
4180 assertEquals(1, testMap.int32ToMessageField.size()); in testMapMergeEmptyEntry()
4181 TestMap.MessageValue messageValue = testMap.int32ToMessageField.get(0); in testMapMergeEmptyEntry()
4357 private void setMapMessage(TestMap testMap) { in setMapMessage() argument
4358 testMap.int32ToInt32Field = new HashMap<Integer, Integer>(); in setMapMessage()
[all …]
/external/guava/guava-gwt/test/com/google/common/base/
DJoinerTest_gwt.java26 public void testMap() throws Exception { in testMap() method in JoinerTest_gwt
28 testCase.testMap(); in testMap()
/external/boringssl/src/crypto/cipher_extra/test/nist_cavp/
Dmake_cavp.go210 var testMap = map[string]Test{ var
277 test, ok := testMap[*cipher]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue143/
DGenericMapTest.java25 public void testMap() throws Exception { in testMap() method in GenericMapTest
/external/snakeyaml/src/test/java/examples/
DCustomMapExampleTest.java27 public void testMap() { in testMap() method in CustomMapExampleTest
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DMapTagTest.java28 public void testMap() { in testMap() method in MapTagTest
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.cpp70 void testMap(Map &m, int i) { in testMap() function
/external/tensorflow/tensorflow/compiler/tests/
Dwhile_test.py229 def testMap(self): member in WhileTest
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DJoinerTest.java238 public void testMap() { in testMap() method in JoinerTest
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java240 public void testMap() { in testMap() method in JoinerTest
/external/tensorflow/tensorflow/python/grappler/
Ddatasets_test.py366 def testMap(self): member in GrapplerTest
/external/guava/guava-tests/test/com/google/common/io/
DFilesTest.java585 public void testMap() throws IOException { in testMap() method in FilesTest
/external/u-boot/tools/binman/
Dftest.py943 def testMap(self): member in TestFunctional
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java420 public void testMap() { in testMap() method in FreshValueGeneratorTest