Lines Matching defs:length
360 /* Set history length */
365 length: int
370 A negative length is used to inhibit history truncation.
374 readline_set_history_length_impl(PyObject *module, int length)
377 _history_length = length;
381 /* Get history length */
791 /* Private function to get current length of history. XXX It may be
800 int length = hist_st->length;
807 return length;
832 int length = _py_get_history_length();
842 || idx >= (length + libedit_history_start)) {
853 /* Exported function to get current length of history */
858 Return the current (not the maximum) length of history.
1419 int length = _py_get_history_length();
1420 if (length > 0) {
1424 hist_ent = history_get(length + libedit_history_start - 1);
1426 hist_ent = history_get(length);