Lines Matching refs:position
65 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward)
70 position = textBreakFollowing(it, position);
71 while (position != TextBreakDone) {
74 if (position < len && isAlphanumeric(chars[position - 1]))
75 return position;
77 position = textBreakFollowing(it, position);
82 position = textBreakPreceding(it, position);
83 while (position != TextBreakDone) {
86 if (position > 0 && isAlphanumeric(chars[position]))
87 return position;
89 position = textBreakPreceding(it, position);
96 void findWordBoundary(const UChar* chars, int len, int position, int* start, int* end)
99 *end = textBreakFollowing(it, position);