Searched refs:pattern (Results 1 - 25 of 1064) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/LPRng/src/common/
H A Dglobmatch.c33 int glob_pattern( char *pattern, const char *str ) argument
39 /* DEBUG4("glob_pattern: pattern '%s' to '%s'", pattern, str ); */
40 if( (glob = safestrpbrk( pattern, "*?[" )) ){
42 len = glob - pattern;
45 if( (len == 0 || !safestrncasecmp( pattern, str, len )) ){
46 /* matched: pattern xxxx* to xxxx
49 pattern += len+1;
51 /* DEBUG4("glob_pattern: rest of pattern '%s', str '%s'", pattern, st
113 Globmatch( char *pattern, const char *str ) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/src/common/
H A Dglobmatch.c33 int glob_pattern( char *pattern, const char *str ) argument
39 /* DEBUG4("glob_pattern: pattern '%s' to '%s'", pattern, str ); */
40 if( (glob = safestrpbrk( pattern, "*?[" )) ){
42 len = glob - pattern;
45 if( (len == 0 || !safestrncasecmp( pattern, str, len )) ){
46 /* matched: pattern xxxx* to xxxx
49 pattern += len+1;
51 /* DEBUG4("glob_pattern: rest of pattern '%s', str '%s'", pattern, st
113 Globmatch( char *pattern, const char *str ) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/src/common/
H A Dglobmatch.c33 int glob_pattern( char *pattern, const char *str ) argument
39 /* DEBUG4("glob_pattern: pattern '%s' to '%s'", pattern, str ); */
40 if( (glob = safestrpbrk( pattern, "*?[" )) ){
42 len = glob - pattern;
45 if( (len == 0 || !safestrncasecmp( pattern, str, len )) ){
46 /* matched: pattern xxxx* to xxxx
49 pattern += len+1;
51 /* DEBUG4("glob_pattern: rest of pattern '%s', str '%s'", pattern, st
113 Globmatch( char *pattern, const char *str ) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/usb-modeswitch-2.2.3/jim/
H A Dglob.tcl11 # Usage: glob ?-nocomplain? pattern ...
13 # Patterns use 'string match' (glob) pattern matching for each
19 # of the pattern starts with .
23 # it contains which match $pattern
25 local proc glob.readdir_pattern {dir pattern} {
29 if {$pattern in {. ..}} {
30 return $pattern
33 # If the pattern isn't actually a pattern...
34 if {[string match {*[*?]*} $pattern]} {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/usb-modeswitch-2.2.3/jim/
H A Dglob.tcl11 # Usage: glob ?-nocomplain? pattern ...
13 # Patterns use 'string match' (glob) pattern matching for each
19 # of the pattern starts with .
23 # it contains which match $pattern
25 local proc glob.readdir_pattern {dir pattern} {
29 if {$pattern in {. ..}} {
30 return $pattern
33 # If the pattern isn't actually a pattern...
34 if {[string match {*[*?]*} $pattern]} {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/usb-modeswitch-2.2.3/jim/
H A Dglob.tcl11 # Usage: glob ?-nocomplain? pattern ...
13 # Patterns use 'string match' (glob) pattern matching for each
19 # of the pattern starts with .
23 # it contains which match $pattern
25 local proc glob.readdir_pattern {dir pattern} {
29 if {$pattern in {. ..}} {
30 return $pattern
33 # If the pattern isn't actually a pattern...
34 if {[string match {*[*?]*} $pattern]} {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/LPRng/src/include/
H A Dglobmatch.h32 int glob_pattern( char *pattern, const char *str );
33 int Globmatch( char *pattern, const char *str );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/src/include/
H A Dglobmatch.h32 int glob_pattern( char *pattern, const char *str );
33 int Globmatch( char *pattern, const char *str );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/LPRng/src/include/
H A Dglobmatch.h32 int glob_pattern( char *pattern, const char *str );
33 int Globmatch( char *pattern, const char *str );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/curl-7.21.7/lib/
H A Dcurl_fnmatch.h29 /* default pattern matching function
42 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/netfilter/
H A Dxt_layer7.h10 char pattern[MAX_PATTERN_LEN]; member in struct:xt_layer7_info
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/netfilter/
H A Dxt_layer7.h10 char pattern[MAX_PATTERN_LEN]; member in struct:xt_layer7_info
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/curl-7.21.7/lib/
H A Dcurl_fnmatch.h29 /* default pattern matching function
42 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/curl-7.21.7/lib/
H A Dcurl_fnmatch.h29 /* default pattern matching function
42 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/util/
H A Dsubstitute.c32 Substitute a string for a pattern in another string. Make sure there is
35 This routine looks for pattern in s and replaces it with
43 _PUBLIC_ void string_sub(char *s, const char *pattern, const char *insert, size_t len) argument
48 if (!insert || !pattern || !*pattern || !s)
52 lp = (ssize_t)strlen(pattern);
58 while (lp <= ls && (p = strstr(s, pattern))) {
62 pattern, (int)len));
93 const char *pattern, const char *insert)
99 if (insert == NULL || pattern
92 string_sub_talloc(TALLOC_CTX *mem_ctx, const char *s, const char *pattern, const char *insert) argument
135 all_string_sub(char *s,const char *pattern,const char *insert, size_t len) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/util/
H A Dsubstitute.c32 Substitute a string for a pattern in another string. Make sure there is
35 This routine looks for pattern in s and replaces it with
43 _PUBLIC_ void string_sub(char *s, const char *pattern, const char *insert, size_t len) argument
48 if (!insert || !pattern || !*pattern || !s)
52 lp = (ssize_t)strlen(pattern);
58 while (lp <= ls && (p = strstr(s, pattern))) {
62 pattern, (int)len));
93 const char *pattern, const char *insert)
99 if (insert == NULL || pattern
92 string_sub_talloc(TALLOC_CTX *mem_ctx, const char *s, const char *pattern, const char *insert) argument
135 all_string_sub(char *s,const char *pattern,const char *insert, size_t len) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/util/
H A Dsubstitute.c32 Substitute a string for a pattern in another string. Make sure there is
35 This routine looks for pattern in s and replaces it with
43 _PUBLIC_ void string_sub(char *s, const char *pattern, const char *insert, size_t len) argument
48 if (!insert || !pattern || !*pattern || !s)
52 lp = (ssize_t)strlen(pattern);
58 while (lp <= ls && (p = strstr(s, pattern))) {
62 pattern, (int)len));
93 const char *pattern, const char *insert)
99 if (insert == NULL || pattern
92 string_sub_talloc(TALLOC_CTX *mem_ctx, const char *s, const char *pattern, const char *insert) argument
135 all_string_sub(char *s,const char *pattern,const char *insert, size_t len) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pcre-8.31/
H A Dperltest.pl75 $pattern = $_;
77 while ($pattern !~ /^\s*(.).*\1/s)
82 $pattern .= $_;
85 chomp($pattern);
86 $pattern =~ s/\s+$//;
90 $showrest = ($pattern =~ s/\+(?=[a-zA-Z]*$)//);
94 $pattern =~ s/\+(?=[a-zA-Z]*$)//;
96 # Remove /8 from a UTF-8 pattern.
98 $utf8 = $pattern =~ s/8(?=[a-zA-Z]*$)//;
100 # Remove /J from a pattern wit
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pcre-8.31/
H A Dperltest.pl75 $pattern = $_;
77 while ($pattern !~ /^\s*(.).*\1/s)
82 $pattern .= $_;
85 chomp($pattern);
86 $pattern =~ s/\s+$//;
90 $showrest = ($pattern =~ s/\+(?=[a-zA-Z]*$)//);
94 $pattern =~ s/\+(?=[a-zA-Z]*$)//;
96 # Remove /8 from a UTF-8 pattern.
98 $utf8 = $pattern =~ s/8(?=[a-zA-Z]*$)//;
100 # Remove /J from a pattern wit
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pcre-8.31/
H A Dperltest.pl75 $pattern = $_;
77 while ($pattern !~ /^\s*(.).*\1/s)
82 $pattern .= $_;
85 chomp($pattern);
86 $pattern =~ s/\s+$//;
90 $showrest = ($pattern =~ s/\+(?=[a-zA-Z]*$)//);
94 $pattern =~ s/\+(?=[a-zA-Z]*$)//;
96 # Remove /8 from a UTF-8 pattern.
98 $utf8 = $pattern =~ s/8(?=[a-zA-Z]*$)//;
100 # Remove /J from a pattern wit
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/lib/
H A Dts_kmp.c17 * auxiliary function PI[1..m], for m being length(pattern),
18 * precomputed from the pattern in time O(m). The array PI allows
41 u8 * pattern; member in struct:ts_kmp
60 while (q > 0 && kmp->pattern[q]
63 if (kmp->pattern[q]
78 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, argument
85 while (k > 0 && (icase ? toupper(pattern[k]) : pattern[k])
86 != (icase ? toupper(pattern[q]) : pattern[
95 kmp_init(const void *pattern, unsigned int len, gfp_t gfp_mask, int flags) argument
[all...]
H A Dts_bm.c52 u8 * pattern; member in struct:ts_bm
78 != bm->pattern[bm->patlen-1-i])
96 static int subpattern(u8 *pattern, int i, int j, int g) argument
100 while(pattern[x--] == pattern[y--]) {
106 ret = pattern[i-1] != pattern[j-1];
121 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i;
123 bm->bad_shift[tolower(bm->pattern[i])]
134 if (subpattern(bm->pattern,
141 bm_init(const void *pattern, unsigned int len, gfp_t gfp_mask, int flags) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/lib/
H A Dts_kmp.c17 * auxiliary function PI[1..m], for m being length(pattern),
18 * precomputed from the pattern in time O(m). The array PI allows
41 u8 * pattern; member in struct:ts_kmp
60 while (q > 0 && kmp->pattern[q]
63 if (kmp->pattern[q]
78 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, argument
85 while (k > 0 && (icase ? toupper(pattern[k]) : pattern[k])
86 != (icase ? toupper(pattern[q]) : pattern[
95 kmp_init(const void *pattern, unsigned int len, gfp_t gfp_mask, int flags) argument
[all...]
H A Dts_bm.c52 u8 * pattern; member in struct:ts_bm
78 != bm->pattern[bm->patlen-1-i])
96 static int subpattern(u8 *pattern, int i, int j, int g) argument
100 while(pattern[x--] == pattern[y--]) {
106 ret = pattern[i-1] != pattern[j-1];
121 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i;
123 bm->bad_shift[tolower(bm->pattern[i])]
134 if (subpattern(bm->pattern,
141 bm_init(const void *pattern, unsigned int len, gfp_t gfp_mask, int flags) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/mm/
H A Dmemtest.c32 static void __init reserve_bad_mem(u64 pattern, u64 start_bad, u64 end_bad) argument
35 (unsigned long long) pattern,
41 static void __init memtest(u64 pattern, u64 start_phys, u64 size) argument
46 const size_t incr = sizeof(pattern);
55 *p = pattern;
58 if (*p == pattern)
65 reserve_bad_mem(pattern, start_bad, last_bad + incr);
69 reserve_bad_mem(pattern, start_bad, last_bad + incr);
72 static void __init do_one_pass(u64 pattern, u64 start, u64 end) argument
85 printk(KERN_INFO " %010llx - %010llx pattern
[all...]

Completed in 281 milliseconds

1234567891011>>