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

/bind-9.11.3/unit/atf-src/tools/
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>
53 impl::match(const std::string& str, const std::string& regex) argument
58 if (regex.empty()) {
63 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0)
64 throw std::runtime_error("Invalid regular expression '" + regex +
70 throw std::runtime_error("Invalid regular expression " + regex);
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.cpp74 atf::utils::grep_file(const std::string& regex, const std::string& path) argument
76 return atf_utils_grep_file("%s", path.c_str(), regex.c_str());
80 atf::utils::grep_string(const std::string& regex, const std::string& str) argument
82 return atf_utils_grep_string("%s", str.c_str(), regex.c_str());
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dtext.cpp29 #include <regex.h>
54 impl::match(const std::string& str, const std::string& regex) argument
59 if (regex.empty()) {
64 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0)
65 throw std::runtime_error("Invalid regular expression '" + regex +
71 throw std::runtime_error("Invalid regular expression " + regex);
/bind-9.11.3/lib/isc/tests/
H A Dregex_test.c18 #include <regex.h>
21 #include <isc/regex.h>
31 * test regex were generated using http://code.google.com/p/regfuzz/
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils.c34 #include <regex.h>
74 * \param regex The regexp to look for.
80 grep_string(const char *regex, const char *str) argument
85 printf("Looking for '%s' in '%s'\n", regex, str);
86 ATF_REQUIRE(regcomp(&preg, regex, REG_EXTENDED) == 0);
291 * \param regex The regexp to look for.
293 * \param ... Positional parameters to the regex.
297 atf_utils_grep_file(const char *regex, const char *file, ...) argument
305 error = atf_dynstr_init_ap(&formatted, regex, ap);
325 * \param regex Th
331 atf_utils_grep_string(const char *regex, const char *str, ...) argument
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dnaptr_35.c20 #include <isc/regex.h>
29 char regex[256]; local
55 cp = regex;
108 n = isc_regex_validate(regex);
119 unsigned char *regex; local
162 regex = isc_buffer_used(target);
166 RETTOK(txt_valid_regex(regex));
246 unsigned char *regex; local
279 regex = isc_buffer_used(target);
281 RETERR(txt_valid_regex(regex));
[all...]
/bind-9.11.3/lib/isc/
H A Dregex.c13 #include <isc/regex.h>
/bind-9.11.3/bin/tests/system/dns64/
H A Dtests.sh1298 regex='..\(.*.IP6.ARPA\)'
1299 rev=`expr "${rev}" : "${regex}"`
1300 fin=`expr "${rev}" : "............${regex}"`
1311 rev=`expr "${rev}" : "${regex}"`
/bind-9.11.3/
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"
H A Dconfigure4943 # 'file_magic [[regex]]' -- check by looking for files in library path
4944 # which responds to the $file_magic_cmd with a given extended regex.
12950 for ac_header in fcntl.h regex.h sys/time.h unistd.h sys/mman.h sys/sockio.h sys/select.h sys/param.h sys/sysctl.h net/if6.h sys/socket.h net/route.h linux/netlink.h linux/rtnetlink.h
/bind-9.11.3/unit/atf-src/admin/
H A Dltmain.sh338 # Sed substitution that turns a string into a regex matching for the
1179 # PREFIX and SUFFIX must not contain globbing or regex special
3731 -export-symbols-regex REGEX
3742 -precious-files-regex REGEX
6925 -export-symbols | -export-symbols-regex)
7126 -precious-files-regex)
9394 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
9397 $ECHO "*** using a regex pattern. Last file checked: $potlib"
/bind-9.11.3/contrib/idn/idnkit-1.0-src/
H A Dltmain.sh1027 -export-symbols | -export-symbols-regex)
3964 -export-symbols-regex REGEX

Completed in 99 milliseconds