OpenOCD
history_max_len
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
history_max_len
history_max_len variable
Syntax
from
linenoise.c:471
static
int
history_max_len
=
LINENOISE_DEFAULT_HISTORY_MAX_LEN
;
References
Location
Referrer
Text
linenoise.c:471
static
int
history_max_len
=
LINENOISE_DEFAULT_HISTORY_MAX_LEN
;
linenoise.c:2150
linenoiseHistoryAddAllocated()
if
(
history_max_len
==
0
)
{
linenoise.c:2156
linenoiseHistoryAddAllocated()
history
=
(
char
*
*
)
calloc
(
sizeof
(
char
*
)
,
history_max_len
)
;
linenoise.c:2164
linenoiseHistoryAddAllocated()
if
(
history_len
==
history_max_len
)
{
linenoise.c:2166
linenoiseHistoryAddAllocated()
memmove
(
history
,
history
+
1
,
sizeof
(
char
*
)
*
(
history_max_len
-
1
)
)
;
linenoise.c:2179
linenoiseHistoryGetMaxLen()
return
history_max_len
;
linenoise.c:2202
linenoiseHistorySetMaxLen()
history_max_len
=
len
;
linenoise.c:2203
linenoiseHistorySetMaxLen()
if
(
history_len
>
history_max_len
)
linenoise.c:2204
linenoiseHistorySetMaxLen()
history_len
=
history_max_len
;
Data Use
Functions writing
history_max_len
Functions reading
history_max_len
linenoiseHistorySetMaxLen()
all items filtered out
history_max_len
linenoiseHistoryAddAllocated()
linenoiseHistoryGetMaxLen()
linenoiseHistorySetMaxLen()
all items filtered out