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

123456789

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/man/
H A Dmsggrep.x2 msggrep \- pattern matching on message catalog
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dcurl_fnmatch.h29 /* default pattern matching function
42 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
H A Dwildcard.c70 if(wc->pattern) {
71 free(wc->pattern);
72 wc->pattern = NULL;
H A Dwildcard.h46 char *pattern; /* wildcard pattern */ member in struct:WildcardData
H A Dcurl_fnmatch.c71 static int parsekeyword(unsigned char **pattern, unsigned char *charset) argument
78 unsigned char *p = *pattern;
101 *pattern = p; /* move caller's pattern pointer */
127 /* returns 1 (true) if pattern is OK, 0 if is bad ("p" is pattern pointer) */
312 static int loop(const unsigned char *pattern, const unsigned char *string) argument
315 unsigned char *p = (unsigned char *)pattern;
419 int Curl_fnmatch(void *ptr, const char *pattern, const char *string) argument
423 if(!pattern || !strin
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/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
40 u8 * pattern; member in struct:ts_kmp
58 while (q > 0 && kmp->pattern[q] != text[i])
60 if (kmp->pattern[q] == text[i])
74 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, argument
80 while (k > 0 && pattern[k] != pattern[q])
82 if (pattern[k] == pattern[
88 kmp_init(const void *pattern, unsigned int len, gfp_t gfp_mask) argument
[all...]
H A Dts_bm.c51 u8 * pattern; member in struct:ts_bm
74 if (text[shift-i] != bm->pattern[bm->patlen-1-i])
92 static int subpattern(u8 *pattern, int i, int j, int g) argument
96 while(pattern[x--] == pattern[y--]) {
102 ret = pattern[i-1] != pattern[j-1];
117 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i;
126 if (subpattern(bm->pattern, i, j, g)) {
133 static struct ts_config *bm_init(const void *pattern, unsigne argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/doc/examples/
H A Dreader3.c30 extractFile(const char *filename, const xmlChar *pattern) { argument
41 * add the pattern to preserve
43 if (xmlTextReaderPreservePattern(reader, pattern, NULL) < 0) {
44 fprintf(stderr, "%s : failed add preserve pattern %s\n",
45 filename, (const char *) pattern);
76 const char *pattern = "preserved"; local
81 pattern = argv[2];
91 doc = extractFile(filename, (const xmlChar *) pattern);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/tc/
H A Dtc.c42 u8 pattern[4]; local
54 err |= tc_preadb(pattern + 0, module + offset + TC_PATTERN0);
55 err |= tc_preadb(pattern + 1, module + offset + TC_PATTERN1);
56 err |= tc_preadb(pattern + 2, module + offset + TC_PATTERN2);
57 err |= tc_preadb(pattern + 3, module + offset + TC_PATTERN3);
61 if (pattern[0] != 0x55 || pattern[1] != 0x00 ||
62 pattern[2] != 0xaa || pattern[3] != 0xff) {
66 err |= tc_preadb(pattern
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_urlglob.c51 static GlobCode glob_set(URLGlob *glob, char *pattern, argument
62 pat = &glob->pattern[glob->size / 2];
72 switch (*pattern) {
120 if(*pattern == '}') {
121 /* entire set pattern completed */
125 res = glob_word(glob, ++pattern, ++pos, &wordamount);
143 ++pattern;
149 "illegal pattern at pos %zu\n", pos);
153 if(pattern[1]) {
154 ++pattern;
166 glob_range(URLGlob *glob, char *pattern, size_t pos, int *amount) argument
286 glob_word(URLGlob *glob, char *pattern, size_t pos, int *amount) argument
[all...]
H A Dtool_urlglob.h58 URLPattern pattern[9]; member in struct:__anon141
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/
H A Dxt_string.h12 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dparser.h11 /* associates an integer enumerator with a pattern string. */
14 const char *pattern; member in struct:match_token
19 /* Maximum number of arguments that match_token will find in a pattern */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/libtest/
H A Dlib574.c26 static int new_fnmatch(const char *pattern, const char *string) argument
28 (void)pattern;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/torture/
H A Dmasktest.c39 int ms_fnmatch_lanman_core(const char *pattern, const char *string) argument
41 const char *p = pattern, *n = string;
101 if (verbose) printf("NOMATCH pattern=[%s] string=[%s]\n", pattern, string);
109 if (verbose) printf("MATCH pattern=[%s] string=[%s]\n", pattern, string);
113 int ms_fnmatch_lanman(const char *pattern, const char *string) argument
115 if (!strpbrk(pattern, "?*<>\"")) {
119 return strcmp(pattern, string);
123 return ms_fnmatch_lanman_core(pattern, "
130 reg_match_one(struct cli_state *cli, const char *pattern, const char *file) argument
146 reg_test(struct cli_state *cli, char *pattern, char *long_name, char *short_name) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dxt_string.h18 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgrep/
H A Dlibgrep.h29 /* A pattern matcher. */
32 /* Compile a pattern and return the compiled pattern. */
33 void * (*compile) (const char *pattern, size_t pattern_size,
42 /* Free a compiled pattern. */
47 /* The built-in pattern matchers. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A Drr-util.h32 /** Match a key to a key pattern. The pattern has a type of
34 type. If the pattern has neither class nor type with ANY constants,
37 int avahi_key_pattern_match(const AvahiKey *pattern, const AvahiKey *k);
39 /** Check whether a key is a pattern key, i.e. the class/type has a
H A Dcache.h89 typedef void* AvahiCacheWalkCallback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void* userdata);
90 void* avahi_cache_walk(AvahiCache *c, AvahiKey *pattern, AvahiCacheWalkCallback cb, void* userdata);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_string.c69 strncpy(info->pattern, s, IPT_STRING_MAX_PATTERN_SIZE);
126 info->pattern[sindex] = s[i+1];
148 info->pattern[sindex] = (char) schar;
154 info->pattern[sindex] = s[i];
209 stringinfo->patlen=strlen((char *)&stringinfo->pattern);
299 if (is_hex_string(info->pattern, info->patlen)) {
301 print_hex_string(info->pattern, info->patlen);
304 print_string(info->pattern, info->patlen);
321 if (is_hex_string(info->pattern, info->patlen)) {
323 print_hex_string(info->pattern, inf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dms_fnmatch.c53 p and n are the pattern and string being matched. The max_n array is
149 int ms_fnmatch(const char *pattern, const char *string, enum protocol_types protocol, argument
160 if (strpbrk(pattern, "<>*?\"") == NULL) {
164 return strcmp(pattern, string);
166 return StrCaseCmp(pattern, string);
170 if (push_ucs2(NULL, p, pattern, sizeof(p), STR_TERMINATE) == (size_t)-1) {
185 translate the pattern to produce a "new style"
186 pattern that exactly matches w2k behaviour
223 /* a generic fnmatch function - uses for non-CIFS pattern matching */
224 int gen_fnmatch(const char *pattern, cons argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/
H A Dnet_cache.c261 * @param argv key pattern to match the entries to
266 const char* pattern; local
269 d_printf("Usage: net cache search <pattern>\n");
273 pattern = argv[0];
274 gencache_iterate(print_cache_entry, NULL, pattern);
287 const char* pattern = "*"; local
288 gencache_iterate(print_cache_entry, NULL, pattern);
302 const char* pattern = "*"; local
303 gencache_iterate(delete_cache_entry, NULL, pattern);
322 d_printf(" net cache search \t search for entries in the cache, by given pattern\
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A DtestRegexp.c60 char *pattern = &expression[2]; local
66 printf("Regexp: %s\n", pattern) ;
67 comp = xmlRegexpCompile((const xmlChar *) pattern);
260 fprintf(stderr, "Testing tool for libxml2 string and pattern regexps\n");
277 const char *pattern = NULL; local
337 if (pattern == NULL) {
338 pattern = argv[i];
339 printf("Testing expr %s:\n", pattern);
340 expr = xmlExpParse(ctxt, pattern);
365 if (pattern
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/
H A Drtc-pcf8563.c197 static const struct pcf8563_limit pattern[] = { local
207 for (i = 0; i < ARRAY_SIZE(pattern); i++) {
210 unsigned char buf = pattern[i].reg;
222 __FUNCTION__, pattern[i].reg);
227 value = BCD2BIN(buf & pattern[i].mask);
229 if (value > pattern[i].max ||
230 value < pattern[i].min) {
232 "%s: pattern=%d, reg=%x, mask=0x%02x, min=%d, "
234 __FUNCTION__, i, pattern[i].reg, pattern[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/findutils/
H A Dgrep.c108 char *pattern; member in struct:grep_list_data_t
164 ret = strstr(line, gl->pattern) != NULL;
174 xregcomp(&(gl->preg), gl->pattern, reflags);
313 static char * add_grep_list_data(char *pattern, int flg_used_mem) argument
316 static char * add_grep_list_data(char *pattern)
320 gl->pattern = pattern;
456 /* if we didn't get a pattern from a -e and no command file was specified,
457 * argv[optind] should be the pattern. no pattern, n
459 char *pattern; local
[all...]

Completed in 153 milliseconds

123456789