Home
last modified time | relevance | path

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

/busybox-1.35.0/findutils/
Dgrep.c234 regex_t compiled_regex; member
237 struct re_pattern_buffer compiled_regex; member
378 xregcomp(&gl->compiled_regex, gl->pattern, reflags); in grep_file()
380 memset(&gl->compiled_regex, 0, sizeof(gl->compiled_regex)); in grep_file()
381 gl->compiled_regex.translate = case_fold; /* for -i */ in grep_file()
382 if (re_compile_pattern(gl->pattern, strlen(gl->pattern), &gl->compiled_regex)) in grep_file()
398 regexec(&gl->compiled_regex, match_at, 1, &gl->matched_range, match_flg) == 0 in grep_file()
400 re_search(&gl->compiled_regex, match_at, line_len, in grep_file()
543 if (regexec(&gl->compiled_regex, line + end, in grep_file()
549 if (re_search(&gl->compiled_regex, line, line_len, in grep_file()
[all …]