str_find() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

str_find() function

Search for the character 'c' in the utf-8 string 'string'. If 'nocase' is set, the 'string' is assumed to be uppercase and 'c' is converted to uppercase before matching. Returns the byte position in the string where the 'c' was found, or NULL if not found.

Syntax

static const char *str_find(const char *string,     int c,     int nocase);
Implemented in jimregexp.c:1294

Arguments

string

c

nocase

References

LocationReferrerText
jimregexp.c:1294
static const char *str_find(const char *string, int c, int nocase)
jimregexp.c:196
static const char *str_find(const char *string, int c, int nocase);
jimregexp.c:1154jim_regexec()
while ((s = str_find(s, preg->program[preg->regmust], preg->cflags & REG_ICASE)) != NULL) {
jimregexp.c:1196jim_regexec()
while ((s = str_find(s, preg->regstart, preg->cflags & REG_ICASE)) != NULL) {

Call Tree

Functions calling str_find()
Functions called by str_find()
all items filtered out
str_find()
toupper()
all items filtered out
Data read by str_find()
Data written by str_find()
str_find()::ch
str_find()::n
all items filtered out
str_find()
all items filtered out