/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/ |
H A D | globmatch.c | 17 int glob_pattern( char *pattern, const char *str ) argument 23 /* DEBUG4("glob_pattern: pattern '%s' to '%s'", pattern, str ); */ 24 if( (glob = safestrpbrk( pattern, "*?[" )) ){ 26 len = glob - pattern; 29 if( (len == 0 || !safestrncasecmp( pattern, str, len )) ){ 30 /* matched: pattern xxxx* to xxxx 33 pattern += len+1; 35 /* DEBUG4("glob_pattern: rest of pattern '%s', str '%s'", pattern, st 97 Globmatch( char *pattern, const char *str ) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/include/ |
H A D | globmatch.h | 16 int glob_pattern( char *pattern, const char *str ); 17 int Globmatch( char *pattern, const char *str );
|
/asus-wl-520gu-7.0.1.45/src/router/dosfstools/dosfsck/ |
H A D | check.h | 9 loff_t alloc_rootdir_entry(DOS_FS *fs, DIR_ENT *de, const char *pattern); 12 constructed after 'pattern', which must include a %d type format for printf
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/ |
H A D | ms_fnmatch.c | 37 static int ms_fnmatch_lanman_core(const smb_ucs2_t *pattern, argument 41 const smb_ucs2_t *p = pattern, *n = string; 111 if (verbose) printf("NOMATCH pattern=[%s] string=[%s]\n", pattern, string); 121 if (verbose) printf("MATCH pattern=[%s] string=[%s]\n", pattern, string); 126 static int ms_fnmatch_lanman1(const smb_ucs2_t *pattern, argument 129 if (!strpbrk_wa(pattern, "?*<>\"")) { 132 return strcasecmp_w(pattern, string); 138 return ms_fnmatch_lanman_core(pattern, dotdo 154 ms_fnmatch_w(const smb_ucs2_t *pattern, const smb_ucs2_t *string, int protocol, BOOL case_sensitive) argument 218 ms_fnmatch(const char *pattern, const char *string, int protocol, BOOL case_senstive) argument 246 gen_fnmatch(const char *pattern, const char *string) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/tc/ |
H A D | tc.c | 99 unsigned char pattern[4]; local 108 err |= get_dbe(pattern[0], module + OLDCARD + TC_PATTERN0); 109 err |= get_dbe(pattern[1], module + OLDCARD + TC_PATTERN1); 110 err |= get_dbe(pattern[2], module + OLDCARD + TC_PATTERN2); 111 err |= get_dbe(pattern[3], module + OLDCARD + TC_PATTERN3); 115 if (pattern[0] != 0x55 || pattern[1] != 0x00 || 116 pattern[2] != 0xaa || pattern[3] != 0xff) { 120 err |= get_dbe(pattern[ [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/torture/ |
H A D | masktest.c | 39 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...] |
/asus-wl-520gu-7.0.1.45/src/router/httpd/ |
H A D | ej.c | 86 for (handler = &ej_handlers[0]; handler->pattern; handler++) { 87 if (strncmp(handler->pattern, func, strlen(handler->pattern)) == 0){ 97 // Call this function if and only if we can read whole <%....%> pattern. 126 // Call this function if and only if we can read whole <#....#> pattern. 168 char *pattern = pat_buf, *asp = NULL, *asp_end = NULL, *key = NULL, *key_end = NULL; local 196 start_pat = end_pat = pattern; 197 memset (pattern + pattern_size, 0, 4); 202 // Arrange pattern[] if available buffer length (end_pat~pattern[pattern_siz [all...] |
H A D | httpd.c | 120 static int match( const char* pattern, const char* string ); 121 static int match_one( const char* pattern, int patternlen, const char* string ); 380 static int match(const char* pattern, const char* string){ argument 384 or = strchr(pattern, '|'); 386 return match_one(pattern, strlen(pattern), string); 388 if(match_one(pattern, or-pattern, string)) 391 pattern = or+1; 395 static int match_one(const char* pattern, in argument [all...] |
H A D | httpd.h | 21 char *pattern; member in struct:mime_handler 133 char *pattern; member in struct:ej_handler
|
H A D | nvmap.c | 286 char *findpattern(char *target, char *pattern) argument 291 printf("find : %s %s\n", target, pattern); 292 if ((find=strstr(target, pattern))) 294 len = strlen(pattern);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/ |
H A D | net_cache.c | 261 * @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...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/ui/ |
H A D | ui_examcmds.c | 438 uint64_t pattern; local 449 pattern = xtoq(atext); 463 if ((res = mem_poke( ((long)(b_ptr)), pattern, MEM_BYTE))) { 474 if ((res = mem_poke( ((long)(h_ptr)), pattern, MEM_HALFWORD))) { 484 if ((res = mem_poke( ((long)(w_ptr)), pattern, MEM_WORD))) { 494 if ((res = mem_poke( ((long)(q_ptr)), pattern, MEM_QUADWORD))) { 507 #define FILL(ptr,len,pattern) printf("Pattern: %016llX\n",pattern); \ 508 for (idx = 0; idx < len; idx++) ptr[idx] = pattern 509 #define CHECK(ptr,len,pattern) fo [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/ |
H A D | mangle_map.c | 30 const char *pattern, /* This isn't. */ 31 int len ) /* This is the length of pattern. */ 34 /* a * in pattern if indeed there is a * */ 40 StrnCpy( pat, pattern, len ); /* Get pattern into a proper string! */ 50 if( (len == 1) && (*pattern == '*') ) 56 && (*pp) /* Not the end of the pattern. */ 64 if( !*sp && !*pp ) /* End of pattern. */ 71 if( !*pp ) /* It is at the end of the pattern. */ 78 /* The next character in pattern mus 29 map_filename( char *s, const char *pattern, int len ) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | find.c | 38 static char *pattern; variable 56 if (pattern != NULL) { 63 if (!(fnmatch(pattern, tmp, FNM_PERIOD) == 0)) 152 pattern = argv[i];
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/stf/ |
H A D | comfychair.py | 138 def assert_re_match(self, pattern, s): 139 """Assert that a string matches a particular pattern 142 pattern string: regular expression 148 if not re.match(pattern, s): 151 " re: %s" % (`s`, `pattern`)) 153 def assert_re_search(self, pattern, s): 154 """Assert that a string *contains* a particular pattern 157 pattern string: regular expression 163 if not re.search(pattern, s): 166 " re: %s" % (`s`, `pattern`)) [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-i386/ |
H A D | string.h | 454 * as we by now know that both pattern and count is constant.. 456 static inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count) argument 462 *(unsigned char *)s = pattern; 465 *(unsigned short *)s = pattern; 468 *(unsigned short *)s = pattern; 469 *(2+(unsigned char *)s) = pattern; 472 *(unsigned long *)s = pattern; 480 : "a" (pattern),"0" (count/4),"1" ((long) s) \
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-i386/ |
H A D | string.h | 454 * as we by now know that both pattern and count is constant.. 456 static inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count) argument 462 *(unsigned char *)s = pattern; 465 *(unsigned short *)s = pattern; 468 *(unsigned short *)s = pattern; 469 *(2+(unsigned char *)s) = pattern; 472 *(unsigned long *)s = pattern; 480 : "a" (pattern),"0" (count/4),"1" ((long) s) \
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/ |
H A D | badblocks.c | 224 static void pattern_fill(unsigned char *buffer, unsigned long pattern, argument 228 unsigned char bpattern[sizeof(pattern)], *ptr; 230 if (pattern == (unsigned long) ~0) { 235 fputs(_("Testing with random pattern: "), stderr); 239 if (pattern == 0) 241 bpattern[i] = pattern & 0xFF; 242 pattern = pattern >> 8; 253 fputs(_("Testing with pattern 0x"), stderr); 439 const unsigned long *pattern; local 566 const unsigned long *pattern; local 833 unsigned long pattern; local [all...] |
/asus-wl-520gu-7.0.1.45/src/tools/upnp/upnp/ |
H A D | soap.c | 56 char pattern[80]; local 62 snprintf(pattern, sizeof(pattern), ":Body>"); 63 if ((u = strstr(body, pattern)) != NULL) { 75 snprintf(pattern, sizeof(pattern), "</%s", actstart); 83 if (strncmp(argstart, pattern, strlen(pattern)) == 0)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/ |
H A D | ip_conntrack_ftp.c | 35 const char *pattern; member in struct:ftp_search 173 const char *pattern, size_t plen, 182 DEBUGP("find_pattern `%s': dlen = %u\n", pattern, dlen); 188 if (strnicmp(data, pattern, dlen) == 0) 193 if (strnicmp(data, pattern, plen) != 0) { 296 search[i].pattern, 312 search[i].pattern, 172 find_pattern(const char *data, size_t dlen, const char *pattern, size_t plen, char skip, char term, unsigned int *numoff, unsigned int *numlen, u_int32_t array[6], int (*getnum)(const char *, size_t, u_int32_t[], char)) argument
|
H A D | ipt_webstr.c | 77 const char *pattern, size_t plen, 86 SPARQ_LOG("%s: pattern = '%s', dlen = %u\n",__FUNCTION__, pattern, dlen); 91 if (strnicmp(data, pattern, dlen) == 0) 111 /* pattern compare */ 112 if (memcmp(data + i, pattern, plen ) != 0) 76 find_pattern2(const char *data, size_t dlen, const char *pattern, size_t plen, char term, unsigned int *numoff, unsigned int *numlen) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/ |
H A D | ip_conntrack_ftp.c | 35 const char *pattern; member in struct:ftp_search 173 const char *pattern, size_t plen, 182 DEBUGP("find_pattern `%s': dlen = %u\n", pattern, dlen); 188 if (strnicmp(data, pattern, dlen) == 0) 193 if (strnicmp(data, pattern, plen) != 0) { 296 search[i].pattern, 312 search[i].pattern, 172 find_pattern(const char *data, size_t dlen, const char *pattern, size_t plen, char skip, char term, unsigned int *numoff, unsigned int *numlen, u_int32_t array[6], int (*getnum)(const char *, size_t, u_int32_t[], char)) argument
|
/asus-wl-520gu-7.0.1.45/src/router/misc/ |
H A D | stats.pl | 41 $pattern = $query->param('boardtype'); 44 /^$pattern\_(\d+)/ && push(@boards, $1); 47 if ($pattern && @boards) {
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/lib/ |
H A D | utils.c | 295 int matches(char *cmd, char *pattern) argument 298 if (len > strlen(pattern)) 300 return memcmp(pattern, cmd, len);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm/ |
H A D | ffb_drv.h | 174 /*380*/ volatile unsigned int pattern[32]; /* area Pattern */ member in struct:_ffb_fbc
|