Lines Matching refs:number_as_unicode
332 UnicodeText number_as_unicode; in NormalizeHelper() local
333 number_as_unicode.PointToUTF8(number->data(), static_cast<int>(number->size())); in NormalizeHelper()
334 if (!number_as_unicode.UTF8WasValid()) { in NormalizeHelper()
341 for (UnicodeText::const_iterator it = number_as_unicode.begin(); in NormalizeHelper()
342 it != number_as_unicode.end(); in NormalizeHelper()
1013 UnicodeText number_as_unicode; in TrimUnwantedEndChars() local
1014 number_as_unicode.PointToUTF8(number->data(), static_cast<int>(number->size())); in TrimUnwantedEndChars()
1015 if (!number_as_unicode.UTF8WasValid()) { in TrimUnwantedEndChars()
1022 UnicodeText::const_reverse_iterator reverse_it(number_as_unicode.end()); in TrimUnwantedEndChars()
1023 for (; reverse_it.base() != number_as_unicode.begin(); ++reverse_it) { in TrimUnwantedEndChars()
1031 number->assign(UnicodeText::UTF8Substring(number_as_unicode.begin(), in TrimUnwantedEndChars()
2352 UnicodeText number_as_unicode; in ExtractPossibleNumber() local
2353 number_as_unicode.PointToUTF8(number.data(), static_cast<int>(number.size())); in ExtractPossibleNumber()
2354 if (!number_as_unicode.UTF8WasValid()) { in ExtractPossibleNumber()
2362 for (it = number_as_unicode.begin(); it != number_as_unicode.end(); ++it) { in ExtractPossibleNumber()
2370 if (it == number_as_unicode.end()) { in ExtractPossibleNumber()
2378 UnicodeText::UTF8Substring(it, number_as_unicode.end())); in ExtractPossibleNumber()