Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gen/
Dfnmatch.c100 classmatch(const char *pattern, char test, int foldcase, const char **ep) in classmatch() argument
106 const char * const mismatch = pattern; in classmatch()
108 if (*pattern != '[' || pattern[1] != ':') { in classmatch()
113 pattern += 2; in classmatch()
115 if ((colon = strchr(pattern, ':')) == NULL || colon[1] != ']') { in classmatch()
120 len = (size_t)(colon - pattern); in classmatch()
122 if (foldcase && strncmp(pattern, "upper:]", 7) == 0) in classmatch()
123 pattern = "lower:]"; in classmatch()
125 if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') { in classmatch()
146 static int fnmatch_ch(const char **pattern, const char **string, int flags) in fnmatch_ch() argument
[all …]
/bionic/libc/include/
Dfnmatch.h47 extern int fnmatch(const char *pattern, const char *string, int flags);
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_string.h35 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member
/bionic/libc/kernel/uapi/linux/
Dscc.h166 unsigned char pattern; member
/bionic/libc/bionic/
Dsysconf.cpp120 static int __get_meminfo(const char* pattern) { in __get_meminfo() argument
130 if (sscanf(buf, pattern, &total) == 1) { in __get_meminfo()
/bionic/libc/tools/
Dgensyscalls.py427 pattern = re.compile(r'^#define __NR_([a-z]\S+) .*')
430 m = re.search(pattern, line)
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c236 const char *pattern, in regcomp() argument
251 _DIAGASSERT(pattern != NULL); in regcomp()
258 if (preg->re_endp < pattern) in regcomp()
260 len = preg->re_endp - pattern; in regcomp()
262 len = strlen(pattern); in regcomp()
279 p->next = pattern; in regcomp()