Searched refs:history_len (Results 1 - 1 of 1) sorted by relevance

/system/core/liblinenoise/
H A Dlinenoise.c90 static int history_len = 0; variable
110 for (j = 0; j < history_len; j++)
239 history_len--;
242 history_len--;
296 if (history_len > 1) {
299 free(history[history_len-1-history_index]);
300 history[history_len-1-history_index] = strdup(buf);
306 } else if (history_index >= history_len) {
307 history_index = history_len-1;
310 strncpy(buf,history[history_len
[all...]

Completed in 196 milliseconds