• Home
  • Raw
  • Download

Lines Matching refs:interner

26   Interner<std::string> interner;  in TEST()  local
28 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
31 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
35 Interner<std::string> interner; in TEST() local
37 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
38 Interned<std::string> other_interned_str = interner.Intern("bar"); in TEST()
42 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
46 Interner<std::string> interner; in TEST() local
48 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
50 Interned<std::string> interned_str2 = interner.Intern("foo"); in TEST()
51 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
54 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
58 Interner<std::string> interner; in TEST() local
60 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
63 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
66 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
71 Interner<std::string> interner; in TEST() local
73 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
76 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
79 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
85 Interner<std::string> interner; in TEST() local
87 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
90 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
93 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
98 Interner<std::string> interner; in TEST() local
100 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
103 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
106 ASSERT_EQ(interner.entry_count_for_testing(), 1u); in TEST()
112 Interner<std::string> interner; in TEST() local
113 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
114 Interned<std::string> same_interned_str = interner.Intern("foo"); in TEST()
115 Interned<std::string> other_interned_str = interner.Intern("bar"); in TEST()
121 Interner<std::string> interner; in TEST() local
123 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
124 interner.Intern("foo"); in TEST()
125 Interned<std::string> other_interned_str = interner.Intern("bar"); in TEST()
128 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()