Searched refs:get (Results 1 - 25 of 54) sorted by relevance

123

/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Denv.hpp44 std::string get(const std::string&);
49 std::string get(const std::string&, const std::string&);
H A Denv_test.cpp37 set_md_var("descr", "Tests the has and get functions");
42 ATF_REQUIRE(!atf::env::get("PATH").empty());
50 set_md_var("descr", "Tests the get function with a default value");
55 ATF_REQUIRE(atf::env::get("PATH", "default value") != "default value");
57 ATF_REQUIRE_EQ(atf::env::get("_UNDEFINED_VARIABLE_", "foo bar"), "foo bar");
68 const std::string& oldval = atf::env::get("PATH");
70 ATF_REQUIRE(atf::env::get("PATH") != oldval);
71 ATF_REQUIRE_EQ(atf::env::get("PATH"), "foo-bar");
75 ATF_REQUIRE_EQ(atf::env::get("_UNDEFINED_VARIABLE_"), "foo2-bar2");
H A Denv.cpp44 impl::get(const std::string& name) function in class:impl
50 impl::get(const std::string& name, const std::string& default_value) function in class:impl
H A Dauto_array.hpp60 T* get(void) throw();
61 const T* get(void) const throw();
103 auto_array< T >::get(void) function in class:atf::auto_array
111 auto_array< T >::get(void) function in class:atf::auto_array
H A Dtest_helpers.cpp56 optargs.push_back("-I" + atf::env::get("ATF_INCLUDEDIR", ATF_INCLUDEDIR));
/bind-9.11.3/unit/atf-src/tools/
H A Denv_test.cpp41 set_md_var("descr", "Tests the has and get functions");
46 ATF_REQUIRE(!tools::env::get("PATH").empty());
59 const std::string& oldval = tools::env::get("PATH");
61 ATF_REQUIRE(tools::env::get("PATH") != oldval);
62 ATF_REQUIRE_EQ(tools::env::get("PATH"), "foo-bar");
66 ATF_REQUIRE_EQ(tools::env::get("_UNDEFINED_VARIABLE_"), "foo2-bar2");
H A Dconfig.hpp46 //! interface to get the value of these variables.
50 const std::string& get(const std::string&);
H A Denv.hpp48 std::string get(const std::string&);
H A Dconfig_test.cpp123 ATF_REQUIRE_EQ(tools::config::get(v->lc), test_value);
125 ATF_REQUIRE(tools::config::get(v->lc) != test_value);
133 ATF_TEST_CASE(get); variable
134 ATF_TEST_CASE_HEAD(get)
136 set_md_var("descr", "Tests the config::get function");
138 ATF_TEST_CASE_BODY(get)
145 ATF_REQUIRE(tools::config::get(v->lc) != test_value);
150 if (!tools::config::get(v->lc).empty()) {
154 ATF_REQUIRE(tools::config::get(v->lc).empty());
156 ATF_REQUIRE(!tools::config::get(
[all...]
H A Dauto_array.hpp64 T* get(void) throw();
65 const T* get(void) const throw();
107 auto_array< T >::get(void) function in class:tools::auto_array
115 auto_array< T >::get(void) function in class:tools::auto_array
H A Dio_test.cpp175 set_md_var("descr", "Tests the file_handle::get method");
182 ATF_REQUIRE_EQ(fh1.get(), STDOUT_FILENO);
200 ATF_REQUIRE(rend.get() != 10);
201 ATF_REQUIRE(wend.get() != 10);
203 ATF_REQUIRE_EQ(wend.get(), 10);
204 ATF_REQUIRE(::write(wend.get(), "test-posix-remap", 16) != -1);
207 ATF_REQUIRE_EQ(::read(rend.get(), buf, sizeof(buf)), 16);
214 ATF_REQUIRE_EQ(wend.get(), 10);
216 ATF_REQUIRE_EQ(wend.get(), 10);
217 ATF_REQUIRE(::write(wend.get(), "tes
[all...]
H A Dconfig.cpp78 const std::string envval = tools::env::get(v->name);
92 tools::config::get(const std::string& varname) function in class:tools::config
H A Denv.cpp53 impl::get(const std::string& name) function in class:impl
H A Dio.hpp191 handle_type get(void) const;
H A Drequirements_test.cpp69 metadata["require.arch"] = tools::config::get("atf_arch");
85 metadata["require.arch"] = "__foo__ " + tools::config::get("atf_arch") +
199 metadata["require.machine"] = tools::config::get("atf_machine");
216 tools::config::get("atf_machine") + " __bar__";
H A Datf-config.cpp128 std::cout << format_var(m_argv[i], tools::config::get(m_argv[i]))
H A Dio.cpp112 impl::file_handle::get(void) function in class:impl::file_handle
289 const size_t nbytes = safe_read(fd, buffer.get(), m_bufsize - 1,
326 while (!terminate && (ret = safe_poll(poll_fds.get(), 2, 250)) == 0) {}
H A Drequirements.cpp70 tools::env::get("PATH"), ":");
90 if ((*iter) == tools::config::get("atf_arch"))
139 if ((*iter) == tools::config::get("atf_machine"))
159 return "Failed to get sysctl(hw.usermem64) value: " + std::string(e);
253 return "Failed to get information for user " +
/bind-9.11.3/unit/atf-src/atf-sh/
H A Dconfig_test.sh46 atf_test_case get
76 atf_add_test_case get
H A Datf-sh.cpp61 const std::string libexecdir = atf::env::get(
63 const std::string pkgdatadir = atf::env::get(
65 const std::string shell = atf::env::get("ATF_SHELL", ATF_SHELL);
128 m_shell(atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL)))
139 INV(m_shell == atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL)));
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Denv_test.c51 ATF_TC(get); variable
52 ATF_TC_HEAD(get, tc)
56 ATF_TC_BODY(get, tc)
127 ATF_TP_ADD_TC(tp, get);
/bind-9.11.3/unit/atf-src/admin/
H A Dtravis-install-deps.sh32 sudo apt-get update -qq
33 sudo apt-get install -y liblua5.2-0 liblua5.2-dev \
/bind-9.11.3/lib/isc/include/isc/
H A Dmem.h160 #define isc_mem_get(c, s) ISCMEMFUNC(get)((c), (s) _ISC_MEM_FILELINE)
164 #define isc_mempool_get(c) ISCMEMPOOLFUNC(get)((c) _ISC_MEM_FILELINE)
223 void *(*get)(isc_mempool_t *mpctx _ISC_MEM_FLARG); member in struct:isc_mempoolmethods
391 * Set/get the memory quota of 'mctx'. This is a hard limit
612 * and it is also used to set or get internal state via the isc_mempool_get*()
634 * The following functions get/set various parameters. Note that due to
707 ISCMEMFUNC(get)(isc_mem_t *, size_t _ISC_MEM_FLARG);
721 ISCMEMPOOLFUNC(get)(isc_mempool_t * _ISC_MEM_FLARG);
H A Dentropy.h70 * data available and there are no sources which we can poll to get
162 * who require strong random data will get failure when our pool drains.
183 isc_entropyget_t get,
/bind-9.11.3/bin/tests/
H A Dentropy2_test.c79 get(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { function
136 result = isc_entropy_createcallbacksource(ent, start, get, stop, &kbd,

Completed in 66 milliseconds

123