Home
last modified time | relevance | path

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

/busybox-1.35.0/procps/
Dpgrep.c113 regex_t re_buffer; in pgrep_main() member
116 #define re_buffer (Z.re_buffer) in pgrep_main() macro
155 xregcomp(&re_buffer, argv[0], OPT_ANCHOR ? REG_EXTENDED : (REG_EXTENDED|REG_NOSUB)); in pgrep_main()
210 match = (regexec(&re_buffer, cmd, 1, re_match, 0) == 0); in pgrep_main()
/busybox-1.35.0/coreutils/
Dexpr.c276 regex_t re_buffer; in docolon() local
288 memset(&re_buffer, 0, sizeof(re_buffer)); in docolon()
290 xregcomp(&re_buffer, pv->u.s, 0); in docolon()
294 if (regexec(&re_buffer, sv->u.s, NMATCH, re_regs, 0) != REG_NOMATCH in docolon()
298 if (re_buffer.re_nsub > 0 && re_regs[1].rm_so >= 0) { in docolon()
306 if (re_buffer.re_nsub > 0) in docolon()
311 regfree(&re_buffer); in docolon()
Dtest.c598 regex_t re_buffer; in binop() local
599 memset(&re_buffer, 0, sizeof(re_buffer)); in binop()
600 if (regcomp(&re_buffer, opnd2, REG_EXTENDED)) { // REG_NEWLINE? in binop()
604 val1 = regexec(&re_buffer, opnd1, 0, NULL, 0); in binop()
605 regfree(&re_buffer); in binop()