Home
last modified time | relevance | path

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

12345678910>>...34

/freebsd-12.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-12.1/stand/lua/
H A Dcore.lua124 local c = loader.getenv("hint.acpi.0.rsdp")
131 c = loader.getenv("hint.acpi.0.disabled")
190 local k = loader.getenv("kernel")
191 local v = loader.getenv("kernels")
252 return loader.getenv("zfs_be_active")
294 if loader.getenv("kernelname") == nil then
302 if loader.getenv("kernelname") == nil then
320 local c = loader.getenv("currdev")
329 local c = loader.getenv("console")
339 local s = loader.getenv("boot_serial")
[all …]
H A Dconfig.lua72 local current_value = loader.getenv(k)
94 env_restore[key] = {value = loader.getenv(key)}
121 local replacement = loader.getenv(name) or ""
125 local replacement = loader.getenv(name) or ""
344 local f = loader.getenv("loader_conf_files")
391 local nextboot_file = loader.getenv("nextboot_conf")
494 local flags = loader.getenv("kernel_options") or ""
509 local module_path = loader.getenv("module_path")
510 local kernel_path = loader.getenv("kernel_path")
524 local bootfile = loader.getenv("bootfile")
[all …]
H A Ddrawer.lua160 local framestyle = loader.getenv("loader_menu_frame") or defaultframe()
201 local menu_header = loader.getenv("loader_menu_title") or
203 local menu_header_align = loader.getenv("loader_menu_title_align")
224 local x = tonumber(loader.getenv("loader_brand_x")) or
226 local y = tonumber(loader.getenv("loader_brand_y")) or
229 local branddef = getBranddef(loader.getenv("loader_brand"))
243 local x = tonumber(loader.getenv("loader_logo_x")) or
245 local y = tonumber(loader.getenv("loader_logo_y")) or
248 local logo = loader.getenv("loader_logo")
H A Dmenu.lua315 if loader.getenv("kernelname") ~= nil then
345 "oad " .. loader.getenv('chain_disk')
349 loader.getenv('chain_disk'))
352 return loader.getenv('chain_disk') ~= nil
426 local delay = loader.getenv("autoboot_delay")
460 local x = loader.getenv("loader_menu_timeout_x") or 4
461 local y = loader.getenv("loader_menu_timeout_y") or 23
491 local cmd = loader.getenv("menu_timeout_command") or "boot"
/freebsd-12.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-12.1/stand/common/
H A Dboot.c165 cp = getenv("autoboot_delay"); in autoboot_maybe()
186 if ((cp = getenv("autoboot_delay"))) { in autoboot()
193 kernelname = getenv("kernelname"); in autoboot()
197 kernelname = getenv("kernelname"); in autoboot()
281 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
323 if (getenv("vfs.root.mountfrom") != NULL) in getrootmount()
385 if (getenv("vfs.root.mountfrom.options") == NULL) { in getrootmount()
401 currdev = getenv("currdev"); in getrootmount()
H A Dinterp.c63 if (getenv("prompt") == NULL) in interact()
65 if (getenv("interpret") == NULL) in interact()
121 if ((cp = getenv("prompt")) == NULL) in interp_emit_prompt()
130 ev = getenv(p + 2); in interp_emit_prompt()
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfconvert.c166 if (getenv("CTFCONVERT_DEBUG_LEVEL")) in main()
167 debug_level = atoi(getenv("CTFCONVERT_DEBUG_LEVEL")); in main()
168 if (getenv("CTFCONVERT_DEBUG_PARSE")) in main()
169 debug_parse = atoi(getenv("CTFCONVERT_DEBUG_PARSE")); in main()
177 if ((label = getenv(optarg)) == NULL) in main()
201 if (getenv("STRIPSTABS_KEEP_STABS") != NULL) in main()
H A Dctfmerge.c598 int dounlink = getenv("CTFMERGE_TERMINATE_NO_UNLINK") ? 0 : 1; in terminate_cleanup()
637 if (getenv("CTFMERGE_MAX_SLOTS")) in wq_init()
638 nslots = atoi(getenv("CTFMERGE_MAX_SLOTS")); in wq_init()
642 if (getenv("CTFMERGE_PHASE1_BATCH_SIZE")) in wq_init()
643 wq->wq_maxbatchsz = atoi(getenv("CTFMERGE_PHASE1_BATCH_SIZE")); in wq_init()
655 if (getenv("CTFMERGE_INPUT_THROTTLE")) in wq_init()
656 throttle = atoi(getenv("CTFMERGE_INPUT_THROTTLE")); in wq_init()
767 if (getenv("CTFMERGE_DEBUG_LEVEL")) in main()
768 debug_level = atoi(getenv("CTFMERGE_DEBUG_LEVEL")); in main()
796 if ((label = getenv(optarg)) == NULL) in main()
[all …]
/freebsd-12.1/contrib/tnftp/src/
H A Dmain.c163 cp = getenv("FTPSERVERPORT"); in main()
211 cp = getenv("NETRC"); in main()
216 if ((tmpdir = getenv("TMPDIR")) == NULL) in main()
220 if ((cp = getenv("FTPMODE")) != NULL) { in main()
242 gateserver = getenv("FTPSERVER"); in main()
253 cp = getenv("TERM"); in main()
452 cp = getenv("HOME"); in main()
495 setupoption("ftp_proxy", getenv(FTP_PROXY), ""); in main()
496 setupoption("http_proxy", getenv(HTTP_PROXY), ""); in main()
497 setupoption("no_proxy", getenv(NO_PROXY), ""); in main()
[all …]
/freebsd-12.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-12.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
88 s" beastie_disable" getenv dup -1 <> if
99 s" loader_delay" getenv -1 = if
H A Dmenu.4th312 drop ( getenv cruft )
442 drop ( getenv cruft )
454 drop ( getenv cruft )
487 drop ( getenv cruft )
637 getenv dup -1 <> if
656 getenv dup -1 <> if
834 getenv dup -1 <> if
878 getenv dup -1 <> if
941 getenv dup -1 = if
954 getenv dup -1 = if
[all …]
/freebsd-12.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-12.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-12.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-12.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-12.1/contrib/tcsh/
H A Dsh.c190 if ((old = getenv("NLSPATH")) != NULL) in add_localedir_to_nlspath()
437 AsciiOnly = getenv("LANG") == NULL && getenv("LC_CTYPE") == NULL; in main()
558 if (getenv("DISPLAY") == NULL) { in main()
614 if ((tcp = getenv("HOME")) != NULL) in main()
653 cln = getenv("LOGNAME"); in main()
654 cus = getenv("USER"); in main()
668 cgr = getenv("GROUP"); in main()
767 if ((tcp = getenv("PATH")) == NULL) in main()
792 if ((tcp = getenv("SHELL")) != NULL) { in main()
823 if ((tmp = getenv("TMP")) != NULL) { in main()
[all …]
/freebsd-12.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-12.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-12.1/contrib/ofed/libmlx5/
H A Dmlx5.c287 env_value = getenv("MLX5_LOCAL_CPUS"); in mlx5_local_cpu_set()
378 env_value = getenv("MLX5_STALL_CQ_POLL"); in mlx5_read_env()
386 env_value = getenv("MLX5_STALL_NUM_LOOP"); in mlx5_read_env()
422 env = getenv("MLX5_TOTAL_UUARS"); in get_total_uuars()
442 env = getenv("MLX5_DEBUG_FILE"); in open_debug_file()
466 env = getenv("MLX5_DEBUG_MASK"); in set_debug_mask()
475 env = getenv("MLX5_FREEZE_ON_ERROR_CQE"); in set_freeze_on_error()
484 env = getenv("MLX5_POST_SEND_PREFER_BF"); in get_always_bf()
495 env = getenv("MLX5_SHUT_UP_BF"); in get_shut_up_bf()
507 env = getenv("MLX5_NUM_LOW_LAT_UUARS"); in get_num_low_lat_uuars()
[all …]
/freebsd-12.1/lib/libfetch/
H A Dcommon.c359 bindaddr = getenv("FETCH_BIND_ADDRESS"); in fetch_connect()
772 if (getenv("SSL_ALLOW_SSL3") == NULL) in fetch_ssl_setup_transport_layer()
774 if (getenv("SSL_NO_TLS1") != NULL) in fetch_ssl_setup_transport_layer()
776 if (getenv("SSL_NO_TLS1_1") != NULL) in fetch_ssl_setup_transport_layer()
778 if (getenv("SSL_NO_TLS1_2") != NULL) in fetch_ssl_setup_transport_layer()
798 if (getenv("SSL_NO_VERIFY_PEER") == NULL) { in fetch_ssl_setup_peer_verification()
799 ca_cert_file = getenv("SSL_CA_CERT_FILE"); in fetch_ssl_setup_peer_verification()
806 ca_cert_path = getenv("SSL_CA_CERT_PATH"); in fetch_ssl_setup_peer_verification()
1373 if ((p = getenv("NETRC")) != NULL) { in fetch_netrc_open()
1381 if ((p = getenv("HOME")) == NULL) { in fetch_netrc_open()
[all …]
/freebsd-12.1/crypto/openssh/
H A Dreadpass.c143 if ((flags & RP_USE_ASKPASS) && getenv("DISPLAY") == NULL) in read_passphrase()
146 if (use_askpass && getenv("DISPLAY")) { in read_passphrase()
147 if (getenv(SSH_ASKPASS_ENV)) in read_passphrase()
148 askpass = getenv(SSH_ASKPASS_ENV); in read_passphrase()

12345678910>>...34