| /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 "" 305 return loader.getenv("zfs_be_active") 309 local bootenv_count = tonumber(loader.getenv(bootenv_list .. "_count")) 333 curenv = loader.getenv(bootenv_list .. "[" .. curenv_idx .. "]") [all …]
|
| H A D | drawer.lua | 206 if string.lower(loader.getenv("loader_menu") or "") == "none" then 258 return (loader.getenv("loader_gfx") or "yes"):lower() ~= "no" 270 local framestyle = loader.getenv("loader_menu_frame") or defaultframe() 322 local menu_header = loader.getenv("loader_menu_title") or 324 local menu_header_align = loader.getenv("loader_menu_title_align") 327 if string.lower(loader.getenv("loader_menu") or "") == "none" then 359 local x = tonumber(loader.getenv("loader_brand_x")) or 361 local y = tonumber(loader.getenv("loader_brand_y")) or 364 local branddef = getBranddef(loader.getenv("loader_brand")) 392 local x = tonumber(loader.getenv("loader_logo_x")) or [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 | 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 544 local autoboot_show = loader.getenv("loader_autoboot_show") or "yes" [all …]
|
| /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 | 20 getenv.c \ 93 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \ 106 MLINKS+=getenv.3 clearenv.3 \ 107 getenv.3 putenv.3 \ 108 getenv.3 secure_getenv.3 \ 109 getenv.3 setenv.3 \ 110 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/libexec/nuageinit/ |
| H A D | nuage.lua | 112 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 153 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 197 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 281 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 314 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 351 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 398 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 440 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 472 local root = os.getenv("NUAGE_FAKE_ROOTDIR") 575 local root = os.getenv("NUAGE_FAKE_ROOTDIR") [all …]
|
| /freebsd/crypto/krb5/src/plugins/gssapi/negoextest/ |
| H A D | main.c | 60 envstr = getenv("GSS_INIT_BINDING"); in gss_init_sec_context() 70 envstr = getenv("HOPS"); in gss_init_sec_context() 82 envstr = getenv("INIT_FAIL"); in gss_init_sec_context() 124 envstr = getenv("GSS_ACCEPT_BINDING"); in gss_accept_sec_context() 142 envstr = getenv("ACCEPT_FAIL"); in gss_accept_sec_context() 258 envstr = getenv(initiator ? "INIT_QUERY_FAIL" : "ACCEPT_QUERY_FAIL"); in gssspi_query_meta_data() 261 envstr = getenv(initiator ? "INIT_QUERY_NONE" : "ACCEPT_QUERY_NONE"); in gssspi_query_meta_data() 282 envstr = getenv(initiator ? "INIT_EXCHANGE_FAIL" : "ACCEPT_EXCHANGE_FAIL"); in gssspi_exchange_meta_data() 327 envstr = getenv("KEY"); in gss_inquire_sec_context_by_oid()
|
| /freebsd/stand/efi/loader/ |
| H A D | bootinfo.c | 81 console = getenv("console"); in bi_getboothowto() 90 getenv("efi_8250_uid") != NULL && in bi_getboothowto() 91 getenv("hw.uart.console") == NULL) { in bi_getboothowto() 111 tmp = getenv("efi_com_speed"); in bi_getboothowto() 114 tmp = getenv("efi_com_port"); in bi_getboothowto() 118 tmp = getenv("comconsole_port"); in bi_getboothowto() 213 efi_novmap = getenv("efi_disable_vmap"); in bi_load_efi_data() 374 rootdevname = getenv("rootdev"); in bi_load() 435 else if (getenv("acpi.revision") == NULL) { in bi_load()
|
| /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/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/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/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()
|