OpenOCD
stringbuf::data
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
stringbuf::data
stringbuf::data field
Allocated memory containing the string or NULL for empty
Syntax
from
linenoise.c:31
char
*
data
;
References
Location
Referrer
Text
linenoise.c:31
char
*
data
;
/**< Allocated memory containing the string or NULL for empty */
linenoise.c:97
sb_str()
return
sb
->
data
;
linenoise.c:157
sb_alloc()
sb
->
data
=
NULL
;
linenoise.c:165
sb_free()
free
(
sb
->
data
)
;
linenoise.c:172
sb_realloc()
sb
->
data
=
(
char
*
)
realloc
(
sb
->
data
,
newlen
)
;
linenoise.c:186
sb_append_len()
memcpy
(
sb
->
data
+
sb
->
last
,
str
,
len
)
;
linenoise.c:187
sb_append_len()
sb
->
data
[
sb
->
last
+
len
]
=
0
;
linenoise.c:198
sb_to_string()
if
(
sb
->
data
==
NULL
)
{
linenoise.c:204
sb_to_string()
char
*
pt
=
sb
->
data
;
linenoise.c:226
sb_insert_space()
memmove
(
sb
->
data
+
pos
+
len
,
sb
->
data
+
pos
,
sb
->
last
-
pos
)
;
linenoise.c:230
sb_insert_space()
sb
->
data
[
sb
->
last
]
=
0
;
linenoise.c:247
sb_delete_space()
memmove
(
sb
->
data
+
pos
,
sb
->
data
+
pos
+
len
,
sb
->
last
-
pos
-
len
)
;
linenoise.c:251
sb_delete_space()
sb
->
data
[
sb
->
last
]
=
0
;
linenoise.c:264
sb_insert()
memcpy
(
sb
->
data
+
index
,
str
,
len
)
;
linenoise.c:278
sb_delete()
char
*
pos
=
sb
->
data
+
index
;
linenoise.c:283
sb_delete()
sb_delete_space
(
sb
,
pos
-
sb
->
data
,
len
)
;
linenoise.c:289
sb_clear()
if
(
sb
->
data
)
{
linenoise.c:291
sb_clear()
sb
->
data
[
0
]
=
0
;
Data Use
Functions writing
stringbuf::data
Functions reading
stringbuf::data
sb_alloc()
sb_realloc()
all items filtered out
stringbuf::data
sb_str()
sb_free()
sb_realloc()
sb_append_len()
sb_to_string()
sb_insert_space()
sb_delete_space()
sb_insert()
sb_delete()
sb_clear()
all items filtered out