Searched refs:regexp (Results 1 - 8 of 8) sorted by relevance

/bind-9.11.3/lib/dns/rdata/generic/
H A Dnaptr_35.h26 char *regexp; member in struct:dns_rdata_naptr
H A Dnaptr_35.c411 REQUIRE(naptr->regexp != NULL || naptr->regexp_len == 0);
423 RETERR(mem_tobuffer(target, naptr->regexp, naptr->regexp_len));
445 naptr->regexp = NULL;
474 naptr->regexp = mem_maybedup(mctx, r.base, naptr->regexp_len);
475 if (naptr->regexp == NULL)
493 if (mctx != NULL && naptr->regexp != NULL)
494 isc_mem_free(mctx, naptr->regexp);
512 if (naptr->regexp != NULL)
513 isc_mem_free(naptr->mctx, naptr->regexp);
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.hpp51 grep_collection(const std::string& regexp, const Collection& collection) argument
55 if (grep_string(regexp, *iter))
H A Dmacros.hpp125 #define ATF_REQUIRE_MATCH(regexp, string) \
127 if (!atf::tests::detail::match(regexp, string)) { \
130 << "match regexp '" << regexp << "'"; \
159 #define ATF_REQUIRE_THROW_RE(expected_exception, regexp, statement) \
169 if (!atf::tests::detail::match(regexp, e.what())) { \
173 << e.what() << "), but does not match '" << regexp \
H A Dmacros_test.cpp153 const std::string regexp = get_config_var("regexp"); local
157 ATF_REQUIRE_MATCH(regexp, string);
473 const char *regexp; member in struct:test
485 for (t = &tests[0]; t->regexp != NULL; t++) {
487 config["regexp"] = t->regexp;
490 std::cout << "Checking with " << t->regexp << ", " << t->string
H A Dtests.cpp136 detail::match(const std::string& regexp, const std::string& str) argument
138 return atf::text::match(str, regexp);
/bind-9.11.3/unit/atf-src/atf-c/
H A Dmacros.h188 #define ATF_REQUIRE_MATCH(regexp, string) \
189 ATF_REQUIRE_MSG(atf_utils_grep_string("%s", string, regexp), \
190 "'%s' not matched in '%s'", regexp, string);
192 #define ATF_CHECK_MATCH(regexp, string) \
193 ATF_CHECK_MSG(atf_utils_grep_string("%s", string, regexp), \
194 "'%s' not matched in '%s'", regexp, string);
196 #define ATF_REQUIRE_MATCH_MSG(regexp, string, fmt, ...) \
197 ATF_REQUIRE_MSG(atf_utils_grep_string("%s", string, regexp), \
198 "'%s' not matched in '%s': " fmt, regexp, string, \
201 #define ATF_CHECK_MATCH_MSG(regexp, strin
[all...]
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-check.cpp376 grep_file(const atf::fs::path& path, const std::string& regexp) argument
386 if (atf::text::match(line, regexp))
643 std::cerr << "Fail: regexp " + oc.value + " not in " << stdxxx
648 std::cerr << "Fail: regexp " + oc.value + " is in " << stdxxx
762 "one of: empty ignore file:<path> inline:<val> match:regexp "
765 "one of: empty ignore file:<path> inline:<val> match:regexp "

Completed in 27 milliseconds