/freebsd-current/tools/build/cross-build/ |
H A D | secure_getenv.c | 15 return (getenv(name));
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
H A D | MCJIT.h | 28 // to know that getenv() never returns -1, this will do the job. 32 if (std::getenv("bar") != (char*) -1)
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LinkAllAsmWriterComponents.h | 26 // to know that getenv() never returns -1, this will do the job. 30 if (std::getenv("bar") != (char*) -1)
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | setenv.c | 3 * is implemented in terms of portable primitives only: getenv(), putenv() 22 char *getenv(); 25 if (clobber == 0 && getenv(name) != 0)
|
/freebsd-current/lib/libc/tests/stdlib/ |
H A D | clearenv_test.c | 52 ATF_CHECK(getenv(name) == NULL); 54 ATF_CHECK_STREQ(getenv(name), value); 66 ATF_CHECK(getenv(name) == NULL); 75 ATF_CHECK_STREQ(getenv(TEST_VARIABLE), "true"); 77 ATF_CHECK(getenv(TEST_VARIABLE) == NULL); 103 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) != NULL); 105 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) == NULL); 112 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) != NULL); 114 ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) == NULL); 116 ATF_CHECK_STREQ(getenv(TEST_SYSTEM_VARIABL [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_getenv.c | 74 ATF_CHECK_STREQ(getenv("crap0"), "0"); 75 ATF_CHECK(getenv("crap1") == NULL); 76 ATF_CHECK(getenv("crap2") == NULL); 83 "Test setenv(3), getenv(3)"); 89 ATF_CHECK_STREQ(getenv("EVIL"), "very=bad"); 90 ATF_CHECK(getenv("EVIL=very") == NULL); 98 "Test putenv(3), getenv(3), unsetenv(3)"); 108 ATF_CHECK_STREQ(getenv("crap"), "true"); 110 ATF_CHECK_STREQ(getenv("clap"), "true"); 111 ATF_CHECK(getenv("cra [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | get_default_username.c | 48 user = getenv ("USER"); 50 user = getenv ("LOGNAME"); 52 user = getenv ("USERNAME");
|
H A D | setenv.c | 53 if (!rewrite && getenv(var) != 0)
|
/freebsd-current/usr.bin/mail/ |
H A D | v7.local.c | 51 char *tmp = getenv("MAIL"); 82 if ((np = getenv("USER")) != NULL) 84 if ((np = getenv("LOGNAME")) != NULL)
|
H A D | temp.c | 48 if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0') 74 if ((cp = getenv("HOME")) == NULL || *cp == '\0' ||
|
/freebsd-current/lib/libutil/ |
H A D | stub.c | 43 if (getenv("CRYPT_DEBUG") != NULL)
|
H A D | login_crypt.c | 41 if (getenv("CRYPT_DEBUG") != NULL)
|
/freebsd-current/tools/regression/environ/ |
H A D | retention.c | 54 if (getenv(envName) != NULL) 56 printf("ok %d - getenv(\"%s\")\n", ++testNdx, envName); 60 ((env1 = getenv(envName)) == NULL) || 67 if ((unsetenv(envName) == -1) || ((env2 = getenv(envName)) != NULL)) 73 ((env3 = getenv(envName)) == NULL) || 81 ((env4 = getenv(envName)) == NULL) || 89 ((env5 = getenv(envName)) == NULL) ||
|
/freebsd-current/contrib/kyua/utils/ |
H A D | env_test.cpp | 70 if (utils::getenv("PATH")) { 74 ATF_REQUIRE_EQ(utils::getenv("PATH").get(), (*iter).second); 79 ATF_TEST_CASE_WITHOUT_HEAD(getenv); variable 80 ATF_TEST_CASE_BODY(getenv) 82 const optional< std::string > path = utils::getenv("PATH"); 86 ATF_REQUIRE(!utils::getenv("__UNDEFINED_VARIABLE__")); 131 ATF_REQUIRE(utils::getenv("PATH")); 132 const std::string oldval = utils::getenv("PATH").get(); 134 ATF_REQUIRE(utils::getenv("PATH").get() != oldval); 135 ATF_REQUIRE_EQ("foo-bar", utils::getenv("PAT [all...] |
H A D | env.hpp | 49 optional< std::string > getenv(const std::string&);
|
/freebsd-current/contrib/kyua/integration/helpers/ |
H A D | bad_test_program.cpp | 40 const char* cookie = std::getenv("CREATE_COOKIE");
|
H A D | config.cpp | 37 const char* output = ::getenv("CONFIG_VAR_FILE");
|
/freebsd-current/contrib/netbsd-tests/libexec/ld.elf_so/helper_ifunc_dso/ |
H A D | h_helper_ifunc.c | 48 const char *e = getenv("USE_IFUNC2");
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ |
H A D | LinkAllIR.h | 40 // to know that getenv() never returns -1, this will do the job. 44 if (std::getenv("bar") != (char*) -1)
|
/freebsd-current/contrib/ldns/compat/ |
H A D | timegm.c | 18 tz = getenv("TZ");
|
/freebsd-current/contrib/diff/lib/ |
H A D | posixver.c | 48 char const *s = getenv ("_POSIX2_VERSION");
|
/freebsd-current/contrib/elftoolchain/libelftc/ |
H A D | elftc_timestamp.c | 41 if ((env = getenv("SOURCE_DATE_EPOCH")) != NULL) {
|
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | home_terminfo.c | 57 if ((home = getenv("HOME")) != 0) {
|
/freebsd-current/lib/libc/gen/ |
H A D | getosreldate.c | 46 if ((temp = getenv("OSVERSION"))) {
|
H A D | __xuname.c | 52 if ((p = getenv("UNAME_s"))) 80 if ((p = getenv("UNAME_r"))) 96 if ((p = getenv("UNAME_v"))) 125 if ((p = getenv("UNAME_m")))
|