Searched refs:pattern (Results 26 - 50 of 430) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/torture/
H A Dmasktest.c41 static int ms_fnmatch_lanman_core(const char *pattern, const char *string) argument
43 const char *p = pattern, *n = string;
103 if (verbose) printf("NOMATCH pattern=[%s] string=[%s]\n", pattern, string);
111 if (verbose) printf("MATCH pattern=[%s] string=[%s]\n", pattern, string);
115 static int ms_fnmatch_lanman(const char *pattern, const char *string) argument
117 if (!strpbrk(pattern, "?*<>\"")) {
121 return strcmp(pattern, string);
125 return ms_fnmatch_lanman_core(pattern, "
132 reg_match_one(struct cli_state *cli, const char *pattern, const char *file) argument
148 reg_test(struct cli_state *cli, char *pattern, char *long_name, char *short_name) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/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-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
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-R7000-V1.0.7.12_1.2.5/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. */
H A Dm-regex.c63 /* KWset compiled pattern. We compile a list of strings, at least one of
120 Gcompile (const char *pattern, size_t pattern_size, argument
127 const char *motif = pattern;
143 the backref should have been local to each pattern. */
171 /* In the match_words and match_lines cases, we use a different pattern
177 /* In the whole-word case, we use the pattern:
179 In the whole-line case, we use the pattern:
190 memcpy (n + i, pattern, pattern_size);
194 pattern = n;
198 dfacomp (pattern, pattern_siz
205 compile(const char *pattern, size_t pattern_size, bool match_icase, bool match_words, bool match_lines, char eolbyte, reg_syntax_t syntax) argument
291 Ecompile(const char *pattern, size_t pattern_size, bool match_icase, bool match_words, bool match_lines, char eolbyte) argument
300 AWKcompile(const char *pattern, size_t pattern_size, bool match_icase, bool match_words, bool match_lines, char eolbyte) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/netfilter/
H A Dxt_string.h18 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/include/linux/netfilter/
H A Dxt_string.h18 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/tomoyo/
H A Dutil.c329 continue; /* pattern is not \000 */
439 * tomoyo_const_part_length - Evaluate the initial length without a pattern in a token.
443 * Returns the initial length without a pattern in @filename.
499 * tomoyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern.
503 * @pattern: The start of pattern to compare.
504 * @pattern_end: The end of pattern to compare.
506 * Returns true if @filename matches @pattern, false otherwise.
510 const char *pattern,
513 while (filename < filename_end && pattern < pattern_en
508 tomoyo_file_matches_pattern2(const char *filename, const char *filename_end, const char *pattern, const char *pattern_end) argument
626 tomoyo_file_matches_pattern(const char *filename, const char *filename_end, const char *pattern, const char *pattern_end) argument
746 tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename, const struct tomoyo_path_info *pattern) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/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, BOOL translate_pattern, 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-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/utils/
H A Dnet_cache.c239 * @param argv key pattern to match the entries to
244 const char* pattern; local
247 d_printf("Usage: net cache search <pattern>\n");
251 pattern = argv[0];
252 gencache_iterate(print_cache_entry, NULL, pattern);
265 const char* pattern = "*"; local
266 gencache_iterate(print_cache_entry, NULL, pattern);
280 const char* pattern = "*"; local
281 gencache_iterate(delete_cache_entry, NULL, pattern);
299 d_printf(" net cache search \t search for entries in the cache, by given pattern\
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Dshare_access.c33 static BOOL do_group_checks(const char **name, const char **pattern) argument
36 *pattern = "&+";
42 *pattern = "+&";
48 *pattern = "+";
54 *pattern = "&+";
60 *pattern = "&";
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/unix/
H A Dfontenum.cpp173 wxString pattern; local
174 pattern.Printf(wxT("-*-*-*-*-*-*-*-*-*-*-%c-*-%s-%s"),
180 return XListFonts((Display *)wxGetDisplay(), pattern.mb_str(), 32767, nFonts);
294 wxString pattern;
295 pattern.Printf(wxT("-*-%s-*-*-*-*-*-*-*-*-*-*-*-*"),
300 char **fonts = XListFonts((Display *)wxGetDisplay(), pattern.mb_str(),
/netgear-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/
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-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/src/
H A Dtool_urlglob.h62 URLPattern pattern[GLOB_PATTERN_NUM]; member in struct:__anon1034
/netgear-R7000-V1.0.7.12_1.2.5/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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dnetwork.c335 static int match_host_pattern(const char *pattern, const char *hostname) argument
338 if (!strcmp(pattern, "*"))
340 // Skip a possible *. at the start of the pattern
341 if (pattern[0] == '*')
342 pattern++;
343 if (pattern[0] == '.')
344 pattern++;
345 len_p = strlen(pattern);
349 // Simply check if the end of hostname is equal to 'pattern'
350 if (!strcmp(pattern,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/
H A Dc_delete.c14 FTPDelete(const FTPCIPtr cip, const char *const pattern, const int recurse, const int doGlob) argument
26 batchResult = FTPRemoteGlob(cip, &fileList, pattern, doGlob);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/
H A Dstring_32.h254 * as we by now know that both pattern and count is constant..
257 void *__constant_c_and_count_memset(void *s, unsigned long pattern, argument
264 *(unsigned char *)s = pattern & 0xff;
267 *(unsigned short *)s = pattern & 0xffff;
270 *(unsigned short *)s = pattern & 0xffff;
271 *((unsigned char *)s + 2) = pattern & 0xff;
274 *(unsigned long *)s = pattern;
288 register unsigned long eax asm("%eax") = pattern;
290 unsigned long eax = pattern;

Completed in 258 milliseconds

1234567891011>>