OpenOCD
current::buf
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
current::buf
current::buf field
Syntax
from
linenoise.c:477
stringbuf
*
buf
;
References
Location
Referrer
Text
linenoise.c:477
stringbuf
*
buf
;
/* Current buffer. Always null terminated */
linenoise.c:1063
get_char()
if
(
pos
>=
0
&&
pos
<
sb_chars
(
current
->
buf
)
)
{
linenoise.c:1066
get_char()
(
void
)
utf8_tounicode
(
sb_str
(
current
->
buf
)
+
i
,
&
c
)
;
linenoise.c:1109
completeLine()
completionCallback
(
sb_str
(
current
->
buf
)
,
&
lc
,
completionUserdata
)
;
linenoise.c:1557
refreshLine()
refreshLineAlt
(
current
,
current
->
prompt
,
sb_str
(
current
->
buf
)
,
current
->
pos
)
;
linenoise.c:1562
set_current()
sb_clear
(
current
->
buf
)
;
linenoise.c:1563
set_current()
sb_append
(
current
->
buf
,
str
)
;
linenoise.c:1564
set_current()
current
->
pos
=
sb_chars
(
current
->
buf
)
;
linenoise.c:1575
remove_char()
if
(
pos
>=
0
&&
pos
<
sb_chars
(
current
->
buf
)
)
{
linenoise.c:1588
remove_char()
if
(
current
->
output
&&
current
->
pos
==
pos
+
1
&&
current
->
pos
==
sb_chars
(
current
->
buf
)
&&
pos
>
0
)
{
linenoise.c:1604
remove_char()
sb_delete
(
current
->
buf
,
offset
,
nbytes
)
;
linenoise.c:1610
remove_char()
if
(
refreshShowHints
(
current
,
sb_str
(
current
->
buf
)
,
current
->
colsright
,
0
)
)
{
linenoise.c:1633
insert_char()
if
(
pos
>=
0
&&
pos
<=
sb_chars
(
current
->
buf
)
)
{
linenoise.c:1648
insert_char()
if
(
current
->
output
&&
pos
==
current
->
pos
&&
pos
==
sb_chars
(
current
->
buf
)
)
{
linenoise.c:1657
insert_char()
sb_insert
(
current
->
buf
,
offset
,
buf
)
;
linenoise.c:1662
insert_char()
if
(
refreshShowHints
(
current
,
sb_str
(
current
->
buf
)
,
current
->
colsright
,
0
)
)
{
linenoise.c:1683
capture_chars()
if
(
pos
>=
0
&&
(
pos
+
nchars
-
1
)
<
sb_chars
(
current
->
buf
)
)
{
linenoise.c:1694
capture_chars()
sb_append_len
(
current
->
capture
,
sb_str
(
current
->
buf
)
+
offset
,
nbytes
)
;
linenoise.c:1759
reverseIncrementalSearch()
refreshLineAlt
(
current
,
rprompt
,
sb_str
(
current
->
buf
)
,
current
->
pos
)
;
linenoise.c:1813
reverseIncrementalSearch()
if
(
skipsame
&&
strcmp
(
history
[
searchpos
]
,
sb_str
(
current
->
buf
)
)
==
0
)
{
linenoise.c:1863
linenoiseEdit()
if
(
c
==
'\t'
&&
current
->
pos
==
sb_chars
(
current
->
buf
)
&&
completionCallback
!=
NULL
)
{
linenoise.c:1880
linenoiseEdit()
return
sb_len
(
current
->
buf
)
;
linenoise.c:1890
linenoiseEdit()
current
->
pos
=
sb_chars
(
current
->
buf
)
;
linenoise.c:1896
linenoiseEdit()
return
sb_len
(
current
->
buf
)
;
linenoise.c:1917
linenoiseEdit()
if
(
sb_len
(
current
->
buf
)
==
0
)
{
linenoise.c:1953
linenoiseEdit()
if
(
current
->
pos
>
0
&&
current
->
pos
<=
sb_chars
(
current
->
buf
)
)
{
linenoise.c:1955
linenoiseEdit()
int
fixer
=
(
current
->
pos
==
sb_chars
(
current
->
buf
)
)
;
linenoise.c:1987
linenoiseEdit()
if
(
current
->
pos
<
sb_chars
(
current
->
buf
)
)
{
linenoise.c:2009
linenoiseEdit()
history
[
history_len
-
1
-
history_index
]
=
strdup
(
sb_str
(
current
->
buf
)
)
;
linenoise.c:2030
linenoiseEdit()
current
->
pos
=
sb_chars
(
current
->
buf
)
;
linenoise.c:2039
linenoiseEdit()
if
(
remove_chars
(
current
,
current
->
pos
,
sb_chars
(
current
->
buf
)
-
current
->
pos
)
)
{
linenoise.c:2065
linenoiseEdit()
return
sb_len
(
current
->
buf
)
;
linenoise.c:2127
linenoise()
current
.
buf
=
sb_alloc
(
)
;
linenoise.c:2139
linenoise()
sb_free
(
current
.
buf
)
;
linenoise.c:2142
linenoise()
sb
=
current
.
buf
;
Data Use
Functions writing
current::buf
Functions reading
current::buf
linenoise()
all items filtered out
current::buf
get_char()
completeLine()
refreshLine()
set_current()
remove_char()
insert_char()
capture_chars()
reverseIncrementalSearch()
linenoiseEdit()
linenoise()
all items filtered out
Type of
current::buf
current::buf
stringbuf
all items filtered out