Searched refs:regex (Results 1 - 7 of 7) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dexpand.cpp47 std::string regex; local
48 regex.reserve(glob.length() * 2);
50 regex += '^';
54 case '*': regex += ".*"; break;
55 case '?': regex += "."; break;
56 default: regex += *iter;
59 regex += '$';
61 return regex;
H A Dtext.cpp31 #include <regex.h>
58 impl::match(const std::string& str, const std::string& regex) argument
63 if (regex.empty()) {
68 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0)
69 throw std::runtime_error("Invalid regular expression '" + regex +
75 throw std::runtime_error("Invalid regular expression " + regex);
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils.cpp78 atf::utils::grep_file(const std::string& regex, const std::string& path) argument
80 return atf_utils_grep_file("%s", path.c_str(), regex.c_str());
84 atf::utils::grep_string(const std::string& regex, const std::string& str) argument
86 return atf_utils_grep_string("%s", str.c_str(), regex.c_str());
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dutils.c38 #include <regex.h>
50 * \param regex The regexp to look for.
56 grep_string(const char *regex, const char *str) argument
61 printf("Looking for '%s' in '%s'\n", regex, str);
62 ATF_REQUIRE(regcomp(&preg, regex, REG_EXTENDED) == 0);
258 * \param regex The regexp to look for.
260 * \param ... Positional parameters to the regex.
264 atf_utils_grep_file(const char *regex, const char *file, ...) argument
272 error = atf_dynstr_init_ap(&formatted, regex, ap);
292 * \param regex Th
298 atf_utils_grep_string(const char *regex, const char *str, ...) argument
[all...]
/bind-9.6-ESV-R11/unit/atf-src/admin/
H A Dltmain.sh1566 -export-symbols-regex REGEX
1576 -precious-files-regex REGEX
4443 -export-symbols | -export-symbols-regex)
4626 -precious-files-regex)
6748 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
6751 $ECHO "*** using a regex pattern. Last file checked: $potlib"
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/
H A Dltmain.sh1027 -export-symbols | -export-symbols-regex)
3964 -export-symbols-regex REGEX
/bind-9.6-ESV-R11/
H A Dltmain.sh211 # PREFIX and SUFFIX must not contain globbing or regex special
405 # Sed substitution that turns a string into a regex matching for the
2445 -export-symbols-regex REGEX
2455 -precious-files-regex REGEX
5548 -export-symbols | -export-symbols-regex)
5740 -precious-files-regex)
7951 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
7954 $ECHO "*** using a regex pattern. Last file checked: $potlib"

Completed in 51 milliseconds