Searched refs:history_pos (Results 1 – 2 of 2) sorted by relevance
809 if (i == hdt_cli.history_pos) { in print_history()830 hdt_cli.history_pos = 1; in start_cli_mode()1027 hdt_cli.history_pos++; in start_cli_mode()1030 if (hdt_cli.history_pos > MAX_HISTORY_SIZE) { in start_cli_mode()1032 hdt_cli.history_pos = 1; in start_cli_mode()1042 future_history_pos = hdt_cli.history_pos; in start_cli_mode()1043 if (hdt_cli.history_pos > hdt_cli.max_history_pos) in start_cli_mode()1044 hdt_cli.max_history_pos = hdt_cli.history_pos; in start_cli_mode()
92 #define INPUT hdt_cli.history[hdt_cli.history_pos]98 int history_pos; member