Home
last modified time | relevance | path

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

/freebsd/usr.sbin/setfmac/
H A Dsetfmac.c53 char *regexstr; /* uncompiled regular expression */ member
305 char *regexstr, *modestr, *macstr, *regerrorstr; in add_spec_line() local
309 regexstr = strtok(line, " \t"); in add_spec_line()
310 if (regexstr == NULL) in add_spec_line()
323 if (asprintf(&regexstr, "^%s$", regexstr) == -1) in add_spec_line()
325 entry->regexstr = regexstr; in add_spec_line()
326 error = regcomp(&entry->regex, regexstr, REG_EXTENDED | REG_NOSUB); in add_spec_line()
333 errx(1, "%s: %s: %s", file, entry->regexstr, regerrorstr); in add_spec_line()
433 errx(1, "%s: %s", ent->regexstr, regerrorstr); in apply_specs()
444 ent->regexstr, ent->modestr, ent->mactext); in apply_specs()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBTarget.cpp1786 std::string regexstr; in FindGlobalFunctions() local
1798 regexstr = llvm::Regex::escape(name) + ".*"; in FindGlobalFunctions()
1799 target_sp->GetImages().FindFunctions(RegularExpression(regexstr), in FindGlobalFunctions()
1934 std::string regexstr; in FindGlobalVariables() local
1950 regexstr = "^" + llvm::Regex::escape(name) + ".*"; in FindGlobalVariables()
1951 target_sp->GetImages().FindGlobalVariables(RegularExpression(regexstr), in FindGlobalVariables()