Searched refs:history_length (Results 1 – 10 of 10) sorted by relevance
81 int history_length; variable95 state->length = history_length; in history_get_history_state()111 history_length = state->length;223 if (history_length == 0)245 history_length = 1;255 history_length++;278 if (which >= history_length)301 if (which >= history_length || !history_length)310 history_length--;326 if (history_length > max)[all …]
80 if (!history_length || ((i == history_length) && !reverse))83 if (reverse && (i == history_length))95 if ((reverse && i < 0) || (!reverse && i == history_length))
400 if (nelements > history_length)401 nelements = history_length;412 for (buffer_size = 1, i = history_length - nelements; i < history_length; i++)440 for (i = history_length - nelements; i < history_length; i++)480 return (history_do_write (filename, history_length, HISTORY_OVERWRITE));
224 extern int history_length;
168 which = history_base + (history_length - 1);189 which = (history_length + history_base) - which;243 history_offset = history_length; free (temp) ; return (char *)NULL; \270 history_offset = history_length;
261 if (history_length != 2) in test_stifle_size()262 msg("Length is %d instead of 2.", history_length); in test_stifle_size()
90 int history_length = 0; variable317 history_length = 0; in rl_initialize()435 history_length = ev.num; in readline()542 num = history_length - num + 1; in get_history_event()1144 len = history_length; in stifle_history()1416 history_length = ev.num; in add_history()1419 return !(history_length > 0); /* return 0 if all is okay */ in add_history()1445 history_length = ev.num; in remove_history()1506 history_length = 0; in clear_history()1583 if (pos >= history_length || pos < 0) in history_set_pos()[all …]
107 extern int history_base, history_length;
1082 if ((history_is_stifled () && (history_length >= max_input_history)) || in gdb_rl_operate_and_get_next()1083 (where >= history_length - 1)) in gdb_rl_operate_and_get_next()
399 @deftypevar int history_length