Lines Matching defs:string
24 std::string GetLocaleString(const icu::Locale& locale) {
28 std::string result =
47 // Convert the ICU default locale to a string.
48 std::string GetConfiguredLocale() {
52 // Convert the ICU canonicalized locale to a string.
53 std::string GetCanonicalLocale(const char* locale) {
58 std::string ICULocaleName(const std::string& locale_string) {
70 std::string language = locale.getLanguage();
85 void SetICUDefaultLocale(const std::string& locale_string) {
132 const UChar* string = text.c_str();
138 U16_NEXT(string, next_position, length, character);
171 // Marking the string as LTR if the locale is RTL and the string does not
172 // contain strong RTL characters. Otherwise, mark the string as RTL.
187 // A problem can arise if we display a string which starts with user input.
189 // string will be displayed in the opposite directionality, e.g. if we want to
195 // directionality will be set to RTL and the string will be displayed visually
200 // In order to solve this issue, we prepend an LRM to the string. An LRM is a
246 const UChar* string = text.c_str();
252 U16_NEXT(string, next_position, length, character);
323 // string as a Left-To-Right string.