Lines Matching +defs:point +defs:max

109    readline completer entry point calls, all related to a single
152 (1) In figuring out where to point the TEXT parameter to the
299 int point = strlen (line_buffer);
301 /* The algorithm below does '--point'. Avoid buffer underflow with
303 if (point == 0)
312 end = point;
355 point = end;
362 point = scan + 1;
374 if (point == end && quote_char == '\0')
379 while (--point)
381 scan = line_buffer[point];
389 scan = line_buffer[point];
401 && (end - point) > 1)
404 point++;
413 return line_buffer + point;
416 /* Find the completion word point for TEXT, emulating the algorithm
417 readline uses to find the word point, using WORD_BREAK_CHARACTERS
493 /* Must be called from a custom-word-point completer. */
496 /* Disable the custom word point temporarily, because we want to
498 word point. */
508 /* The command we're completing uses a custom word point, so the
513 /* Restore the custom word point settings. */
838 then advance both TEXT_P and the word point in the tracker past the
879 QUOTED_ARG_END point to the quote characters. LANGUAGE is the
1047 - Some completer above found some matches, but the word point did
1051 - Some completer above advanced the word point, but found no
1249 #2 - Manually advance RL_POINT to the "word break" point instead
1258 OTOH, completers that manually advance the word point(#2 above)
1334 const char *line_buffer, int point,
1356 tmp_command = (char *) alloca (point + 1);
1362 strncpy (tmp_command, line_buffer, point);
1363 tmp_command[point] = '\0';
1372 to point, we can find the equivalent position in tmp_command
1374 word = tmp_command + point - strlen (text);
1414 if (q != tmp_command + point)
1448 if (p == tmp_command + point)
1506 /* Move the custom word point back too. */
1552 const char *line_buffer, int point,
1557 complete_line_internal_1 (tracker, text, line_buffer, point, reason);
1672 = std::max (m_lowest_common_denominator_max_length, lcd_len);
1779 to the completion point which is assumed to be at the end of LINE.
1790 /* Completers that provide a custom word point in the
1825 const char *text, const char *line_buffer, int point)
1829 complete_line_internal (tracker, text, line_buffer, point,
1989 word point. We do that by making our rl_completion_word_break_hook
1990 set RL_POINT to the desired word point, and return the character at
1991 the word break point as the break char. This is two bytes in order
2069 size_t point = strlen (text);
2071 complete_line_internal (tracker, NULL, text, point, handle_brkchars);
2404 /* Completers that provide a custom word point in the
2521 return _("*** List may be truncated, max-completions reached. ***");
2928 gdb_display_match_list_1 (char **matches, int len, int max,
2947 max -= common_length - ELLIPSIS_LEN;
2954 max += 2;
2955 limit = cols / max;
2956 if (limit != 1 && (limit * max == cols))
2963 /* Avoid a possible floating exception. If max > cols,
2998 for (k = 0; k < max - printed_len; k++)
3035 for (k = 0; k < max - printed_len; k++)
3052 gdb_display_match_list (char **matches, int len, int max,
3084 if (gdb_display_match_list_1 (matches, len, max, displayer))
3103 add_setshow_zuinteger_unlimited_cmd ("max-completions", no_class,