Home | History | Annotate | Download | only in phonenumbers

Lines Matching refs:from_index

122   size_t from_index = 0;
126 // Fails if the substring of normalized_candidate starting from from_index
128 from_index = normalized_candidate.find(formatted_number_groups.at(i),
129 from_index);
130 if (from_index == string::npos) {
133 // Moves from_index forward.
134 from_index += formatted_number_groups.at(i).length();
135 if (i == 0 && from_index < normalized_candidate.length()) {
148 if (!ndd_prefix.empty() && isdigit(normalized_candidate.at(from_index))) {
157 from_index - formatted_number_groups.at(i).length()),
165 return normalized_candidate.substr(from_index)