/posix/ |
A D | fnmatch_loop.c | 108 for (c = *p++; c == L_('?') || c == L_('*'); c = *p++) in FCT() 947 ++p; in END() 950 ++p; in END() 957 else if ((*p == L_('?') || *p == L_('*') || *p == L_('+') || *p == L_('@') in END() 958 || *p == L_('!')) && p[1] == L_('(')) in END() 960 p = END (p + 1); in END() 1004 for (startp = p = pattern + 1; level >= 0; ++p) in EXT() 1020 ++p; in EXT() 1033 else if ((*p == L_('?') || *p == L_('*') || *p == L_('+') || *p == L_('@') in EXT() 1034 || *p == L_('!')) && p[1] == L_('(')) in EXT() [all …]
|
A D | bug-regex19.c | 323 case 'A': *p++ = '\xc3'; *p++ = '\x84'; break; in replace() 325 case 'B': *p++ = '\xc3'; *p++ = '\x96'; break; in replace() 327 case 'C': *p++ = '\xc3'; *p++ = '\x9c'; break; in replace() 329 case 'D': *p++ = '\xc3'; *p++ = '\xa4'; break; in replace() 331 case '!': *p++ = '\xc3'; *p++ = '\x97'; break; in replace() 333 case '=': *p++ = '\xe2'; *p++ = '\x80'; *p++ = '\x94'; break; in replace() 335 case '~': *p++ = '\xf0'; *p++ = '\x9d'; *p++ = '\x85'; *p++ = '\x9e'; in replace() 338 return p; in replace() 358 p = repl; in do_mb_tests() 373 p = replace (p, test->pattern[j]); in do_mb_tests() [all …]
|
A D | tst-pcre.c | 69 char *p; in main() local 92 p = strrchr (line + 1, '/'); in main() 96 if (p == NULL) in main() 103 if (p[1] == 'i' && p[2] == '\0') in main() 105 else if (p[1] != '\0') in main() 125 pattern[p - line - 1] = '\0'; in main() 197 p = line; in main() 198 if (*p == ' ') in main() 199 ++p; in main() 201 num = strtoul (p, &p, 10); in main() [all …]
|
A D | tst-boost.c | 100 char *p, *q; in main() local 136 if (*p == '\0') in main() 138 *p++ = '\0'; in main() 140 string = p + strspn (p, " \t"); in main() 147 if (p == NULL) in main() 149 *p++ = '\0'; in main() 159 *p++ = '\0'; in main() 203 if (p == q) in main() 205 p = q; in main() 208 if (p == q) in main() [all …]
|
A D | tst-rxspencer.c | 47 for (p = str; (p = strstr (p, "[[:")) != NULL; ) in glibc_re_syntax() 48 if ((p[3] == '<' || p[3] == '>') && strncmp (p + 4, ":]]", 3) == 0) in glibc_re_syntax() 51 p[1] = p[3]; in glibc_re_syntax() 52 memmove (p + 2, p + 7, end - p - 7); in glibc_re_syntax() 57 p += 3; in glibc_re_syntax() 308 if (p) in test() 375 *p++ = 'a', *p++ = 'A'; in mb_tests() 382 *p++ = 'b', *p++ = 'B'; in mb_tests() 389 *p++ = 'c', *p++ = 'C'; in mb_tests() 396 *p++ = 'd', *p++ = 'D'; in mb_tests() [all …]
|
A D | glob_internal.h | 33 const char *p; in __glob_pattern_type() local 36 for (p = pattern; *p != '\0'; ++p) in __glob_pattern_type() 37 switch (*p) in __glob_pattern_type() 46 if (p[1] != '\0') in __glob_pattern_type() 47 ++p; in __glob_pattern_type()
|
A D | tst-vfork1.c | 44 pid_t p = getpid (); in do_test() local 45 _exit (TEMP_FAILURE_RETRY (write (fd[1], &p, sizeof (p))) != sizeof (p)); in do_test() 78 pid_t p = getpid (); in do_test() local 79 _exit (TEMP_FAILURE_RETRY (write (fd[1], &p, sizeof (p))) != sizeof (p)); in do_test()
|
A D | tst-vfork2.c | 79 pid_t p = getpid (); in do_test() local 85 _exit (TEMP_FAILURE_RETRY (write (fd[1], &p, sizeof (p))) != sizeof (p)); in do_test() 121 pid_t p = getpid (); in do_test() local 122 _exit (TEMP_FAILURE_RETRY (write (fd[1], &p, sizeof (p))) != sizeof (p)); in do_test()
|
A D | execvpe.c | 115 for (const char *p = path; ; p = subp) in __execvpe_common() local 117 subp = __strchrnul (p, ':'); in __execvpe_common() 121 if (subp - p >= path_len) in __execvpe_common() 132 char *pend = mempcpy (buffer, p, subp - p); in __execvpe_common() 134 memcpy (pend + (p < subp), file, file_len); in __execvpe_common()
|
A D | wordexp.c | 1434 int p; in parse_param() local 1438 for (p = 1; __libc_argv[p]; ++p) in parse_param() 1445 for (p = 1; __libc_argv[p]; ++p) in parse_param() 1472 for (p = 2; __libc_argv[p + 1]; p++) in parse_param() 1554 for (p = pattern; p && *p; p++) in parse_param() 1630 ++p; in parse_param() 1666 for (p = value; p <= end; ++p) in parse_param() 1672 *p = c; in parse_param() 1694 for (p = end; p >= value; --p) in parse_param() 1722 for (p = end; p >= value; --p) in parse_param() [all …]
|
A D | glob.c | 386 const char *p; in __glob() local 438 p = begin + 1; in __glob() 444 mempcpy (mempcpy (alt_start, p, next - p), rest, rest_len); in __glob() 591 while (p > dirname && p[-1] == '\\') --p; in __glob() 840 if (p != NULL) in __glob() 917 char *p; in __glob() local 922 p[0] = '/'; in __glob() 923 p[1] = '\0'; in __glob() 964 while (p > dirname && p[-1] == '\\') --p; in __glob() 1097 q = p; in __glob() [all …]
|
A D | tst-fnmatch3.c | 27 const char p[] = "**(!()"; in do_bz18036() local 36 strcpy (pattern, p); in do_bz18036() 38 return fnmatch (pattern, p, FNM_EXTMATCH); in do_bz18036()
|
A D | getopt.c | 200 const struct option *p; in process_long_option() local 211 for (p = longopts, n_options = 0; p->name; p++, n_options++) in process_long_option() 212 if (!strncmp (p->name, d->__nextchar, namelen) in process_long_option() 213 && namelen == strlen (p->name)) in process_long_option() 216 pfound = p; in process_long_option() 229 for (p = longopts, option_index = 0; p->name; p++, option_index++) in process_long_option() 230 if (!strncmp (p->name, d->__nextchar, namelen)) in process_long_option() 235 pfound = p; in process_long_option() 239 || pfound->has_arg != p->has_arg in process_long_option() 240 || pfound->flag != p->flag in process_long_option() [all …]
|
A D | regex_internal.h | 465 #define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t))) argument 466 #define re_free(p) free (p) argument 688 #define re_node_set_empty(p) ((p)->nelem = 0) argument 815 const unsigned char *p, *extra; in re_string_elem_size_at() local 826 p = pstr->mbs + idx; in re_string_elem_size_at() 827 findidx (table, indirect, extra, &p, pstr->len - idx); in re_string_elem_size_at() 828 return p - pstr->mbs - idx; in re_string_elem_size_at()
|
A D | Versions | 44 # p* 77 # p* 92 # p*
|
A D | regex_internal.c | 229 const char *p; in build_wcs_buffer() local 243 p = (const char *) buf; in build_wcs_buffer() 374 const char *p; in build_wcs_upper_buffer() local 387 p = (const char *) buf; in build_wcs_upper_buffer() 722 p = raw + offset - 1; in re_string_reconstruct() 730 wc = (wchar_t) *p; in re_string_reconstruct() 734 for (; p >= end; --p) in re_string_reconstruct() 735 if ((*p & 0xc0) != 0x80) in re_string_reconstruct() 743 const unsigned char *pp = p; in re_string_reconstruct() 748 buf[i] = pstr->trans[p[i]]; in re_string_reconstruct() [all …]
|
A D | fnmatch.c | 227 const char *p = str; in fnmatch_convert_to_wide() local 228 *n = mbsrtowcs (buf->data, &p, *n + 1, &ps); in fnmatch_convert_to_wide() 234 if (p == NULL) in fnmatch_convert_to_wide()
|
A D | globtest.sh | 781 user=`echo "$USER" | sed -n -e 's/^\([^\\]\)\([^\\][^\\]*\)$/~\1\\\\\2/p'`
|
A D | regcomp.c | 313 unsigned char *p; in re_compile_fastmap_iter() local 317 p = buf; in re_compile_fastmap_iter() 318 *p++ = dfa->nodes[node].opr.c; in re_compile_fastmap_iter() 322 *p++ = dfa->nodes[node].opr.c; in re_compile_fastmap_iter() 324 if (__mbrtowc (&wc, (const char *) buf, p - buf, in re_compile_fastmap_iter() 325 &state) == p - buf in re_compile_fastmap_iter()
|
A D | BOOST.tests | 71 p(a)rameter ABCparameterXYZ 3 12 4 5
|
A D | tst-fnmatch.input | 184 C "p" "[[:alnum:]]" 0 575 C.UTF-8 "p" "[[:alnum:]]" 0
|
A D | tst-regex.input | 14 * malloc/malloc.c (free_check): Print pointer value using %p.
|
/posix/rxspencer/ |
A D | tests | 30 # p REG_PEND 479 aZb &p a 480 aZb &p# (aZb) aZb 481 aZ*b &p# (ab) ab
|