Home
last modified time | relevance | path

Searched refs:lookup_string (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Ddict_regexp.c138 const char *lookup_string; /* matched text */ member
183 ctxt->lookup_string + pmatch->rm_so, in dict_regexp_expand()
219 static const char *dict_regexp_lookup(DICT *dict, const char *lookup_string) in dict_regexp_lookup() argument
231 msg_info("dict_regexp_lookup: %s: %s", dict->name, lookup_string); in dict_regexp_lookup()
239 vstring_strcpy(dict->fold_buf, lookup_string); in dict_regexp_lookup()
240 lookup_string = lowercase(vstring_str(dict->fold_buf)); in dict_regexp_lookup()
255 lookup_string, in dict_regexp_lookup()
264 lookup_string, in dict_regexp_lookup()
286 expand_context.lookup_string = lookup_string; in dict_regexp_lookup()
303 if_rule->expr, if_rule->match, lookup_string, in dict_regexp_lookup()
H A Ddict_pcre.c224 const char *lookup_string; /* string against which we match */ member
281 ret = pcre_get_substring(ctxt->lookup_string, ctxt->offsets, in dict_pcre_expand()
298 start = (unsigned char *) ctxt->lookup_string + ctxt->ovector[2 * n]; in dict_pcre_expand()
419 static const char *dict_pcre_lookup(DICT *dict, const char *lookup_string) in dict_pcre_lookup() argument
425 int lookup_len = strlen(lookup_string); in dict_pcre_lookup()
431 msg_info("dict_pcre_lookup: %s: %s", dict->name, lookup_string); in dict_pcre_lookup()
439 vstring_strcpy(dict->fold_buf, lookup_string); in dict_pcre_lookup()
440 lookup_string = lowercase(vstring_str(dict->fold_buf)); in dict_pcre_lookup()
454 match_rule->match, lookup_string, lookup_len)) in dict_pcre_lookup()
477 ctxt.lookup_string = lookup_string; in dict_pcre_lookup()
[all …]
/netbsd-src/external/bsd/kyua-cli/dist/engine/
H A Dconfig_test.cpp128 user_config.lookup_string("architecture")); in ATF_TEST_CASE_BODY()
130 user_config.lookup_string("platform")); in ATF_TEST_CASE_BODY()
/netbsd-src/external/bsd/kyua-cli/dist/utils/config/
H A Dtree_test.cpp458 ATF_REQUIRE_EQ("42", tree.lookup_string("var1")); in ATF_TEST_CASE_BODY()
459 ATF_REQUIRE_EQ("hello", tree.lookup_string("b.var2")); in ATF_TEST_CASE_BODY()
460 ATF_REQUIRE_EQ("false", tree.lookup_string("c.d.var3")); in ATF_TEST_CASE_BODY()
469 ATF_REQUIRE_THROW(config::invalid_key_error, tree.lookup_string("")); in ATF_TEST_CASE_BODY()
480 ATF_REQUIRE_THROW(config::unknown_key_error, tree.lookup_string("a.b")); in ATF_TEST_CASE_BODY()
481 ATF_REQUIRE_THROW(config::unknown_key_error, tree.lookup_string("a.b.c.d")); in ATF_TEST_CASE_BODY()
H A Dtree.hpp113 std::string lookup_string(const std::string&) const;
H A Dtree.cpp181 config::tree::lookup_string(const std::string& dotted_key) const in lookup_string() function in config::tree