Searched refs:pattern (Results 1 - 11 of 11) sorted by relevance
/system/core/toolbox/grep/ |
H A D | fastgrep.c | 68 fg->pattern = (unsigned char *)grep_strdup(pat); 70 /* Preprocess pattern. */ 74 fg->qsBc[fg->pattern[i]] = fg->len - i; 124 fg->pattern = grep_malloc(fg->len + 1); 125 memcpy(fg->pattern, pat, fg->len); 126 fg->pattern[fg->len] = '\0'; 131 if (fg->pattern[i] == '.') { 138 /* Closest dot to the end of the pattern. */ 145 free(fg->pattern); 146 fg->pattern [all...] |
H A D | grep.c | 72 /* 5*/ "\t[-e pattern] [-f file] [--binary-files=value] [--color=when]\n", 74 /* 7*/ "\t[pattern] [file ...]\n", 85 char **pattern; variable 114 bool wflag; /* -w: pattern must start and end on word boundaries */ 115 bool xflag; /* -x: pattern must match entire line */ 223 * Adds a searching pattern to the internal array. 234 pattern = grep_realloc(pattern, ++pattern_sz * 235 sizeof(*pattern)); 240 pattern[pattern [all...] |
H A D | grep.h | 108 unsigned char *pattern; member in struct:__anon481 134 extern char **pattern;
|
H A D | util.c | 279 * Processes a line comparing it with the specified patterns. Each pattern 305 if (fg_pattern[i].pattern) {
|
/system/core/sh/ |
H A D | nodes.h | 89 union node *pattern; member in struct:nclist
|
H A D | expand.c | 716 * Terminate the string and start recording the pattern 1327 * Returns true if the pattern matches the string. 1331 patmatch(char *pattern, char *string, int squoted) argument 1334 if (pattern[0] == '!' && pattern[1] == '!') 1335 return 1 - pmatch(pattern + 2, string); 1338 return pmatch(pattern, string, squoted); 1343 pmatch(char *pattern, char *string, int squoted) argument 1348 p = pattern; 1491 * See if a pattern matche 1495 casematch(union node *pattern, char *val) argument [all...] |
H A D | nodes.c | 161 calcsize(n->nclist.pattern); 259 new->nclist.pattern = copynode(n->nclist.pattern);
|
H A D | eval.c | 402 for (patp = cp->nclist.pattern ; patp ; patp = patp->narg.next) {
|
H A D | jobs.c | 1322 cmdtxt(np->nclist.pattern);
|
H A D | parser.c | 426 app = &cp->nclist.pattern;
|
/system/core/libpixelflinger/codeflinger/ |
H A D | disassem.c | 110 u_int pattern; member in struct:arm32_insn 321 if ((insn & i_ptr->mask) == i_ptr->pattern) {
|
Completed in 715 milliseconds