Lines Matching defs:normalized_candidate
124 const string& normalized_candidate,
130 from_index = normalized_candidate.find(country_code) + country_code.size();
133 // groupings in the normalized_candidate string.
135 // Fails if the substring of normalized_candidate starting from from_index
137 from_index = normalized_candidate.find(formatted_number_groups.at(i),
144 if (i == 0 && from_index < normalized_candidate.length()) {
154 // Note although normalized_candidate might contain non-ASCII formatting
157 if (!ndd_prefix.empty() && isdigit(normalized_candidate.at(from_index))) {
164 return HasPrefixString(normalized_candidate.substr(
173 return normalized_candidate.substr(from_index)
708 string normalized_candidate =
712 if (checker->Run(phone_util_, phone_number, normalized_candidate,
742 if (checker->Run(phone_util_, phone_number, normalized_candidate,
837 const string& normalized_candidate,
840 reg_exps_->regexp_factory_->CreateInput(normalized_candidate));