Searched refs:pmatch (Results 1 - 3 of 3) sorted by relevance
/system/core/toolbox/grep/ |
H A D | fastgrep.c | 205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch) argument 210 if (pmatch->rm_so == (ssize_t)len) 213 if (fg->bol && pmatch->rm_so != 0) { 214 pmatch->rm_so = len; 215 pmatch->rm_eo = len; 233 pmatch->rm_so = j; 234 pmatch->rm_eo = j + fg->len; 244 pmatch->rm_so = j - fg->len; 245 pmatch->rm_eo = j; 256 j = pmatch [all...] |
H A D | util.c | 289 regmatch_t pmatch; local 296 pmatch.rm_so = st; 297 pmatch.rm_eo = l->len; 308 l->len, &pmatch); 310 st = pmatch.rm_eo; 313 &pmatch, eflags); 315 st = pmatch.rm_eo; 321 (pmatch.rm_so != 0 || 322 (size_t)pmatch.rm_eo != l->len)) 325 if (fg_pattern[i].word && pmatch [all...] |
/system/core/sh/ |
H A D | expand.c | 110 STATIC int pmatch(char *, char *, int); 1335 return 1 - pmatch(pattern + 2, string); 1338 return pmatch(pattern, string, squoted); 1343 pmatch(char *pattern, char *string, int squoted) function 1386 if (pmatch(p, q, squoted))
|
Completed in 133 milliseconds