OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:history_max_len
(Results
1 - 1
of
1
) sorted by null
/system/core/liblinenoise/
linenoise.c
89
static int
history_max_len
= 100;
variable
414
if (
history_max_len
== 0) return 0;
416
history = malloc(sizeof(char*)*
history_max_len
);
418
memset(history,0,(sizeof(char*)*
history_max_len
));
422
if (history_len ==
history_max_len
) {
423
memmove(history,history+1,sizeof(char*)*(
history_max_len
-1));
441
memcpy(new,history+(
history_max_len
-tocopy), sizeof(char*)*tocopy);
445
history_max_len
= len;
446
if (history_len >
history_max_len
)
447
history_len =
history_max_len
;
[
all
...]
Completed in 142 milliseconds