Lines Matching refs:string
8 #include <string>
40 BASE_I18N_EXPORT std::string GetConfiguredLocale();
42 // Canonicalize a string (eg. a POSIX locale string) to a Chrome locale name.
43 BASE_I18N_EXPORT std::string GetCanonicalLocale(const std::string& locale);
52 BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string);
73 // Given the string in |text|, returns the directionality of the first or last
74 // character with strong directionality in the string. If no character in the
84 // Given the string in |text|, returns LEFT_TO_RIGHT or RIGHT_TO_LEFT if all the
85 // strong directionality characters in the string are of the same
86 // directionality. It returns UNKNOWN_DIRECTION if the string contains a mix of
88 // the string does not contain directionality characters. Please refer to
92 // Given the string in |text|, this function modifies the string in place with
93 // the appropriate Unicode formatting marks that mark the string direction
95 // locale and the contents of the string in order to determine the direction of
96 // the returned string. The function returns true if the string in |text| was
100 // example, the string "Foo!" will appear as "!Foo" if it is rendered as is in
102 // string is always treated as a right-to-left string. This is done by
103 // inserting certain Unicode formatting marks into the returned string.
106 // TODO(idana) bug 6806: this function adjusts the string in question only
108 // the opposite case (an RTL string displayed in an LTR context) since
109 // adjusting the string involves inserting Unicode formatting characters that
119 // Returns true if the string contains at least one character with strong right
124 // Wraps a string with an LRE-PDF pair which essentialy marks the string as a
125 // Left-To-Right string. Doing this is useful in order to make sure LTR
129 // Wraps a string with an RLE-PDF pair which essentialy marks the string as a
130 // Right-To-Left string. Doing this is useful in order to make sure RTL
139 // Return the string in |text| wrapped with LRE (Left-To-Right Embedding) and