Searched refs:number_as_unicode (Results 1 – 4 of 4) sorted by relevance
28 UnicodeText number_as_unicode; in NormalizeDecimalDigits() local29 number_as_unicode.PointToUTF8(number.data(), static_cast<int>(number.size())); in NormalizeDecimalDigits()30 if (!number_as_unicode.UTF8WasValid()) in NormalizeDecimalDigits()32 for (UnicodeText::const_iterator it = number_as_unicode.begin(); in NormalizeDecimalDigits()33 it != number_as_unicode.end(); in NormalizeDecimalDigits()
332 UnicodeText number_as_unicode; in NormalizeHelper() local333 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() local1014 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()[all …]
444 UnicodeText number_as_unicode; in IsInputUtf8() local445 number_as_unicode.PointToUTF8(text_.c_str(), text_.size()); in IsInputUtf8()446 return number_as_unicode.UTF8WasValid(); in IsInputUtf8()
37 UnicodeText number_as_unicode; in TEST() local38 number_as_unicode.PointToUTF8(number.data(), number.size()); in TEST()39 EXPECT_TRUE(number_as_unicode.UTF8WasValid()); in TEST()40 UnicodeText::const_iterator it = number_as_unicode.begin(); in TEST()