| /NextBSD/contrib/netbsd-tests/lib/libc/stdlib/ |
| HD | 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 …]
|
| /NextBSD/tools/regression/environ/ |
| HD | retention.c | 57 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()
|
| HD | timings.c | 79 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()
|
| /NextBSD/sys/boot/common/ |
| HD | boot.c | 153 cp = getenv("autoboot_delay"); in autoboot_maybe() 174 if ((cp = getenv("autoboot_delay"))) { in autoboot() 181 kernelname = getenv("kernelname"); in autoboot() 185 kernelname = getenv("kernelname"); in autoboot() 269 if ((spec = getenv("bootfile")) == NULL) in getbootfile() 311 if (getenv("vfs.root.mountfrom") != NULL) in getrootmount() 371 if (getenv("vfs.root.mountfrom.options") == NULL) { in getrootmount() 385 currdev = getenv("currdev"); in getrootmount()
|
| /NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| HD | ctfconvert.c | 166 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()
|
| HD | ctfmerge.c | 598 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 …]
|
| /NextBSD/contrib/tnftp/src/ |
| HD | main.c | 163 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() 494 setupoption("anonpass", getenv("FTPANONPASS"), anonpass); in main() 495 setupoption("ftp_proxy", getenv(FTP_PROXY), ""); in main() 496 setupoption("http_proxy", getenv(HTTP_PROXY), ""); in main() [all …]
|
| /NextBSD/sys/boot/forth/ |
| HD | beastie.4th | 50 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
|
| HD | menu.4th | 151 s" hint.acpi.0.rsdp" getenv 160 s" hint.acpi.0.disabled" getenv 294 s" kernels" getenv dup -1 = if 301 s" kernel_state" evaluate @ 48 + s" kernel[N]" 7 +c! getenv 303 s" kernel" getenv dup -1 = if 312 drop ( getenv cruft ) 313 s" kernel" getenv dup -1 = if 355 s" kernel" getenv dup -1 = if 433 2over menu_caption[x][y] getenv dup -1 <> if 442 drop ( getenv cruft ) [all …]
|
| HD | brand.4th | 46 s" loader_brand_x" getenv dup -1 <> if 49 s" loader_brand_y" getenv dup -1 <> if 59 s" loader_brand" getenv dup -1 = over 0= or if 60 dup 0= if 2drop else drop then \ getenv result unused 63 2drop ( c-addr/u -- ) \ getenv result unused
|
| /NextBSD/lib/libc/gen/ |
| HD | __xuname.c | 56 if ((p = getenv("UNAME_s"))) in __xuname() 84 if ((p = getenv("UNAME_r"))) in __xuname() 100 if ((p = getenv("UNAME_v"))) in __xuname() 129 if ((p = getenv("UNAME_m"))) in __xuname()
|
| /NextBSD/lib/libc/stdlib/ |
| HD | Makefile.inc | 8 bsearch.c div.c exit.c getenv.c getopt.c getopt_long.c \ 26 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \ 37 MLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
|
| /NextBSD/crypto/heimdal/lib/roken/ |
| HD | 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()
|
| /NextBSD/usr.bin/mail/ |
| HD | v7.local.c | 57 char *tmp = getenv("MAIL"); in findmail() 85 if ((np = getenv("USER")) != NULL) in username() 87 if ((np = getenv("LOGNAME")) != NULL) in username()
|
| /NextBSD/usr.sbin/bsdinstall/distfetch/ |
| HD | distfetch.c | 54 if (getenv("DISTRIBUTIONS") == NULL) in main() 57 diststring = strdup(getenv("DISTRIBUTIONS")); in main() 76 getenv("BSDINSTALL_DISTSITE"), strsep(&diststring, " \t")); in main() 79 if (chdir(getenv("BSDINSTALL_DISTDIR")) != 0) { in main() 82 getenv("BSDINSTALL_DISTDIR"), strerror(errno)); in main()
|
| /NextBSD/lib/libfetch/ |
| HD | common.c | 292 bindaddr = getenv("FETCH_BIND_ADDRESS"); in fetch_connect() 677 if (getenv("SSL_ALLOW_SSL3") == NULL) in fetch_ssl_setup_transport_layer() 679 if (getenv("SSL_NO_TLS1") != NULL) in fetch_ssl_setup_transport_layer() 681 if (getenv("SSL_NO_TLS1_1") != NULL) in fetch_ssl_setup_transport_layer() 683 if (getenv("SSL_NO_TLS1_2") != NULL) in fetch_ssl_setup_transport_layer() 703 if (getenv("SSL_NO_VERIFY_PEER") == NULL) { in fetch_ssl_setup_peer_verification() 704 ca_cert_file = getenv("SSL_CA_CERT_FILE"); in fetch_ssl_setup_peer_verification() 710 ca_cert_path = getenv("SSL_CA_CERT_PATH"); in fetch_ssl_setup_peer_verification() 724 if ((crl_file = getenv("SSL_CRL_FILE")) != NULL) { in fetch_ssl_setup_peer_verification() 754 if ((client_cert_file = getenv("SSL_CLIENT_CERT_FILE")) != NULL) { in fetch_ssl_setup_client_certificate() [all …]
|
| /NextBSD/contrib/groff/src/libs/libgroff/ |
| HD | tmpfile.cpp | 69 (tem = getenv(GROFF_TMPDIR_ENVVAR)) == NULL in temp_init() 70 && (tem = getenv(TMPDIR_ENVVAR)) == NULL in temp_init() 76 && (tem = getenv(WIN32_TMPDIR_ENVVAR)) == NULL in temp_init() 77 && (tem = getenv(MSDOS_TMPDIR_ENVVAR)) == NULL in temp_init()
|
| /NextBSD/contrib/atf/atf-c/detail/ |
| HD | env.c | 42 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()
|
| /NextBSD/lib/libstdbuf/ |
| HD | 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()
|
| /NextBSD/crypto/openssh/ |
| HD | readpass.c | 144 if ((flags & RP_USE_ASKPASS) && getenv("DISPLAY") == NULL) in read_passphrase() 147 if (use_askpass && getenv("DISPLAY")) { in read_passphrase() 148 if (getenv(SSH_ASKPASS_ENV)) in read_passphrase() 149 askpass = getenv(SSH_ASKPASS_ENV); in read_passphrase()
|
| /NextBSD/contrib/tcsh/ |
| HD | sh.c | 189 if ((old = getenv("NLSPATH")) != NULL) in add_localedir_to_nlspath() 401 NoNLSRebind = getenv("NOREBIND") != NULL; in main() 431 AsciiOnly = getenv("LANG") == NULL && getenv("LC_CTYPE") == NULL; in main() 548 if (getenv("DISPLAY") == NULL) { in main() 591 if ((tcp = getenv("HOME")) != NULL) in main() 599 if ((tcp = getenv("EXTERNAL_STORAGE")) != NULL) in main() 640 cln = getenv("LOGNAME"); in main() 641 cus = getenv("USER"); in main() 655 cgr = getenv("GROUP"); in main() 690 if ((tcp = getenv("SYSTYPE")) == NULL) in main() [all …]
|
| /NextBSD/contrib/ofed/management/opensm/libvendor/ |
| HD | osm_pkt_randomizer.c | 275 tmp = atol(getenv("OSM_PKT_DROP_RATE")); in osm_pkt_randomizer_init() 278 if (getenv("OSM_PKT_NUM_UNSTABLE_LINKS") != NULL in osm_pkt_randomizer_init() 279 && (tmp = atol(getenv("OSM_PKT_NUM_UNSTABLE_LINKS"))) > 0) in osm_pkt_randomizer_init() 284 if (getenv("OSM_PKT_UNSTABLE_LINK_RATE") != NULL in osm_pkt_randomizer_init() 285 && (tmp = atol(getenv("OSM_PKT_UNSTABLE_LINK_RATE"))) > 0) in osm_pkt_randomizer_init()
|
| /NextBSD/contrib/subversion/subversion/libsvn_subr/ |
| HD | gpg_agent.c | 216 gpg_agent_info = getenv("GPG_AGENT_INFO"); in find_running_gpg_agent() 329 tty_name = getenv("GPG_TTY"); in send_options() 337 tty_type = getenv("TERM"); in send_options() 345 lc_ctype = getenv("LC_ALL"); in send_options() 347 lc_ctype = getenv("LC_CTYPE"); in send_options() 349 lc_ctype = getenv("LANG"); in send_options() 359 display = getenv("DISPLAY"); in send_options()
|
| /NextBSD/contrib/libreadline/examples/ |
| HD | rl-fgets.c | 183 s = getenv ( "FGETS_PROMPT" ) ; in my_fgets_dump() 185 s = getenv ( "FGETS_COMMAND_FILE" ) ; in my_fgets_dump() 226 fname = getenv ( "FGETS_COMMAND_FILE" ) ; in my_fgets_lookup() 333 prompt = getenv ( "FGETS_PROMPT" ) ; in fgets()
|
| /NextBSD/contrib/mdocml/ |
| HD | manpage.c | 177 cmd = NULL != getenv("MANPAGER") ? in show() 178 getenv("MANPAGER") : in show() 179 (NULL != getenv("PAGER") ? in show() 180 getenv("PAGER") : "more"); in show()
|