Lines Matching refs:max
1126 size_t i, len, max; in history_arg_extract() local
1135 for (max = 0; arr[max]; max++) in history_arg_extract()
1137 max--; in history_arg_extract()
1140 start = (int)max; in history_arg_extract()
1142 end = (int)max; in history_arg_extract()
1144 end = (int)max + end + 1; in history_arg_extract()
1148 if (start < 0 || end < 0 || (size_t)start > max || in history_arg_extract()
1149 (size_t)end > max || start > end) in history_arg_extract()
1238 stifle_history(int max) in stifle_history() argument
1246 if (history(h, &ev, H_SETSIZE, max) == 0) { in stifle_history()
1247 max_input_history = max; in stifle_history()
1248 if (history_length > max) in stifle_history()
1249 history_base = history_length - max; in stifle_history()
1250 while (history_length > max) { in stifle_history()
1943 rl_display_match_list(char **matches, int len, int max) in rl_display_match_list() argument
1946 fn_display_match_list(e, matches, (size_t)len, (size_t)max, in rl_display_match_list()
2398 size_t len, max, i, j, min; in rl_completion_matches() local
2402 max = 10; in rl_completion_matches()
2403 if ((list = el_calloc(max, sizeof(*list))) == NULL) in rl_completion_matches()
2408 if (len == max) { in rl_completion_matches()
2410 max += 10; in rl_completion_matches()
2411 if ((nl = el_realloc(list, max * sizeof(*nl))) == NULL) in rl_completion_matches()