Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dreadline.c555 HIST_ENTRY *hist_ent; in get_history_item() local
580 if ((hist_ent = history_get(idx))) in get_history_item()
581 return PyString_FromString(hist_ent->line); in get_history_item()
1165 HIST_ENTRY *hist_ent; in call_readline() local
1169 hist_ent = history_get(length + libedit_history_start - 1); in call_readline()
1172 hist_ent = history_get(length); in call_readline()
1173 line = hist_ent ? hist_ent->line : ""; in call_readline()
/external/python/cpython3/Modules/
Dreadline.c692 HIST_ENTRY *hist_ent; in get_history_item() local
717 if ((hist_ent = history_get(idx))) in get_history_item()
718 return decode(hist_ent->line); in get_history_item()
1283 HIST_ENTRY *hist_ent; in call_readline() local
1287 hist_ent = history_get(length + libedit_history_start - 1); in call_readline()
1290 hist_ent = history_get(length); in call_readline()
1291 line = hist_ent ? hist_ent->line : ""; in call_readline()