Searched defs:regex (Results 1 - 17 of 17) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dregexp.c28 #include <regex.h>
92 regex_t regex; local
102 ret = regcomp (&regex, args[0], REG_EXTENDED);
106 matches = grub_zalloc (sizeof (*matches) * (regex.re_nsub + 1));
110 ret = regexec (&regex, args[1], regex.re_nsub + 1, matches, 0);
114 regex.re_nsub + 1, matches);
115 regfree (&regex);
122 s = regerror (ret, &regex, 0, 0);
126 regfree (&regex);
[all...]
H A Dwildcard.c28 #include <regex.h>
177 int regex = 0; local
190 regex = 1;
192 else if (ch == '/' && ! regex)
195 else if (ch == '/' && regex)
202 if (! regex)
/osnet-11/usr/src/lib/libast/common/comp/
H A Dregcmp.c29 #include <regex.h>
183 regex(const char* handle, const char* subject, ...) function
/osnet-11/usr/src/lib/libc/port/regex/
H A Dregex.c35 * regex() WORKS **ONLY** WITH THE ASCII AND THE Solaris EUC CHARACTER SETS.
40 #pragma weak _regex = regex
44 #include "regex.h"
169 /* DEFINITION OF regex() */
172 regex(const char *regexp, const char *stringp, ...) function
255 * is false, regex() is running in an ASCII locale;
331 * According to manual page regcmp(3G), regex() returns substrings
356 } /* regex() */
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c52 #include <regex.h>
495 regex_t regex; local
585 if (regcomp(&regex, match, REG_EXTENDED) != 0) {
595 regexec(&regex, name, 0, NULL, 0) == 0) {
620 regfree(&regex);
H A Ddevfsmap.c50 #include <regex.h>
2043 regex_t regex; local
2069 if (regcomp(&regex, expr, REG_EXTENDED) != 0)
2088 regexec(&regex, dp->d_name, 0, NULL, 0) == 0) {
2106 regfree(&regex);
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsundelete.c71 #include <regex.h>
275 * transform - Convert a shell style pattern to a regex
277 * @regex: Resulting regular expression is put here
290 * If transform fails, @regex will not be changed.
295 static int transform(const char *pattern, char **regex) argument
300 if (!pattern || !regex)
340 ntfs_log_debug("Pattern '%s' replaced with regex '%s'.\n", pattern,
343 *regex = result;
531 /* set regex-flag on true ;) */
1462 * name_match - Does a file have a name matching a regex
[all...]
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregcomp.c25 * posix regex compiler
131 regex_t* regex; /* user handle */ member in struct:Cenv_s
2482 e->re.exec.data = (*env->disc->re_compf)(env->regex, e->re.exec.text, e->re.exec.size, env->disc);
3252 env.regex = p;
H A Dreglib.h25 * posix regex implementation
63 #include "regex.h"
532 const regex_t* regex; /* from regexec */ member in struct:reglib_s
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h275 #undef regex macro
276 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h254 #undef regex macro
255 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h275 #undef regex macro
276 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h254 #undef regex macro
255 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h275 #undef regex macro
276 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h254 #undef regex macro
255 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_map.h275 #undef regex macro
276 #define regex _ast_regex macro
/osnet-11/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h254 #undef regex macro
255 #define regex _ast_regex macro

Completed in 112 milliseconds