Lines Matching refs:WordBreakProperty
98 bool CheckStateChangeForWordBreak(WordBreakProperty from, in CheckStateChangeForWordBreak()
99 WordBreakProperty to) { in CheckStateChangeForWordBreak()
106 WordBreakProperty GetWordBreakProperty(wchar_t wcCodePoint) { in GetWordBreakProperty()
108 return static_cast<WordBreakProperty>((wcCodePoint & 1) ? (dwProperty & 0x0F) in GetWordBreakProperty()
112 int GetBreakFlagsFor(WordBreakProperty current, WordBreakProperty next) { in GetBreakFlagsFor()
113 if (current == WordBreakProperty::kMidLetter) { in GetBreakFlagsFor()
114 if (next == WordBreakProperty::kALetter) in GetBreakFlagsFor()
116 } else if (current == WordBreakProperty::kMidNum) { in GetBreakFlagsFor()
117 if (next == WordBreakProperty::kNumeric) in GetBreakFlagsFor()
119 } else if (current == WordBreakProperty::kMidNumLet) { in GetBreakFlagsFor()
120 if (next == WordBreakProperty::kALetter) in GetBreakFlagsFor()
122 if (next == WordBreakProperty::kNumeric) in GetBreakFlagsFor()
128 bool BreakFlagsChanged(int flags, WordBreakProperty previous) { in BreakFlagsChanged()
129 return (flags != 1 || previous != WordBreakProperty::kALetter) && in BreakFlagsChanged()
130 (flags != 2 || previous != WordBreakProperty::kNumeric); in BreakFlagsChanged()
1168 WordBreakProperty ePreType = WordBreakProperty::kNone; in FindNextBreakPos()
1175 WordBreakProperty eCurType = GetWordBreakProperty(GetChar()); in FindNextBreakPos()
1180 WordBreakProperty eNextType = GetWordBreakProperty(GetChar()); in FindNextBreakPos()