• Home
  • Raw
  • Download

Lines Matching refs:iter

102   UnicodeText::const_iterator iter = text_.begin();  in TEST_F()  local
103 EXPECT_EQ(0x1C0, *iter); in TEST_F()
104 EXPECT_EQ(&iter, &++iter); // operator++ returns *this. in TEST_F()
105 EXPECT_EQ(0x4E8C, *iter++); in TEST_F()
106 EXPECT_EQ(0xD7DB, *iter); in TEST_F()
108 EXPECT_EQ(0xD7DB, *iter); in TEST_F()
109 EXPECT_EQ(0x34, *++iter); in TEST_F()
110 EXPECT_EQ(0x1D11E, *++iter); in TEST_F()
111 ASSERT_TRUE(iter != text_.end()); in TEST_F()
112 iter++; in TEST_F()
113 EXPECT_TRUE(iter == text_.end()); in TEST_F()
130 UnicodeText::const_iterator iter = text_.end(); in TEST_F() local
131 EXPECT_TRUE(iter == text_.end()); in TEST_F()
132 iter--; in TEST_F()
133 ASSERT_TRUE(iter != text_.end()); in TEST_F()
134 EXPECT_EQ(0x1D11E, *iter--); in TEST_F()
135 EXPECT_EQ(0x34, *iter); in TEST_F()
136 EXPECT_EQ(0xD7DB, *--iter); in TEST_F()
138 EXPECT_EQ(0xD7DB, *iter); in TEST_F()
139 --iter; in TEST_F()
140 EXPECT_EQ(0x4E8C, *iter--); in TEST_F()
141 EXPECT_EQ(0x1C0, *iter); in TEST_F()
142 EXPECT_TRUE(iter == text_.begin()); in TEST_F()
158 UnicodeText::const_iterator iter = text_.begin(); in TEST_F() local
159 EXPECT_EQ(0x1C0, *iter); in TEST_F()
160 std::advance(iter, 4); in TEST_F()
161 EXPECT_EQ(0x1D11E, *iter); in TEST_F()
162 ++iter; in TEST_F()
163 EXPECT_TRUE(iter == text_.end()); in TEST_F()
167 UnicodeText::const_iterator iter = text_.begin(); in TEST_F() local
168 EXPECT_EQ(0, std::distance(text_.begin(), iter)); in TEST_F()
169 EXPECT_EQ(5, std::distance(iter, text_.end())); in TEST_F()
170 ++iter; in TEST_F()
171 ++iter; in TEST_F()
172 EXPECT_EQ(2, std::distance(text_.begin(), iter)); in TEST_F()
173 EXPECT_EQ(3, std::distance(iter, text_.end())); in TEST_F()
174 ++iter; in TEST_F()
175 ++iter; in TEST_F()
176 EXPECT_EQ(4, std::distance(text_.begin(), iter)); in TEST_F()
177 ++iter; in TEST_F()
178 EXPECT_EQ(0, std::distance(iter, text_.end())); in TEST_F()