Home
last modified time | relevance | path

Searched refs:getenv (Results 1 – 25 of 830) sorted by relevance

12345678910>>...34

/freebsd-13.1/stand/lua/
H A Dcore.lua143 local c = loader.getenv("hint.acpi.0.rsdp")
150 c = loader.getenv("hint.acpi.0.disabled")
209 local k = loader.getenv("kernel")
210 local v = loader.getenv("kernels")
282 return loader.getenv("zfs_be_active")
339 return loader.getenv("bootenvs_check[0]")
399 local c = loader.getenv("currdev")
408 local c = loader.getenv("console")
421 local c = loader.getenv("console")
434 local s = loader.getenv("boot_serial")
[all …]
H A Dconfig.lua90 local current_value = loader.getenv(k)
119 return loader.getenv(key)
131 env_restore[key] = {value = loader.getenv(key)}
197 local repl = loader.getenv(name) or ""
438 local nextboot_file = loader.getenv("nextboot_conf")
607 local flags = loader.getenv("kernel_options") or ""
608 local kernel = other_kernel or loader.getenv("kernel")
622 local module_path = loader.getenv("module_path")
623 local kernel_path = loader.getenv("kernel_path")
637 local bootfile = loader.getenv("bootfile")
[all …]
H A Ddrawer.lua211 local framestyle = loader.getenv("loader_menu_frame") or defaultframe()
263 local menu_header = loader.getenv("loader_menu_title") or
265 local menu_header_align = loader.getenv("loader_menu_title_align")
296 local x = tonumber(loader.getenv("loader_brand_x")) or
298 local y = tonumber(loader.getenv("loader_brand_y")) or
301 local branddef = getBranddef(loader.getenv("loader_brand"))
328 local x = tonumber(loader.getenv("loader_logo_x")) or
330 local y = tonumber(loader.getenv("loader_logo_y")) or
333 local logo = loader.getenv("loader_logo")
384 local console = loader.getenv("console")
H A Dmenu.lua339 if loader.getenv("kernelname") ~= nil then
392 "oad " .. loader.getenv('chain_disk')
396 loader.getenv('chain_disk'))
399 return loader.getenv('chain_disk') ~= nil
473 local delay = loader.getenv("autoboot_delay")
507 local x = loader.getenv("loader_menu_timeout_x") or 4
508 local y = loader.getenv("loader_menu_timeout_y") or 23
537 local cmd = loader.getenv("menu_timeout_command") or "boot"
/freebsd-13.1/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_getenv.c74 ATF_CHECK_STREQ(getenv("crap0"), "0"); in ATF_TC_BODY()
75 ATF_CHECK(getenv("crap1") == NULL); in ATF_TC_BODY()
76 ATF_CHECK(getenv("crap2") == NULL); in ATF_TC_BODY()
90 ATF_CHECK(getenv("EVIL=very") == NULL); in ATF_TC_BODY()
108 ATF_CHECK_STREQ(getenv("crap"), "true"); in ATF_TC_BODY()
110 ATF_CHECK_STREQ(getenv("clap"), "true"); in ATF_TC_BODY()
111 ATF_CHECK(getenv("crap") == NULL); in ATF_TC_BODY()
114 ATF_CHECK(getenv("crap") == NULL); in ATF_TC_BODY()
143 ATF_CHECK_STREQ(getenv(name), value); in ATF_TC_BODY()
151 ATF_CHECK(getenv(name) == NULL); in ATF_TC_BODY()
[all …]
/freebsd-13.1/contrib/kyua/utils/
H A Denv_test.cpp70 if (utils::getenv("PATH")) { in ATF_TEST_CASE_BODY()
79 ATF_TEST_CASE_WITHOUT_HEAD(getenv);
80 ATF_TEST_CASE_BODY(getenv) in ATF_TEST_CASE_BODY() argument
86 ATF_REQUIRE(!utils::getenv("__UNDEFINED_VARIABLE__")); in ATF_TEST_CASE_BODY()
131 ATF_REQUIRE(utils::getenv("PATH")); in ATF_TEST_CASE_BODY()
132 const std::string oldval = utils::getenv("PATH").get(); in ATF_TEST_CASE_BODY()
134 ATF_REQUIRE(utils::getenv("PATH").get() != oldval); in ATF_TEST_CASE_BODY()
137 ATF_REQUIRE(!utils::getenv("__UNDEFINED_VARIABLE__")); in ATF_TEST_CASE_BODY()
146 ATF_REQUIRE(utils::getenv("PATH")); in ATF_TEST_CASE_BODY()
148 ATF_REQUIRE(!utils::getenv("PATH")); in ATF_TEST_CASE_BODY()
[all …]
H A Denv.cpp85 utils::getenv(const std::string& name) in getenv() function in utils
87 const char* value = std::getenv(name.c_str()); in getenv()
108 const char* value = std::getenv(name.c_str()); in getenv_with_default()
127 const optional< std::string > home = utils::getenv("HOME"); in get_home()
/freebsd-13.1/tools/regression/environ/
H A Dretention.c57 if (getenv(envName) != NULL) in main()
63 ((env1 = getenv(envName)) == NULL) || in main()
70 if ((unsetenv(envName) == -1) || ((env2 = getenv(envName)) != NULL)) in main()
76 ((env3 = getenv(envName)) == NULL) || in main()
84 ((env4 = getenv(envName)) == NULL) || in main()
92 ((env5 = getenv(envName)) == NULL) || in main()
H A Dtimings.c79 if (getenv(name) == NULL) in main()
111 if (getenv(name) == NULL) in main()
127 if (getenv(name2) == NULL) in main()
159 if (getenv(name2) == NULL) in main()
175 if (getenv(name2) == NULL) in main()
/freebsd-13.1/contrib/kyua/engine/
H A Dplain_helpers.cpp70 const optional< std::string > test_case_env = utils::getenv("TEST_CASE"); in guess_test_case_name()
148 const fs::path name = fs::path(utils::getenv("CONTROL_DIR").get()) / in test_spawn_blocking_child()
167 const fs::path control_dir = fs::path(utils::getenv("CONTROL_DIR").get()); in test_timeout()
182 if (utils::getenv("HOME").get() == "fake-value") in test_validate_isolation()
184 if (utils::getenv("LANG")) in test_validate_isolation()
/freebsd-13.1/stand/common/
H A Dboot.c168 cp = getenv("autoboot_delay"); in autoboot_maybe()
189 if ((cp = getenv("autoboot_delay"))) { in autoboot()
196 kernelname = getenv("kernelname"); in autoboot()
200 kernelname = getenv("kernelname"); in autoboot()
285 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
327 if (getenv("vfs.root.mountfrom") != NULL) in getrootmount()
389 if (getenv("vfs.root.mountfrom.options") == NULL) { in getrootmount()
405 currdev = getenv("currdev"); in getrootmount()
H A Dinterp.c74 if (getenv("prompt") == NULL) in interact()
76 if (getenv("interpret") == NULL) in interact()
132 if ((cp = getenv("prompt")) == NULL) in interp_emit_prompt()
141 ev = getenv(p + 2); in interp_emit_prompt()
/freebsd-13.1/contrib/less/
H A Dlesskey.c163 if ((p = getenv("HOME")) != NULL && *p != '\0')
166 else if ((p = getenv("INIT")) != NULL && *p != '\0')
298 if (getenv("HOME") == NULL)
304 char *drive = getenv("HOMEDRIVE");
305 char *path = getenv("HOMEPATH");
336 outfile = getenv("LESSKEY");
/freebsd-13.1/contrib/tnftp/src/
H A Dmain.c166 cp = getenv("FTPSERVERPORT"); in main()
214 cp = getenv("NETRC"); in main()
219 if ((tmpdir = getenv("TMPDIR")) == NULL) in main()
223 if ((cp = getenv("FTPMODE")) != NULL) { in main()
245 gateserver = getenv("FTPSERVER"); in main()
256 cp = getenv("TERM"); in main()
455 cp = getenv("HOME"); in main()
498 setupoption("ftp_proxy", getenv(FTP_PROXY), ""); in main()
499 setupoption("http_proxy", getenv(HTTP_PROXY), ""); in main()
500 setupoption("no_proxy", getenv(NO_PROXY), ""); in main()
[all …]
/freebsd-13.1/crypto/openssh/
H A Dreadpass.c130 if ((s = getenv("DISPLAY")) != NULL) in read_passphrase()
132 if ((s = getenv(SSH_ASKPASS_REQUIRE_ENV)) != NULL) { in read_passphrase()
175 if (getenv(SSH_ASKPASS_ENV)) in read_passphrase()
176 askpass = getenv(SSH_ASKPASS_ENV); in read_passphrase()
258 if ((askpass = getenv("SSH_ASKPASS")) == NULL) in notify_start()
264 if (getenv("DISPLAY") == NULL && in notify_start()
265 ((s = getenv(SSH_ASKPASS_REQUIRE_ENV)) == NULL || in notify_start()
/freebsd-13.1/crypto/heimdal/lib/roken/
H A Dget_default_username.c48 user = getenv ("USER"); in get_default_username()
50 user = getenv ("LOGNAME"); in get_default_username()
52 user = getenv ("USERNAME"); in get_default_username()
/freebsd-13.1/lib/libc/gen/
H A D__xuname.c57 if ((p = getenv("UNAME_s"))) in __xuname()
85 if ((p = getenv("UNAME_r"))) in __xuname()
101 if ((p = getenv("UNAME_v"))) in __xuname()
130 if ((p = getenv("UNAME_m"))) in __xuname()
/freebsd-13.1/usr.bin/mail/
H A Dv7.local.c59 char *tmp = getenv("MAIL"); in findmail()
90 if ((np = getenv("USER")) != NULL) in username()
92 if ((np = getenv("LOGNAME")) != NULL) in username()
/freebsd-13.1/stand/forth/
H A Dbeastie.4th50 s" loader_logo_x" getenv dup -1 <> if
53 s" loader_logo_y" getenv dup -1 <> if
64 s" loader_logo" getenv dup -1 = over 0= or if
65 dup 0= if 2drop else drop then \ getenv result unused
72 2drop ( c-addr/u -- ) \ getenv result unused
92 s" beastie_disable" getenv dup -1 <> if
103 s" loader_delay" getenv -1 = if
/freebsd-13.1/lib/libc/stdlib/
H A DMakefile.inc10 div.c exit.c getenv.c getopt.c getopt_long.c \
35 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \
47 MLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
/freebsd-13.1/usr.sbin/bsdinstall/distfetch/
H A Ddistfetch.c56 if (getenv("DISTRIBUTIONS") == NULL) in main()
59 diststring = strdup(getenv("DISTRIBUTIONS")); in main()
78 getenv("BSDINSTALL_DISTSITE"), strsep(&diststring, " \t")); in main()
81 if (chdir(getenv("BSDINSTALL_DISTDIR")) != 0) { in main()
84 getenv("BSDINSTALL_DISTDIR"), strerror(errno)); in main()
/freebsd-13.1/contrib/atf/atf-c/detail/
H A Denv.c42 const char* val = getenv(name); in atf_env_get()
50 const char* val = getenv(name); in atf_env_get_with_default()
60 return getenv(name) != NULL; in atf_env_has()
/freebsd-13.1/lib/libstdbuf/
H A Dstdbuf.c107 i_mode = getenv("_STDBUF_I"); in stdbuf()
108 o_mode = getenv("_STDBUF_O"); in stdbuf()
109 e_mode = getenv("_STDBUF_E"); in stdbuf()
/freebsd-13.1/contrib/tcsh/
H A Dsh.c187 if ((old = getenv("NLSPATH")) != NULL) in add_localedir_to_nlspath()
435 AsciiOnly = getenv("LANG") == NULL && getenv("LC_CTYPE") == NULL; in main()
556 if (getenv("DISPLAY") == NULL) { in main()
612 if ((tcp = getenv("HOME")) != NULL) in main()
651 cln = getenv("LOGNAME"); in main()
652 cus = getenv("USER"); in main()
666 cgr = getenv("GROUP"); in main()
765 if ((tcp = getenv("PATH")) == NULL) in main()
790 if ((tcp = getenv("SHELL")) != NULL) { in main()
821 if ((tmp = getenv("TMP")) != NULL) { in main()
[all …]
/freebsd-13.1/contrib/ofed/opensm/libvendor/
H A Dosm_pkt_randomizer.c270 tmp = atol(getenv("OSM_PKT_DROP_RATE")); in osm_pkt_randomizer_init()
273 if (getenv("OSM_PKT_NUM_UNSTABLE_LINKS") != NULL in osm_pkt_randomizer_init()
274 && (tmp = atol(getenv("OSM_PKT_NUM_UNSTABLE_LINKS"))) > 0) in osm_pkt_randomizer_init()
279 if (getenv("OSM_PKT_UNSTABLE_LINK_RATE") != NULL in osm_pkt_randomizer_init()
280 && (tmp = atol(getenv("OSM_PKT_UNSTABLE_LINK_RATE"))) > 0) in osm_pkt_randomizer_init()

12345678910>>...34