Home
last modified time | relevance | path

Searched refs:libedit_history_start (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dreadline.c66 static int libedit_history_start = 0; variable
567 idx = idx - 1 + libedit_history_start; in get_history_item()
574 if (idx < (0 + libedit_history_start) in get_history_item()
575 || idx >= (length + libedit_history_start)) { in get_history_item()
925 libedit_history_start = 0; in setup_readline()
927 libedit_history_start = 1; in setup_readline()
1169 hist_ent = history_get(length + libedit_history_start - 1); in call_readline()
/external/python/cpython3/Modules/
Dreadline.c66 static int libedit_history_start = 0; variable
704 idx = idx - 1 + libedit_history_start; in get_history_item()
711 if (idx < (0 + libedit_history_start) in get_history_item()
712 || idx >= (length + libedit_history_start)) { in get_history_item()
1095 libedit_history_start = 0; in setup_readline()
1097 libedit_history_start = 1; in setup_readline()
1287 hist_ent = history_get(length + libedit_history_start - 1); in call_readline()