/freebsd/stand/lua/ |
H A D | core.lua | 50 local boot_single = loader.getenv("boot_single") or "no" 51 local boot_verbose = loader.getenv("boot_verbose") or "no" 140 if loader.getenv("acpi.rsdp") ~= nil then 153 local c = loader.getenv("hint.acpi.0.disabled") 206 local default_kernel = loader.getenv("kernel") 207 local v = loader.getenv("kernels") 208 local autodetect = loader.getenv("kernels_autodetect") or "" 299 return loader.getenv("zfs_be_active") 303 local bootenv_count = tonumber(loader.getenv(bootenv_list .. "_count")) 327 curenv = loader.getenv(bootenv_list .. "[" .. curenv_idx .. "]") [all …]
|
H A D | config.lua | 92 local current_value = loader.getenv(k) 121 return loader.getenv(key) 133 env_restore[key] = {value = loader.getenv(key)} 199 local repl = loader.getenv(name) or "" 366 local blacklist_str = loader.getenv('module_blacklist') 460 local nextboot_file = loader.getenv("nextboot_conf") 461 local nextboot_enable = loader.getenv("nextboot_enable") 549 return loader.getenv(key) 718 local flags = loader.getenv("kernel_options") or "" 719 local kernel = other_kernel or loader.getenv("kernel") [all …]
|
H A D | drawer.lua | 222 local framestyle = loader.getenv("loader_menu_frame") or defaultframe() 274 local menu_header = loader.getenv("loader_menu_title") or 276 local menu_header_align = loader.getenv("loader_menu_title_align") 307 local x = tonumber(loader.getenv("loader_brand_x")) or 309 local y = tonumber(loader.getenv("loader_brand_y")) or 312 local branddef = getBranddef(loader.getenv("loader_brand")) 339 local x = tonumber(loader.getenv("loader_logo_x")) or 341 local y = tonumber(loader.getenv("loader_logo_y")) or 344 local logo = loader.getenv("loader_logo") 395 local console = loader.getenv("console")
|
H A D | menu.lua | 59 if loader.getenv("kernelname") ~= nil then 65 return loader.getenv("loader_menu_multi_user_prompt") or "Multi user" 358 if loader.getenv("kernelname") ~= nil then 411 "oad " .. loader.getenv('chain_disk') 415 loader.getenv('chain_disk')) 418 return loader.getenv('chain_disk') ~= nil 507 local delay = loader.getenv("autoboot_delay") 542 local x = loader.getenv("loader_menu_timeout_x") or 4 543 local y = loader.getenv("loader_menu_timeout_y") or 24 575 local cmd = loader.getenv("menu_timeout_command") or "boot"
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_getenv.c | 74 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() 89 ATF_CHECK_STREQ(getenv("EVIL"), "very=bad"); 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() [all …]
|
/freebsd/contrib/kyua/utils/ |
H A D | env_test.cpp | 70 if (utils::getenv("PATH")) { in ATF_TEST_CASE_BODY() 74 ATF_REQUIRE_EQ(utils::getenv("PATH").get(), (*iter).second); in ATF_TEST_CASE_BODY() 79 ATF_TEST_CASE_WITHOUT_HEAD(getenv); 80 ATF_TEST_CASE_BODY(getenv) in ATF_TEST_CASE_BODY() argument 82 const optional< std::string > path = utils::getenv("PATH"); in ATF_TEST_CASE_BODY() 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() 135 ATF_REQUIRE_EQ("foo-bar", utils::getenv("PATH").get()); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/lib/libc/tests/stdlib/ |
H A D | clearenv_test.c | 52 ATF_CHECK(getenv(name) == NULL); in create_multiple_variables() 54 ATF_CHECK_STREQ(getenv(name), value); in create_multiple_variables() 66 ATF_CHECK(getenv(name) == NULL); in check_if_nulled_variables() 75 ATF_CHECK_STREQ(getenv(TEST_VARIABLE), "true"); in ATF_TC_BODY() 77 ATF_CHECK(getenv(TEST_VARIABLE) == NULL); in ATF_TC_BODY() 103 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) != NULL); in ATF_TC_BODY() 105 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) == NULL); in ATF_TC_BODY() 112 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) != NULL); in ATF_TC_BODY() 114 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) == NULL); in ATF_TC_BODY() 116 ATF_CHECK_STREQ(getenv(TEST_SYSTEM_VARIABLE), "test"); in ATF_TC_BODY() [all …]
|
/freebsd/release/scripts/oracle/ |
H A D | generate_metadata.lua | 6 local os_type = os.getenv("TYPE") 7 local os_version = os.getenv("OSRELEASE") 9 local capability_file = os.getenv("ORACLE_CAPABILITY") 11 local shapes_file = os.getenv("ORACLE_SHAPES") 13 local template_file = os.getenv("ORACLE_TEMPLATE") 14 local output_file = os.getenv("ORACLE_OUTPUT") 66 local dir = os.getenv("PWD")
|
/freebsd/tools/regression/environ/ |
H A D | retention.c | 54 if (getenv(envName) != NULL) in main() 60 ((env1 = getenv(envName)) == NULL) || in main() 67 if ((unsetenv(envName) == -1) || ((env2 = getenv(envName)) != NULL)) in main() 73 ((env3 = getenv(envName)) == NULL) || in main() 81 ((env4 = getenv(envName)) == NULL) || in main() 89 ((env5 = getenv(envName)) == NULL) || in main()
|
H A D | timings.c | 76 if (getenv(name) == NULL) in main() 108 if (getenv(name) == NULL) in main() 124 if (getenv(name2) == NULL) in main() 156 if (getenv(name2) == NULL) in main() 172 if (getenv(name2) == NULL) in main()
|
/freebsd/crypto/openssh/ |
H A D | readpass.c | 130 if (((s = getenv("DISPLAY")) != NULL && *s != '\0') || in read_passphrase() 131 ((s = getenv("WAYLAND_DISPLAY")) != NULL && *s != '\0')) in read_passphrase() 133 if ((s = getenv(SSH_ASKPASS_REQUIRE_ENV)) != NULL) { in read_passphrase() 176 if (getenv(SSH_ASKPASS_ENV)) in read_passphrase() 177 askpass = getenv(SSH_ASKPASS_ENV); in read_passphrase() 259 if ((askpass = getenv("SSH_ASKPASS")) == NULL) in notify_start() 265 if (getenv("DISPLAY") == NULL && getenv("WAYLAND_DISPLAY") == NULL && in notify_start() 266 ((s = getenv(SSH_ASKPASS_REQUIRE_ENV)) == NULL || in notify_start()
|
/freebsd/lib/libc/stdlib/ |
H A D | Makefile.inc | 7 div.c exit.c getenv.c getopt.c getopt_long.c \ 36 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \ 49 MLINKS+=getenv.3 clearenv.3 \ 50 getenv.3 putenv.3 \ 51 getenv.3 secure_getenv.3 \ 52 getenv.3 setenv.3 \ 53 getenv.3 unsetenv.3
|
/freebsd/contrib/kyua/engine/ |
H A D | plain_helpers.cpp | 70 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/stand/common/ |
H A D | boot.c | 166 cp = getenv("autoboot_delay"); in autoboot_maybe() 187 if ((cp = getenv("autoboot_delay"))) { in autoboot() 194 kernelname = getenv("kernelname"); in autoboot() 198 kernelname = getenv("kernelname"); in autoboot() 283 if ((spec = getenv("bootfile")) == NULL) in getbootfile() 325 if (getenv("vfs.root.mountfrom") != NULL) in getrootmount() 387 if (getenv("vfs.root.mountfrom.options") == NULL) { in getrootmount() 403 currdev = getenv("currdev"); in getrootmount()
|
H A D | interp.c | 77 if (getenv("prompt") == NULL) in interact() 79 if (getenv("interpret") == NULL) in interact() 139 if ((cp = getenv("prompt")) == NULL) in interp_emit_prompt() 148 ev = getenv(p + 2); in interp_emit_prompt()
|
H A D | metadata.c | 58 if (!strcmp(getenv("console"), "comconsole")) in md_getboothowto() 60 if (!strcmp(getenv("console"), "nullconsole")) in md_getboothowto() 113 rootdevname = getenv("rootdev"); in md_load_dual() 115 rootdevname = getenv("currdev"); in md_load_dual() 139 if (getenv("usefdt") != NULL) in md_load_dual()
|
/freebsd/contrib/tnftp/src/ |
H A D | main.c | 166 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() 497 setupoption("anonpass", getenv("FTPANONPASS"), anonpass); in main() 498 setupoption("ftp_proxy", getenv(FTP_PROXY), ""); in main() 499 setupoption("http_proxy", getenv(HTTP_PROXY), ""); in main() [all …]
|
/freebsd/contrib/less/ |
H A D | lesskey.c | 162 if ((p = getenv("HOME")) != NULL && *p != '\0') in homefile() 165 else if ((p = getenv("INIT")) != NULL && *p != '\0') in homefile() 291 if (getenv("HOME") == NULL) in main() 297 constant char *drive = getenv("HOMEDRIVE"); in main() 298 constant char *path = getenv("HOMEPATH"); in main() 329 outfile = getenv("LESSKEY"); in main()
|
/freebsd/lib/libc/gen/ |
H A D | __xuname.c | 52 if ((p = getenv("UNAME_s"))) in __xuname() 80 if ((p = getenv("UNAME_r"))) in __xuname() 96 if ((p = getenv("UNAME_v"))) in __xuname() 125 if ((p = getenv("UNAME_m"))) in __xuname()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | get_default_username.c | 48 user = getenv ("USER"); in get_default_username() 50 user = getenv ("LOGNAME"); in get_default_username() 52 user = getenv ("USERNAME"); in get_default_username()
|
/freebsd/stand/forth/ |
H A D | beastie.4th | 49 s" loader_logo_x" getenv dup -1 <> if 52 s" loader_logo_y" getenv dup -1 <> if 63 s" loader_logo" getenv dup -1 = over 0= or if 64 dup 0= if 2drop else drop then \ getenv result unused 71 2drop ( c-addr/u -- ) \ getenv result unused 91 s" beastie_disable" getenv dup -1 <> if 102 s" loader_delay" getenv -1 = if
|
/freebsd/usr.bin/mail/ |
H A D | v7.local.c | 51 char *tmp = getenv("MAIL"); in findmail() 82 if ((np = getenv("USER")) != NULL) in username() 84 if ((np = getenv("LOGNAME")) != NULL) in username()
|
/freebsd/stand/efi/loader/ |
H A D | bootinfo.c | 82 console = getenv("console"); in bi_getboothowto() 91 getenv("efi_8250_uid") != NULL && in bi_getboothowto() 92 getenv("hw.uart.console") == NULL) { in bi_getboothowto() 112 tmp = getenv("efi_com_speed"); in bi_getboothowto() 115 tmp = getenv("efi_com_port"); in bi_getboothowto() 119 tmp = getenv("comconsole_port"); in bi_getboothowto() 214 efi_novmap = getenv("efi_disable_vmap"); in bi_load_efi_data() 375 rootdevname = getenv("rootdev"); in bi_load()
|
/freebsd/contrib/tcsh/ |
H A D | sh.c | 187 if ((old = getenv("NLSPATH")) != NULL) in add_localedir_to_nlspath() 405 NoNLSRebind = getenv("NOREBIND") != NULL; in main() 435 AsciiOnly = getenv("LANG") == NULL && getenv("LC_CTYPE") == NULL; in main() 556 if (getenv("DISPLAY") == NULL) { in main() 605 if (((tcp = getenv("HOME")) != NULL && strcmp (tcp, "/data") != 0) in main() 606 || (tcp = getenv("EXTERNAL_STORAGE")) != 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() [all …]
|
/freebsd/lib/libstdbuf/ |
H A D | stdbuf.c | 105 i_mode = getenv("_STDBUF_I"); in stdbuf() 106 o_mode = getenv("_STDBUF_O"); in stdbuf() 107 e_mode = getenv("_STDBUF_E"); in stdbuf()
|