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.c195 int rmatch[2]; // offset of regex struct for prefix matches (/abc/,/def/p) member
286 if (*command->lmatch || *command->rmatch) { in process_line()
293 if (!command->rmatch[1]) command->hit = 0; in process_line()
295 void *rm = get_regex(command, command->rmatch[1]); in process_line()
305 void *rm = get_regex(command, *command->rmatch); in process_line()
310 if (!command->lmatch[1] && !command->rmatch[1]) miss = 1; in process_line()
782 if (!*s) command->rmatch[i] = 0; in parse_pattern()
785 command->rmatch[i] = reg-toybuf; in parse_pattern()
/external/kmod/testsuite/
Dtestsuite.c407 int rmatch = read(fd_match, in test_run_parent_check_outputs() local
409 if (rmatch == 0) in test_run_parent_check_outputs()
412 if (rmatch < 0) { in test_run_parent_check_outputs()
421 done += rmatch; in test_run_parent_check_outputs()