Home | History | Annotate | Download | only in i18n

Lines Matching defs:string

25 std::string GetLocaleString(const icu::Locale& locale) {
30 std::string result =
39 std::string variant_str(variant);
75 // Convert the ICU default locale to a string.
76 std::string GetConfiguredLocale() {
80 // Convert the ICU canonicalized locale to a string.
81 std::string GetCanonicalLocale(const char* locale) {
86 std::string ICULocaleName(const std::string& locale_string) {
98 std::string language = locale.getLanguage();
113 void SetICUDefaultLocale(const std::string& locale_string) {
151 const UChar* string = text.c_str();
157 U16_NEXT(string, next_position, length, character);
167 const UChar* string = text.c_str();
175 U16_NEXT(string, next_position, length, character);
185 // Handle the case of a string not containing any strong directionality
198 // Marking the string as LTR if the locale is RTL and the string does not
199 // contain strong RTL characters. Otherwise, mark the string as RTL.
222 // A problem can arise if we display a string which starts with user input.
224 // string will be displayed in the opposite directionality, e.g. if we want to
230 // directionality will be set to RTL and the string will be displayed visually
235 // In order to solve this issue, we prepend an LRM to the string. An LRM is a
295 const UChar* string = text.c_str();
301 U16_NEXT(string, next_position, length, character);
340 // string as a Left-To-Right string.
356 // Always wrap the string in RTL UI (it may be appended to RTL string).