Searched refs:regex (Results 1 - 25 of 215) sorted by relevance

123456789

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/include/
H A Dxregex.h4 * C library we're linking against may not support regex.h.
14 #include <regex.h>
15 char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags);
16 void xregcomp(regex_t *preg, const char *regex, int cflags);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/
H A Dbgp_regex.h24 #include <regex.h>
26 #include "regex-gnu.h"
29 void bgp_regex_free (regex_t *regex);
31 int bgp_regexec (regex_t *regex, struct aspath *aspath);
H A Dbgp_regex.c46 regex_t *regex; local
67 regex = XMALLOC (MTYPE_BGP_REGEXP, sizeof (regex_t));
69 ret = regcomp (regex, magic_str, REG_EXTENDED);
75 XFREE (MTYPE_BGP_REGEXP, regex);
79 return regex;
83 bgp_regexec (regex_t *regex, struct aspath *aspath) argument
85 return regexec (regex, aspath->str, 0, NULL, 0);
89 bgp_regex_free (regex_t *regex) argument
91 regfree (regex);
92 XFREE (MTYPE_BGP_REGEXP, regex);
[all...]
H A Dbgp_clist.c558 regex_t *regex;
622 regex = bgp_regcomp (str);
623 if (regex)
626 entry->reg = regex;
654 regex_t *regex;
692 regex = bgp_regcomp (str);
693 if (regex)
696 bgp_regex_free (regex);
718 regex_t *regex;
787 regex
554 regex_t *regex; local
650 regex_t *regex; local
714 regex_t *regex; local
815 regex_t *regex; local
[all...]
H A Dbgp_filter.c451 regex_t *regex;
468 /* Check AS path regex. */
484 regex = bgp_regcomp (regstr);
485 if (!regex)
493 asfilter = as_filter_make (regex, regstr, type);
528 regex_t *regex;
566 regex = bgp_regcomp (regstr);
567 if (!regex)
579 bgp_regex_free (regex);
448 regex_t *regex; variable
525 regex_t *regex; variable
576 bgp_regex_free (regex); variable
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/tre-0.8.0/lib/
H A Dregcomp.c2 tre_regcomp.c - TRE POSIX compatible regex compilation functions.
22 tre_regncomp(regex_t *preg, const char *regex, size_t n, int cflags) argument
43 const unsigned char *str = (const unsigned char *)regex;
61 consumed = tre_mbrtowc(wcptr, regex, n, &state);
66 if (*regex == '\0')
84 regex += consumed;
96 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags);
103 tre_regcomp(regex_t *preg, const char *regex, int cflags) argument
105 return tre_regncomp(preg, regex, regex
111 tre_regwncomp(regex_t *preg, const wchar_t *regex, size_t n, int cflags) argument
117 tre_regwcomp(regex_t *preg, const wchar_t *regex, int cflags) argument
[all...]
H A Dtre.h23 /* Include the system regex.h to make TRE ABI compatible with the
24 system regex. */
63 /* If the we're not using system regex.h, we need to define the
132 tre_regcomp(regex_t *preg, const char *regex, int cflags);
152 tre_regwcomp(regex_t *preg, const wchar_t *regex, int cflags);
162 tre_regncomp(regex_t *preg, const char *regex, size_t len, int cflags);
170 tre_regwncomp(regex_t *preg, const wchar_t *regex, size_t len, int cflags);
H A DMakefile.am33 dist_pkginclude_HEADERS = tre.h regex.h
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dxregcomp.c14 char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) argument
16 int ret = regcomp(preg, regex, cflags);
26 void xregcomp(regex_t *preg, const char *regex, int cflags) argument
28 char *errmsg = regcomp_or_errmsg(preg, regex, cflags);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgrep/
H A DMakefile.am31 m-common.h m-common.c m-fgrep.c m-regex.c \
38 regex.h regex.c \
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/compat/windows/
H A Dmakedef76 regex="none"
104 if [ "${regex}" = "none" ]; then
105 regex="${exp}"
107 regex="${regex};${exp}"
121 for exp in ${regex}; do
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/tre-0.8.0/tests/
H A Drandtest.c16 #include <regex.h>
30 char regex[50]; local
55 regex[i] = 1 + (int)(255 * (rand() / (RAND_MAX + 1.0)));
58 regex[i] = L'\0';
60 printf("len = %d, regexp = \"%s\"\n", len, regex);
67 strncpy(buf, regex, len - 1);
H A Dtest-str-source.c16 #include "regex.h"
106 test_reguexec(const char *str, const char *regex) argument
116 tre_regcomp(&preg, regex, REG_EXTENDED);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/
H A Dtags.sh127 --regex-asm='/^ENTRY\(([^)]*)\).*/\1/' \
128 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'
132 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/'
136 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/CONFIG_\2/'
140 --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
147 --regex='/^ENTRY(\([^)]*\)).*/\1/' \
148 --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/'
151 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'
154 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/CONFIG_\3/'
157 --regex
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl79 # Defaults for dynamically discovered regex's
82 # Dyanically discovered regex
85 # Static regex used. Specified like this for readability and for use with /o
94 my $regex;
98 $regex = $default;
104 $regex = $1;
105 $regex =~ s/%p/\([0-9a-f]*\)/g;
106 $regex =~ s/%d/\([-0-9]*\)/g;
107 $regex =~ s/%lu/\([0-9]*\)/g;
114 foreach $tuple (split /\s/, $regex) {
[all...]
H A Dtrace-vmscan-postprocess.pl100 # Defaults for dynamically discovered regex's
111 # Dyanically discovered regex
122 # Static regex used. Specified like this for readability and for use with /o
131 my $regex;
143 $regex = $1;
144 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g;
145 $regex =~ s/%p/\([0-9a-f]*\)/g;
146 $regex =~ s/%d/\([-0-9]*\)/g;
147 $regex =~ s/%ld/\([-0-9]*\)/g;
148 $regex
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_macro_scan.l50 #include <regex.h>
H A Daicasm_macro_gram.y49 #include <regex.h>
H A Daicasm_scan.l50 #include <regex.h>
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/examples_c/csv/
H A Dcsv.h30 #include <regex.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/trace/
H A Dtrace_events_filter.c202 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len);
217 cmp = pred->regex.match(*addr, &pred->regex, len);
243 cmp = pred->regex.match(addr, &pred->regex, str_len);
257 * regex_match_foo - Basic regex callbacks
260 * @r: the regex structure containing the pattern string
268 static int regex_match_full(char *str, struct regex *
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/
H A Dregex.tex2 %% Name: regex.tex
7 %% RCS-ID: $Id: regex.tex 36211 2005-11-20 17:25:33Z MW $
44 Flags for regex compilation to be used with \helpref{Compile()}{wxregexcompile}:
49 // use extended regex syntax
52 // use advanced RE syntax (built-in regex only)
76 Flags for regex matching to be used with \helpref{Matches()}{wxregexmatches}.
119 <wx/regex.h>
200 Some regex libraries assume that the text given is null terminated, while
205 a {\it wxStrlen()} will be done internally if the regex library requires the
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DSearchListCtrl.h31 #include <wx/regex.h> // Needed for wxRegExp
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dmdev.c79 /* Three fields: regex, uid:gid, mode */
93 char *regex = xstrndup(pos, end2-pos); local
99 xregcomp(&match,regex, REG_EXTENDED);
102 free(regex);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/Test/
H A DBuilder.pm580 $Test->like($this, qr/$regex/, $name);
581 $Test->like($this, '/$regex/', $name);
583 Like Test::More's like(). Checks if $this matches the given $regex.
589 $Test->unlike($this, qr/$regex/, $name);
590 $Test->unlike($this, '/$regex/', $name);
593 given $regex.
598 my($self, $this, $regex, $name) = @_;
601 $self->_regex_ok($this, $regex, '=~', $name);
605 my($self, $this, $regex, $name) = @_;
608 $self->_regex_ok($this, $regex, '!~',
[all...]

Completed in 191 milliseconds

123456789