Home | History | Annotate | Download | only in autocomplete

Lines Matching refs:current_pos

1151                                                     int current_pos,
1169 if (current_pos < 2) {
1170 // Either current_pos == 0, so we have a "not found" case and return 0,
1171 // or current_pos == 1, and the only character before this position is
1179 // which would mean we'd return current_pos -- which isn't "before the
1182 WordBreakProc(edit_text, current_pos - 1, num_bytes, WB_LEFTBREAK);
1197 if (WordBreakProc(edit_text, current_pos, num_bytes, WB_ISDELIMITER)) {
1200 return current_pos + 1;
1206 WordBreakProc(edit_text, current_pos, num_bytes, WB_RIGHTBREAK);
1217 return !!(WordBreakProc(edit_text, current_pos, num_bytes, WB_CLASSIFY) &
1222 if (IsWhitespace(edit_text[current_pos])) {
1227 while ((current_pos < (length - 1)) &&
1228 (edit_text[current_pos] == 0x13)) {
1229 if (edit_text[++current_pos] == 0x10)
1238 if (ispunct(edit_text[current_pos], std::locale()) &&
1239 !SchemeEnd(edit_text, current_pos, length) &&
1240 !SchemeEnd(edit_text, current_pos - 1, length))
1248 for (int i = current_pos - 1; i >= 0; --i) {
1256 for (int i = current_pos + 1; i < length; ++i) {
1269 int current_pos,
1271 return (current_pos >= 0) &&
1272 ((length - current_pos) > 2) &&
1273 (edit_text[current_pos] == ':') &&
1274 (edit_text[current_pos + 1] == '/') &&
1275 (edit_text[current_pos + 2] == '/');