OpenOCD
utf8_strlen
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
utf8_strlen
utf8_strlen macro
Syntax
from
utf8.h:32
#define
utf8_strlen
(
S
,
B
)
(
(
B
)
<
0
?
(
int
)
strlen
(
S
)
:
(
B
)
)
Arguments
S
B
References
Location
Text
jimsh0.c:158
#define
utf8_strlen
(
S
,
B
)
(
(
B
)
<
0
?
(
int
)
strlen
(
S
)
:
(
B
)
)
utf8.h:32
#define
utf8_strlen
(
S
,
B
)
(
(
B
)
<
0
?
(
int
)
strlen
(
S
)
:
(
B
)
)
jim-regexp.c:290
int
so
=
utf8_strlen
(
source_str
,
pmatch
[
j
]
.
rm_so
)
;
jim-regexp.c:291
int
eo
=
utf8_strlen
(
source_str
,
pmatch
[
j
]
.
rm_eo
)
;
jim-regexp.c:317
offset
+=
utf8_strlen
(
source_str
,
pmatch
[
0
]
.
rm_eo
)
;
jim.c:2522
objPtr
->
internalRep
.
strValue
.
charLength
+=
utf8_strlen
(
objPtr
->
bytes
+
objPtr
->
length
,
len
)
;
jim.c:10277
size_t
sLen
=
utf8_strlen
(
&
str
[
pos
]
,
str_bytelen
-
pos
)
;
jimsh0.c:8259
objPtr
->
internalRep
.
strValue
.
charLength
+=
utf8_strlen
(
objPtr
->
bytes
+
objPtr
->
length
,
len
)
;
jimsh0.c:14474
size_t
sLen
=
utf8_strlen
(
&
str
[
pos
]
,
strLen
-
pos
)
;
linenoise.c:1118
int
chars
=
utf8_strlen
(
lc
.
cvec
[
i
]
,
-
1
)
;
linenoise.c:1819
current
->
pos
=
utf8_strlen
(
history
[
searchpos
]
,
p
-
history
[
searchpos
]
)
;