Lines Matching full:character
47 // Returns LEFT_TO_RIGHT or RIGHT_TO_LEFT if |character| has strong
50 base::i18n::TextDirection GetCharacterDirection(UChar32 character) {
51 // Now that we have the character, we use ICU in order to query for the
52 // appropriate Unicode BiDi character type.
53 int32_t property = u_getIntPropertyValue(character, UCHAR_BIDI_CLASS);
155 UChar32 character;
157 U16_NEXT(string, next_position, length, character);
158 TextDirection direction = GetCharacterDirection(character);
173 UChar32 character;
175 U16_NEXT(string, next_position, length, character);
176 TextDirection direction = GetCharacterDirection(character);
219 // strongly directional character.
299 UChar32 character;
301 U16_NEXT(string, next_position, length, character);
303 // Now that we have the character, we use ICU in order to query for the
304 // appropriate Unicode BiDi character type.
305 int32_t property = u_getIntPropertyValue(character, UCHAR_BIDI_CLASS);
319 // Inserting an LRE (Left-To-Right Embedding) mark as the first character.
322 // Inserting a PDF (Pop Directional Formatting) mark as the last character.
330 // Inserting an RLE (Right-To-Left Embedding) mark as the first character.
333 // Inserting a PDF (Pop Directional Formatting) mark as the last character.
341 // Inserting an LRE (Left-To-Right Embedding) mark as the first character.
351 // Inserting a PDF (Pop Directional Formatting) mark as the last character.
357 // Also wrap strings with an RTL first strong character direction in LTR UI.