/freebsd-current/contrib/bmake/unit-tests/ |
H A D | unexport-env.exp | 1 UT_TEST=unexport-env
|
H A D | export-env.exp | 2 UT_TEST=export-env.mk 5 UT_LIT=literal export-env.mk 6 env: 7 UT_TEST=export-env.mk
|
H A D | directive-unexport-env.mk | 1 # $NetBSD: directive-unexport-env.mk,v 1.9 2023/06/01 20:56:35 rillig Exp $ 3 # Tests for the .unexport-env directive. 5 # Before 2020-12-13, the directive unexport-env wrongly accepted arguments 15 .unexport-env # ok 23 # expect+1: The directive .unexport-env does not take arguments 24 .unexport-env UT_EXPORTED UT_UNEXPORTED
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.coverage.exe | 29 while true; do env > /dev/null; done
|
/freebsd-current/contrib/openpam/lib/libpam/ |
H A D | openpam_free_envlist.c | 47 char **env; local 52 for (env = envlist; *env != NULL; ++env) 53 FREE(*env);
|
H A D | pam_setenv.c | 63 char *env; local 79 if (asprintf(&env, "%s=%s", name, value) < 0) 81 r = pam_putenv(pamh, env); 82 FREE(env);
|
/freebsd-current/crypto/heimdal/lib/hx509/ |
H A D | env.c | 46 * @param env enviroment to add the enviroment variable too. 56 hx509_env_add(hx509_context context, hx509_env *env, argument 82 if (*env) { 83 hx509_env e = *env; 88 *env = n; 97 * @param env enviroment to add the enviroment variable too. 107 hx509_env_add_binding(hx509_context context, hx509_env *env, argument 128 if (*env) { 129 hx509_env e = *env; 134 *env 154 hx509_env_lfind(hx509_context context, hx509_env env, const char *key, size_t len) argument 179 hx509_env_find(hx509_context context, hx509_env env, const char *key) argument 202 hx509_env_find_binding(hx509_context context, hx509_env env, const char *key) argument 240 hx509_env_free(hx509_env *env) argument [all...] |
/freebsd-current/contrib/atf/atf-c++/detail/ |
H A D | env_test.cpp | 26 #include "atf-c++/detail/env.hpp" 41 ATF_REQUIRE(atf::env::has("PATH")); 42 ATF_REQUIRE(!atf::env::get("PATH").empty()); 44 ATF_REQUIRE(!atf::env::has("_UNDEFINED_VARIABLE_")); 54 ATF_REQUIRE(atf::env::has("PATH")); 55 ATF_REQUIRE(atf::env::get("PATH", "default value") != "default value"); 57 ATF_REQUIRE_EQ(atf::env::get("_UNDEFINED_VARIABLE_", "foo bar"), "foo bar"); 67 ATF_REQUIRE(atf::env::has("PATH")); 68 const std::string& oldval = atf::env::get("PATH"); 69 atf::env [all...] |
/freebsd-current/lib/csu/riscv/ |
H A D | crt1_c.c | 40 void __start(int argc, char **argv, char **env, void (*cleanup)(void)) __dead2; 43 __start(int argc, char **argv, char **env, void (*cleanup)(void)) argument 46 __libc_start1_gcrt(argc, argv, env, cleanup, main, &eprol, &etext); 49 __libc_start1(argc, argv, env, cleanup, main);
|
/freebsd-current/contrib/unbound/dynlibmod/examples/ |
H A D | helloworld.c | 40 EXPORT int init(struct module_env* env, int id) { argument 42 struct dynlibmod_env* de = (struct dynlibmod_env*) env->modinfo[id]; 45 NULL, env, id); 46 struct dynlibmod_env* local_env = env->modinfo[id]; 53 EXPORT void deinit(struct module_env* env, int id) { argument 55 struct dynlibmod_env* de = (struct dynlibmod_env*) env->modinfo[id]; 56 de->inplace_cb_delete_wrapped(env, inplace_cb_reply, id); 73 struct dynlibmod_env* env = qstate->env->modinfo[id]; local 74 if (env 102 struct dynlibmod_env* env = qstate->env->modinfo[id]; local 111 get_mem(struct module_env* env, int id) argument 124 struct dynlibmod_env* env = qstate->env->modinfo[id]; local [all...] |
/freebsd-current/contrib/kyua/model/ |
H A D | context_test.cpp | 45 std::map< std::string, std::string > env; local 46 env["foo"] = "first"; 47 env["bar"] = "second"; 48 const model::context context(fs::path("/foo/bar"), env); 50 ATF_REQUIRE(env == context.env()); 57 std::map< std::string, std::string > env; local 58 env["foo"] = "first"; 59 const model::context context1(fs::path("/foo/bar"), env); 60 const model::context context2(fs::path("/foo/bar"), env); 76 const std::map< std::string, std::string > env; local 88 std::map< std::string, std::string > env; local [all...] |
/freebsd-current/usr.bin/env/ |
H A D | Makefile | 3 PROG= env 4 SRCS= env.c envopts.c
|
/freebsd-current/stand/kboot/libkboot/arch/powerpc64/ |
H A D | start_arch.h | 26 _start(int argc, const char **argv, char **env, void *obj __unused, argument 29 main(argc, argv, env);
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | environment.c | 42 /* find assignment in env list; len is length of variable including 47 find_var(char **env, char *assignment, size_t len) argument 50 for(i = 0; env != NULL && env[i] != NULL; i++) 51 if(strncmp(env[i], assignment, len) == 0) 58 * assigned and list of malloced strings in env, return 0 or errno 63 read_env_file(FILE *F, char ***env, int *assigned) argument 74 for(idx = 0; *env != NULL && (*env)[idx] != NULL; idx++); 75 l = *env; 131 read_environment(const char *file, char ***env) argument 145 free_environment(char **env) argument [all...] |
/freebsd-current/sbin/ipf/libipf/ |
H A D | assigndefined.c | 12 assigndefined(char *env) argument 16 if (env == NULL) 19 for (s = strtok(env, ";"); s != NULL; s = strtok(NULL, ";")) {
|
/freebsd-current/lib/msun/src/ |
H A D | s_lrint.c | 49 fenv_t env; local 52 feholdexcept(&env); 56 feupdateenv(&env);
|
H A D | s_nearbyint.c | 48 fenv_t env; \ 50 fegetenv(&env); \ 52 fesetenv(&env); \
|
/freebsd-current/usr.sbin/ypldap/ |
H A D | ypldap.c | 49 void main_configure_client(struct env *); 51 void main_start_update(struct env *); 52 void main_trash_update(struct env *); 53 void main_end_update(struct env *); 54 int main_create_user_groups(struct env *); 55 void purge_config(struct env *); 56 void reconfigure(struct env *); 127 main_start_update(struct env *env) argument 129 env 149 main_trash_update(struct env *env) argument 177 main_create_user_groups(struct env *env) argument 274 main_end_update(struct env *env) argument 354 struct env *env = p; local 465 main_configure_client(struct env *env) argument 481 struct env *env = p; local 487 purge_config(struct env *env) argument 503 struct env env; local [all...] |
/freebsd-current/contrib/googletest/googletest/test/ |
H A D | gtest_environment_test.cc | 114 int RunAllTests(MyEnvironment* env, FailureType failure) { argument 115 env->Reset(); 116 env->set_failure_in_set_up(failure); 129 MyEnvironment* const env = new MyEnvironment; local 130 Check(testing::AddGlobalTestEnvironment(env) == env, 135 Check(RunAllTests(env, NO_FAILURE) != 0, 141 Check(env->tear_down_was_run(), 146 Check(RunAllTests(env, NON_FATAL_FAILURE) != 0, 152 Check(env [all...] |
/freebsd-current/crypto/heimdal/appl/login/ |
H A D | env.c | 41 char **env; variable 47 env = realloc(env, (num_env + 1) * sizeof(*env)); 48 if(env == NULL) 50 env[num_env++] = str; 62 if(strncmp(env[i], var, strlen(var)) == 0 && 63 env[i][strlen(var)] == '='){ 64 free(env[i]); 65 env[ [all...] |
/freebsd-current/libexec/rtld-elf/tests/ |
H A D | common.c | 36 char * const env[] = { senv, NULL }; local 38 try_to_run(binary, 0, env, "the hypotenuse of 3 and 4 is 5\n", ""); 44 char * const env[] = { senv, NULL }; local 46 try_to_run(binary, 1, env, "", 52 try_to_run(int binary, int exit_status, char * const *env, argument 60 fexecve(binary, args, env);
|
/freebsd-current/contrib/elftoolchain/libelftc/ |
H A D | elftc_timestamp.c | 39 char *env, *eptr; local 41 if ((env = getenv("SOURCE_DATE_EPOCH")) != NULL) { 43 source_date_epoch = strtoll(env, &eptr, 10);
|
/freebsd-current/contrib/unbound/dns64/ |
H A D | dns64.h | 53 int dns64_init(struct module_env* env, int id); 56 void dns64_deinit(struct module_env* env, int id); 69 size_t dns64_get_mem(struct module_env* env, int id);
|
/freebsd-current/contrib/unbound/services/ |
H A D | modstack.h | 90 * @param env: module environment which is inited by the modules. 92 * env.need_to_validate is set by the modules. 96 struct module_env* env); 101 * @param env: module env for module deinit() calls. 103 void modstack_desetup(struct module_stack* stack, struct module_env* env); 114 size_t mod_get_mem(struct module_env* env, const char* name);
|
/freebsd-current/usr.bin/printenv/tests/ |
H A D | printenv_test.sh | 38 printenv | while IFS= read -r env; do 39 env_name=${env%%=*} 40 env_value=${env#*=}
|