/bind-9.11.3/unit/atf-src/tools/ |
H A D | config.hpp | 38 namespace config { namespace in namespace:tools 71 } // namespace config
|
H A D | config.cpp | 33 #include "config.hpp" 92 tools::config::get(const std::string& varname) 102 tools::config::get_all(void) 111 tools::config::has(const std::string& varname) 120 namespace config { namespace in namespace:tools 134 } // namespace config
|
H A D | config_test.cpp | 35 #include "config.hpp" 69 namespace config { namespace in namespace:tools 123 ATF_REQUIRE_EQ(tools::config::get(v->lc), test_value); 125 ATF_REQUIRE(tools::config::get(v->lc) != test_value); 136 set_md_var("descr", "Tests the config::get function"); 143 tools::config::__reinit(); 145 ATF_REQUIRE(tools::config::get(v->lc) != test_value); 150 if (!tools::config::get(v->lc).empty()) { 152 tools::config::__reinit(); 154 ATF_REQUIRE(tools::config [all...] |
H A D | config_file.cpp | 34 #include "config.hpp" 107 vars_map& config) 113 merge_maps(config, reader.get_vars()); 122 dirs.push_back(tools::fs::path(tools::config::get("atf_confdir"))); 160 "application/X-atf-config", 1); 213 vars_map config; local 218 merge_config_file((*iter) / "common.conf", config); 219 merge_config_file((*iter) / (test_suite_name + ".conf"), config); 222 return config; 106 merge_config_file(const tools::fs::path& config_path, vars_map& config) argument
|
H A D | config_file_test.cpp | 32 #include "config.hpp" 47 namespace config { namespace in namespace:tools 51 } // namespace config 55 // Tests for the "config" parser. 90 "Content-Type: application/X-atf-config; version=\"1\"\n" 110 "Content-Type: application/X-atf-config; version=\"1\"\n" 136 "Content-Type: application/X-atf-config; version=\"1\"\n" 178 "Content-Type: application/X-atf-config; version=\"1\"\n" 200 "Content-Type: application/X-atf-config; version=\"1\"\n" 221 "Content-Type: application/X-atf-config; versio [all...] |
H A D | misc_helpers.cpp | 77 ATF_TEST_CASE(config); variable 78 ATF_TEST_CASE_HEAD(config) 82 ATF_TEST_CASE_BODY(config) 268 set_md_var("require.config", "var1 var2"); 406 if (which == "config") 407 ATF_ADD_TEST_CASE(tcs, config);
|
H A D | requirements.cpp | 41 #include "config.hpp" 90 if ((*iter) == tools::config::get("atf_arch")) 102 check_config(const std::string& variables, const vars_map& config) argument 107 if (config.find((*iter)) == config.end()) 139 if ((*iter) == tools::config::get("atf_machine")) 233 check_user(const std::string& user, const vars_map& config) argument 242 const vars_map::const_iterator iter = config.find( 244 if (iter == config.end()) 268 const vars_map& config) 267 check_requirements(const vars_map& metadata, const vars_map& config) argument 303 get_required_user(const vars_map& metadata, const vars_map& config) argument [all...] |
H A D | requirements_test.cpp | 32 #include "config.hpp" 51 const vars_map& config = no_config) 53 const std::string actual = impl::check_requirements(metadata, config); 69 metadata["require.arch"] = tools::config::get("atf_arch"); 85 metadata["require.arch"] = "__foo__ " + tools::config::get("atf_arch") + 100 // Tests for the require.config metadata property. 106 vars_map metadata, config; local 107 metadata["require.config"] = "var1"; 108 config["var1"] = "some-value"; 109 do_check("", metadata, config); 115 vars_map metadata, config; local 124 vars_map metadata, config; local 135 vars_map metadata, config; local [all...] |
H A D | atf-run.cpp | 31 #include "config.h" 54 #include "config.hpp" 228 const vars_map& config) 237 tools::config_file::merge_configs(config, m_cmdline_vars); 376 const vars_map& config) 382 md = tools::test_program::get_metadata(tp, config); 395 tools::fs::path(tools::config::get("atf_workdir")) / "atf-run.XXXXXX"); 411 tcmd, config); 423 tcmd, config); 431 tools::fs::temp_dir workdir(tools::fs::path(tools::config 226 run_test(const tools::fs::path& tp, tools::test_program::atf_tps_writer& w, const vars_map& config) argument 374 run_test_program(const tools::fs::path& tp, tools::test_program::atf_tps_writer& w, const vars_map& config) argument [all...] |
/bind-9.11.3/unit/atf-src/atf-c/ |
H A D | tc_test.c | 129 ATF_TC(config); variable 130 ATF_TC_HEAD(config, tc) 136 ATF_TC_BODY(config, tcin) 139 const char *const config[] = { "test-var", "test-value", NULL }; local 148 ATF_TC_BODY_NAME(empty), NULL, config)); 177 ATF_TP_ADD_TC(tp, config);
|
H A D | tp.c | 76 atf_tp_init(atf_tp_t *tp, const char *const *config) argument 80 PRE(config != NULL); 90 err = atf_map_init_charpp(&tp->pimpl->m_config, config);
|
H A D | check_test.c | 223 const char *const config[] = { NULL }; local 225 RE(atf_tc_init_pack(tc, tcpack, config));
|
H A D | macros_test.c | 83 const char *const config[] = { NULL }; local 85 RE(atf_tc_init(&tc, name, head, body, NULL, config));
|
H A D | tc.c | 547 const char *const *config) 562 err = atf_map_init_charpp(&tc->pimpl->m_config, config); 603 const char *const *config) 606 pack->m_cleanup, config); 545 atf_tc_init(atf_tc_t *tc, const char *ident, atf_tc_head_t head, atf_tc_body_t body, atf_tc_cleanup_t cleanup, const char *const *config) argument 602 atf_tc_init_pack(atf_tc_t *tc, const atf_tc_pack_t *pack, const char *const *config) argument
|
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | test_helpers.hpp | 79 run_h_tc_data(const atf::tests::vars_map& config) : argument 80 m_config(config) {} 97 run_h_tc(atf::tests::vars_map config = atf::tests::vars_map()) 99 run_h_tc_data data(config);
|
/bind-9.11.3/bin/named/ |
H A D | tsigconf.c | 13 #include <config.h> 28 #include <named/config.h> 135 ns_tsigkeyring_fromconfig(const cfg_obj_t *config, const cfg_obj_t *vconfig, argument 147 if (config != NULL) 148 maps[i++] = config;
|
H A D | config.c | 11 #include <config.h> 38 #include <named/config.h> 434 ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list, argument 467 result = ns_config_getport(config, &port); 570 ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list, argument 605 result = ns_config_getport(config, &port); 609 result = ns_config_getdscp(config, &dscp); 685 tresult = get_masters_def(config, listname, &list); 884 ns_config_getport(const cfg_obj_t *config, in_port_t *portp) { argument 891 (void)cfg_map_get(config, "option 911 ns_config_getdscp(const cfg_obj_t *config, isc_dscp_t *dscpp) argument [all...] |
H A D | lwresd.c | 19 #include <config.h> 39 #include <named/config.h> 98 * Convert a resolv.conf file into a config structure. 774 ns_lwresd_configure(isc_mem_t *mctx, const cfg_obj_t *config) { argument 788 REQUIRE(config != NULL); 794 result = cfg_map_get(config, "lwres", &lwreslist); 804 * the underlying config code, or to the bind attempt getting an 833 CHECK(ns_config_getiplist(config, listenerslist,
|
H A D | controlconf.c | 11 #include <config.h> 42 #include <named/config.h> 842 cfg_obj_t *config = NULL; local 861 CHECK(cfg_parse_file(pctx, ns_g_keyfile, &cfg_type_rndckey, &config)); 862 CHECK(cfg_map_get(config, "key", &key)); 925 if (config != NULL) 926 cfg_obj_destroy(pctx, &config); 937 get_key_info(const cfg_obj_t *config, const cfg_obj_t *control, argument 952 result = cfg_map_get(config, "key", &global_keylist); 963 const cfg_obj_t *control, const cfg_obj_t *config, 962 update_listener(ns_controls_t *cp, controllistener_t **listenerp, const cfg_obj_t *control, const cfg_obj_t *config, isc_sockaddr_t *addr, cfg_aclconfctx_t *aclconfctx, const char *socktext, isc_sockettype_t type) argument 1108 add_listener(ns_controls_t *cp, controllistener_t **listenerp, const cfg_obj_t *control, const cfg_obj_t *config, isc_sockaddr_t *addr, cfg_aclconfctx_t *aclconfctx, const char *socktext, isc_sockettype_t type) argument 1265 ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config, cfg_aclconfctx_t *aclconfctx) argument [all...] |
H A D | zoneconf.c | 9 #include <config.h> 38 #include <named/config.h> 71 const cfg_obj_t *config, acl_type_t acltype, 144 if (config != NULL) { 146 (void)cfg_map_get(config, "options", &options); 160 result = cfg_acl_fromconfig(aclobj, config, ns_g_lctx, actx, 681 * Convert a config file zone type into a server zone type. 757 ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig, argument 809 if (config != NULL) { 810 (void)cfg_map_get(config, "option 70 configure_zone_acl(const cfg_obj_t *zconfig, const cfg_obj_t *vconfig, const cfg_obj_t *config, acl_type_t acltype, cfg_aclconfctx_t *actx, dns_zone_t *zone, void (*setzacl)(dns_zone_t *, dns_acl_t *), void (*clearzacl)(dns_zone_t *)) argument [all...] |
/bind-9.11.3/unit/atf-src/atf-c++/ |
H A D | macros_test.cpp | 347 atf::tests::vars_map config; local 348 config["condition"] = t->cond; 353 run_h_tc< ATF_TEST_CASE_NAME(h_require) >(config); 394 atf::tests::vars_map config; local 395 config["v1"] = t->v1; 396 config["v2"] = t->v2; 403 run_h_tc< ATF_TEST_CASE_NAME(h_require_eq) >(config); 444 atf::tests::vars_map config; local 445 config["value"] = t->value; 448 run_h_tc< ATF_TEST_CASE_NAME(h_require_in) >(config); 486 atf::tests::vars_map config; local 536 atf::tests::vars_map config; local 579 atf::tests::vars_map config; local 631 atf::tests::vars_map config; local 682 atf::tests::vars_map config; local 730 atf::tests::vars_map config; local [all...] |
H A D | tests.cpp | 29 #include "config.h" 206 impl::tc::init(const vars_map& config) argument 210 auto_array< const char * > array(new const char*[(config.size() * 2) + 1]); 212 for (vars_map::const_iterator iter = config.begin(); 213 iter != config.end(); iter++) {
|
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | tp_main.c | 27 #include "config.h" 207 parse_vflag(char *arg, atf_map_t *config) argument 221 err = atf_map_insert(config, arg, split, false);
|
/bind-9.11.3/bin/check/ |
H A D | named-checkconf.c | 13 #include <config.h> 165 const cfg_obj_t *config, isc_mem_t *mctx) 199 if (config != NULL) { 200 cfg_map_get(config, "options", &obj); 403 configure_view(const char *vclass, const char *view, const cfg_obj_t *config, argument 420 (void)cfg_map_get(config, "zone", &zonelist); 428 config, mctx); 452 load_zones_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx) { argument 461 (void)cfg_map_get(config, "view", &views); 483 tresult = configure_view(buf, vname, config, vconfi 163 configure_zone(const char *vclass, const char *view, const cfg_obj_t *zconfig, const cfg_obj_t *vconfig, const cfg_obj_t *config, isc_mem_t *mctx) argument 512 cfg_obj_t *config = NULL; local [all...] |
/bind-9.11.3/bin/rndc/ |
H A D | rndc.c | 15 #include <config.h> 94 Usage: %s [-b address] [-c config] [-s server] [-p port]\n\ 527 cfg_obj_t *config = NULL; local 559 result = cfg_parse_file(*pctxp, conffile, conftype, &config); 564 (void)cfg_map_get(config, "options", &options); 579 (void)cfg_map_get(config, "server", &servers); 614 DO("get key", cfg_map_get(config, "key", &key)); 616 DO("get config key list", cfg_map_get(config, "key", &keys)); 765 *configp = config; 778 cfg_obj_t *config = NULL; local [all...] |