Home
last modified time | relevance | path

Searched refs:rmatch (Results 1 – 3 of 3) sorted by relevance

/external/libdivsufsort/lib/
Dutils.c264 saidx_t match, lmatch, rmatch; in sa_search() local
275 for(i = j = k = 0, lmatch = rmatch = 0, size = SAsize, half = size >> 1; in sa_search()
278 match = MIN(lmatch, rmatch); in sa_search()
285 rmatch = match; in sa_search()
305 for(rlmatch = match, rrmatch = rmatch, half = rsize >> 1; in sa_search()
308 rmatch = MIN(rlmatch, rrmatch); in sa_search()
309 r = _compare(T, Tsize, P, Psize, SA[k + half], &rmatch); in sa_search()
313 rlmatch = rmatch; in sa_search()
315 rrmatch = rmatch; in sa_search()
/external/toybox/toys/posix/
Dsed.c147 int rmatch[2]; // offset of regex struct for prefix matches (/abc/,/def/p) member
241 if (*command->lmatch || *command->rmatch) { in sed_line()
248 if (!command->rmatch[1]) command->hit = 0; in sed_line()
250 void *rm = get_regex(command, command->rmatch[1]); in sed_line()
261 void *rm = get_regex(command, *command->rmatch); in sed_line()
268 if (!command->lmatch[1] && !command->rmatch[1]) miss = 1; in sed_line()
762 if (!*s) command->rmatch[i] = 0; in parse_pattern()
765 command->rmatch[i] = reg-toybuf; in parse_pattern()
/external/kmod/testsuite/
Dtestsuite.c532 int r, rmatch, done = 0; in fd_cmp_exact() local
541 rmatch = read(fd_cmp->fd_match, fd_cmp->buf_match + done, r - done); in fd_cmp_exact()
542 if (rmatch == 0) in fd_cmp_exact()
545 if (rmatch < 0) { in fd_cmp_exact()
552 done += rmatch; in fd_cmp_exact()