Searched refs:getenv (Results 1 - 25 of 769) sorted by relevance

1234567891011>>

/freebsd-current/tools/build/cross-build/
H A Dsecure_getenv.c15 return (getenv(name));
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DMCJIT.h28 // 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 DLinkAllAsmWriterComponents.h26 // 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 Dsetenv.c3 * 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 Dclearenv_test.c52 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 Dt_getenv.c74 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 Dget_default_username.c48 user = getenv ("USER");
50 user = getenv ("LOGNAME");
52 user = getenv ("USERNAME");
H A Dsetenv.c53 if (!rewrite && getenv(var) != 0)
/freebsd-current/usr.bin/mail/
H A Dv7.local.c51 char *tmp = getenv("MAIL");
82 if ((np = getenv("USER")) != NULL)
84 if ((np = getenv("LOGNAME")) != NULL)
H A Dtemp.c48 if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
74 if ((cp = getenv("HOME")) == NULL || *cp == '\0' ||
/freebsd-current/lib/libutil/
H A Dstub.c43 if (getenv("CRYPT_DEBUG") != NULL)
H A Dlogin_crypt.c41 if (getenv("CRYPT_DEBUG") != NULL)
/freebsd-current/tools/regression/environ/
H A Dretention.c54 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 Denv_test.cpp70 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 Denv.hpp49 optional< std::string > getenv(const std::string&);
/freebsd-current/contrib/kyua/integration/helpers/
H A Dbad_test_program.cpp40 const char* cookie = std::getenv("CREATE_COOKIE");
H A Dconfig.cpp37 const char* output = ::getenv("CONFIG_VAR_FILE");
/freebsd-current/contrib/netbsd-tests/libexec/ld.elf_so/helper_ifunc_dso/
H A Dh_helper_ifunc.c48 const char *e = getenv("USE_IFUNC2");
/freebsd-current/contrib/llvm-project/llvm/include/llvm/
H A DLinkAllIR.h40 // 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 Dtimegm.c18 tz = getenv("TZ");
/freebsd-current/contrib/diff/lib/
H A Dposixver.c48 char const *s = getenv ("_POSIX2_VERSION");
/freebsd-current/contrib/elftoolchain/libelftc/
H A Delftc_timestamp.c41 if ((env = getenv("SOURCE_DATE_EPOCH")) != NULL) {
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dhome_terminfo.c57 if ((home = getenv("HOME")) != 0) {
/freebsd-current/lib/libc/gen/
H A Dgetosreldate.c46 if ((temp = getenv("OSVERSION"))) {
H A D__xuname.c52 if ((p = getenv("UNAME_s")))
80 if ((p = getenv("UNAME_r")))
96 if ((p = getenv("UNAME_v")))
125 if ((p = getenv("UNAME_m")))

Completed in 242 milliseconds

1234567891011>>