Searched refs:pattern (Results 1 – 9 of 9) sorted by relevance
/picolibc-3.7.0-3.6.0/newlib/libc/posix/ |
D | fnmatch.c | 57 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() argument 64 switch (c = *pattern++) { in fnmatch() 81 c = *pattern; in fnmatch() 84 c = *++pattern; in fnmatch() 107 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD)) in fnmatch() 124 switch (rangematch(pattern, *string, flags, &newp)) { in fnmatch() 128 pattern = newp; in fnmatch() 137 if ((c = *pattern++) == EOS) { in fnmatch() 139 --pattern; in fnmatch() 160 rangematch(const char *pattern, char test, int flags, char **newp) in rangematch() argument [all …]
|
D | regcomp.c | 183 regcomp(regex_t *__restrict preg, const char *__restrict pattern, int cflags) in regcomp() argument 201 if (preg->re_endp < pattern) in regcomp() 203 len = preg->re_endp - pattern; in regcomp() 205 len = strlen((char *)pattern); in regcomp() 221 p->next = (char *)pattern; /* convenience; we do not modify it */ in regcomp()
|
/picolibc-3.7.0-3.6.0/test/ |
D | regex.c | 44 const char *pattern; member 52 { .pattern = ".", .string = "xxx", 55 { .pattern = ".*", .string = "xxx", 58 { .pattern = "(.)(.)(.)", .string = "xxx", 66 { .pattern = "x[a-c]*y", .string = "fooxaccabybar", 85 ret = regcomp(®ex, tests[t].pattern, REG_EXTENDED); in main() 87 printf("expression \"%s\" failed to compile: %d\n", tests[t].pattern, ret); in main() 95 tests[t].pattern, tests[t].string, ret, tests[t].ret); in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ |
D | matchcaseprefix.c | 42 bool __matchcaseprefix(const char *input, const char *pattern) in __matchcaseprefix() argument 45 while ((p = *pattern++)) { in __matchcaseprefix()
|
D | stdio_private.h | 91 bool __matchcaseprefix(const char *input, const char *pattern);
|
/picolibc-3.7.0-3.6.0/test/libc-testsuite/ |
D | fnmatch.c | 72 const char *pattern; member 158 r = fnmatch(tests[i].pattern, tests[i].string, tests[i].flags); in test_fnmatch() 163 tests[i].pattern, tests[i].string); in test_fnmatch()
|
/picolibc-3.7.0-3.6.0/ |
D | find-copyright | 327 def starts_with(pattern, name): argument 330 m = re.search(pattern, text) 333 def file_contains(pattern, name): argument 336 return re.search(pattern, text)
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | README | 137 three pieces of information in the following pattern:
|
D | ChangeLog-2015 | 24487 Don't append "/*" to search pattern if trailing '/' already there,
|