Lines Matching refs:index
151 // Asserts that another number can be found in "text" starting at "index", and
153 void AssertEqualRange(const string& text, int index, int start, int end) {
154 string sub = text.substr(index);
161 EXPECT_EQ(start - index, match.start());
162 EXPECT_EQ(end - index, match.end());
314 // Exhaustively searches for phone numbers from each index within "text" to
318 for (size_t index = 0; index <= text.length(); ++index) {
319 string sub = text.substr(index);