Lines Matching defs:character

43 // Returns LEFT_TO_RIGHT or RIGHT_TO_LEFT if |character| has strong
46 base::i18n::TextDirection GetCharacterDirection(UChar32 character) {
47 // Now that we have the character, we use ICU in order to query for the
48 // appropriate Unicode BiDi character type.
49 int32_t property = u_getIntPropertyValue(character, UCHAR_BIDI_CLASS);
146 UChar32 character;
148 U16_NEXT(string, next_position, length, character);
149 TextDirection direction = GetCharacterDirection(character);
161 UChar32 character;
163 U16_PREV(string, 0, prev_position, character);
164 TextDirection direction = GetCharacterDirection(character);
179 UChar32 character;
181 U16_NEXT(string, next_position, length, character);
182 TextDirection direction = GetCharacterDirection(character);
225 // strongly directional character.
308 UChar32 character;
310 U16_NEXT(string, next_position, length, character);
312 // Now that we have the character, we use ICU in order to query for the
313 // appropriate Unicode BiDi character type.
314 int32_t property = u_getIntPropertyValue(character, UCHAR_BIDI_CLASS);
328 // Inserting an LRE (Left-To-Right Embedding) mark as the first character.
332 // Inserting a PDF (Pop Directional Formatting) mark as the last character.
340 // Inserting an RLE (Right-To-Left Embedding) mark as the first character.
344 // Inserting a PDF (Pop Directional Formatting) mark as the last character.
352 // Inserting an LRE (Left-To-Right Embedding) mark as the first character.
362 // Inserting a PDF (Pop Directional Formatting) mark as the last character.
368 // Also wrap strings with an RTL first strong character direction in LTR UI.