Lines Matching defs:string

21 std::string GetLocaleString(const icu::Locale& locale) {
26 std::string result =
35 std::string variant_str(variant);
71 // Convert the ICU default locale to a string.
72 std::string GetConfiguredLocale() {
76 // Convert the ICU canonicalized locale to a string.
77 std::string GetCanonicalLocale(const char* locale) {
82 std::string ICULocaleName(const std::string& locale_string) {
94 std::string language = locale.getLanguage();
109 void SetICUDefaultLocale(const std::string& locale_string) {
142 const UChar* string = text.c_str();
148 U16_NEXT(string, next_position, length, character);
158 const UChar* string = text.c_str();
163 U16_PREV(string, 0, prev_position, character);
173 const UChar* string = text.c_str();
181 U16_NEXT(string, next_position, length, character);
191 // Handle the case of a string not containing any strong directionality
204 // Marking the string as LTR if the locale is RTL and the string does not
205 // contain strong RTL characters. Otherwise, mark the string as RTL.
228 // A problem can arise if we display a string which starts with user input.
230 // string will be displayed in the opposite directionality, e.g. if we want to
236 // directionality will be set to RTL and the string will be displayed visually
241 // In order to solve this issue, we prepend an LRM to the string. An LRM is a
304 const UChar* string = text.c_str();
310 U16_NEXT(string, next_position, length, character);
351 // string as a Left-To-Right string.
367 // Always wrap the string in RTL UI (it may be appended to RTL string).