Lines Matching defs:map1
801 hash_map<int, char> map1;
802 map1[1] = 'a';
803 EXPECT_EQ("{ (1, 'a' (97, 0x61)) }", Print(map1));
807 hash_multimap<int, bool> map1;
808 map1.insert(make_pair(5, true));
809 map1.insert(make_pair(5, false));
812 const string result = Print(map1);
815 << " where Print(map1) returns \"" << result << "\".";
869 map<int, bool> map1;
870 map1[1] = true;
871 map1[5] = false;
872 map1[3] = true;
873 EXPECT_EQ("{ (1, true), (3, true), (5, false) }", Print(map1));
877 multimap<bool, int> map1;
878 map1.insert(make_pair(true, 0));
879 map1.insert(make_pair(true, 1));
880 map1.insert(make_pair(false, 2));
881 EXPECT_EQ("{ (false, 2), (true, 0), (true, 1) }", Print(map1));