Searched refs:rgx (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/killall/ |
H A D | killall.c | 97 regex_t rgx; in main() local 355 if (regcomp(&rgx, cmd, in main() 364 if (regexec(&rgx, thiscmd, 0, &pmatch, in main() 367 regfree(&rgx); in main() 381 if (regcomp(&rgx, av[j], in main() 390 if (regexec(&rgx, thiscmd, 0, &pmatch, in main() 393 regfree(&rgx); in main()
|
/freebsd/usr.bin/split/ |
H A D | split.c | 61 static regex_t rgx; variable 144 error = regcomp(&rgx, optarg, REG_EXTENDED|REG_NOSUB); in main() 146 regerror(error, &rgx, errbuf, sizeof(errbuf)); in main() 202 regfree(&rgx); in main() 296 if (regexec(&rgx, buf, 0, &pmatch, REG_STARTEND) == 0) in split2()
|