utf8_strlen is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

utf8_strlen macro

Syntax

#define utf8_strlen(S, B) ((B) < 0 ? (int)strlen(S) : (B))

Arguments

S

B

References

LocationText
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
jim.c:10277
size_t sLen = utf8_strlen(&str[pos], str_bytelen - pos);
jimsh0.c:8259
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]);