/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | fnmatch.c | 99 classmatch(const char *pattern, char test, int foldcase, const char **ep) in classmatch() argument 101 const char * const mismatch = pattern; in classmatch() 107 if (pattern[0] != '[' || pattern[1] != ':') { in classmatch() 111 pattern += 2; in classmatch() 113 if ((colon = strchr(pattern, ':')) == NULL || colon[1] != ']') { in classmatch() 118 len = (size_t)(colon - pattern); in classmatch() 120 if (foldcase && strncmp(pattern, "upper:]", 7) == 0) in classmatch() 121 pattern = "lower:]"; in classmatch() 123 if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') { in classmatch() 144 static int fnmatch_ch(const char **pattern, const char **string, int flags) in fnmatch_ch() argument [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | glob.c | 187 glob(const char * __restrict pattern, int flags, in glob() argument 198 patnext = pattern; in glob() 222 return (err_nomatch(pglob, &limit, pattern)); in glob() 244 return (err_nomatch(pglob, &limit, pattern)); in glob() 254 return (err_nomatch(pglob, &limit, pattern)); in glob() 258 return (globexp0(patbuf, pglob, &limit, pattern)); in glob() 260 return (glob0(patbuf, pglob, &limit, pattern)); in glob() 264 globexp0(const Char *pattern, glob_t *pglob, struct glob_limit *limit, in globexp0() argument 270 if (pattern[0] == LBRACE && pattern[1] == RBRACE && pattern[2] == EOS) { in globexp0() 276 return (glob0(pattern, pglob, limit, origpat)); in globexp0() [all …]
|
/bionic/libc/malloc_debug/ |
D | README_marshmallow_and_earlier.md | 67 pattern (0xeb). This does not happen for the calloc calls. 68 Whenever an allocation is freed, write a known pattern over the data (0xef). 79 a front guard). This buffer is filled with the pattern (0xaa). In addition, 81 as a rear guard). This buffer is filled with the pattern (0xbb). 94 on the list is removed and verified that it still contains the pattern 0xef.
|
D | README.md | 50 On first allocation, this front guard is written with a specific pattern (0xaa). 76 On first allocation, this rear guard is written with a specific pattern (0xbb).
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_string.h | 32 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member
|
/bionic/tests/ |
D | glob_test.cpp | 234 static void CheckGlob(const char* pattern, const std::vector<std::string>& expected_matches) { in CheckGlob() argument 239 ASSERT_EQ(expected_result, glob(pattern, GLOB_ALTDIRFUNC, nullptr, &g)) << pattern; in CheckGlob()
|
/bionic/libc/kernel/tools/ |
D | update_all.py | 90 pattern = re.compile(r'^\s*#\s*define\s*__NR_([a-z_]\S+)') 99 m = re.search(pattern, line)
|
/bionic/libc/kernel/uapi/linux/ |
D | scc.h | 138 unsigned char pattern; member
|
D | idxd.h | 177 uint64_t pattern; member
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 272 const char * __restrict pattern, in regcomp_internal() argument 288 _DIAGASSERT(pattern != NULL); in regcomp_internal() 295 if (preg->re_endp < pattern) in regcomp_internal() 297 len = preg->re_endp - pattern; in regcomp_internal() 299 len = strlen(pattern); in regcomp_internal() 331 p->next = pattern; /* convenience; we do not modify it */ in regcomp_internal() 430 const char * __restrict pattern, in regcomp() argument 434 return (regcomp_internal(preg, pattern, cflags, 0)); in regcomp()
|
/bionic/docs/ |
D | clang_fortify_anatomy.md | 274 no optimizations are required to detect a broken code pattern. To be specific,
|