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
702 idx = idx - 1 + libedit_history_start; in get_history_item()
709 if (idx < (0 + libedit_history_start) in get_history_item()
710 || idx >= (length + libedit_history_start)) { in get_history_item()
1091 libedit_history_start = 0; in setup_readline()
1093 libedit_history_start = 1; in setup_readline()
1277 hist_ent = history_get(length + libedit_history_start - 1); in call_readline()