Home
last modified time | relevance | path

Searched refs:env_var (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-env-var-test.py53 def SetEnvVar(env_var, value): argument
57 environ[env_var] = value
58 elif env_var in environ:
59 del environ[env_var]
74 env_var = 'GTEST_' + flag.upper()
75 SetEnvVar(env_var, test_val)
77 SetEnvVar(env_var, None)
H A Dgoogletest-throw-on-failure-test.py57 def SetEnvVar(env_var, value): argument
68 env_var = env_var.upper()
70 os.environ[env_var] = value
71 elif env_var in os.environ:
72 del os.environ[env_var]
H A Dgoogletest-color-test.py44 def SetEnvVar(env_var, value): argument
48 os.environ[env_var] = value
49 elif env_var in os.environ:
50 del os.environ[env_var]
H A Dgtest_test_utils.py56 def SetEnvVar(env_var, value): argument
60 environ[env_var] = value
61 elif env_var in environ:
62 del environ[env_var]
H A Dgoogletest-failfast-unittest.py83 def SetEnvVar(env_var, value): argument
87 environ[env_var] = value
88 elif env_var in environ:
89 del environ[env_var]
H A Dgoogletest-filter-unittest.py183 def SetEnvVar(env_var, value): argument
187 environ[env_var] = value
188 elif env_var in environ:
189 del environ[env_var]
/freebsd/stand/libsa/
H A Denvironment.c37 struct env_var *environ = NULL;
42 struct env_var *
45 struct env_var *ev; in env_getenv()
65 struct env_var *ev, *curr, *last; in env_setenv()
86 ev = malloc(sizeof(struct env_var)); in env_setenv()
139 struct env_var *ev; in getenv()
176 struct env_var *ev; in unsetenv()
193 env_discard(struct env_var *ev) in env_discard()
208 env_noset(struct env_var *ev __unused, int flags __unused, in env_noset()
215 env_nounset(struct env_var *ev __unused) in env_nounset()
H A Dstand.h348 struct env_var;
349 typedef char *(ev_format_t)(struct env_var *ev);
350 typedef int (ev_sethook_t)(struct env_var *ev, int flags,
352 typedef int (ev_unsethook_t)(struct env_var *ev);
354 struct env_var struct
361 struct env_var *ev_next, *ev_prev; argument
363 extern struct env_var *environ;
365 extern struct env_var *env_getenv(const char *name);
369 extern void env_discard(struct env_var *);
/freebsd/stand/i386/libi386/
H A Dcomconsole.c53 static int comc_pcidev_set(struct env_var *ev, int flags,
56 static int comc_port_set(struct env_var *ev, int flags,
59 static int comc_speed_set(struct env_var *ev, int flags,
172 comc_speed_set(struct env_var *ev, int flags, const void *value) in comc_speed_set()
190 comc_port_set(struct env_var *ev, int flags, const void *value) in comc_port_set()
298 comc_pcidev_set(struct env_var *ev, int flags, const void *value) in comc_pcidev_set()
H A Dvidconsole.c567 vidc_set_colors(struct env_var *ev, int flags, const void *value) in vidc_set_colors()
624 env_screen_nounset(struct env_var *ev __unused) in env_screen_nounset()
/freebsd/stand/common/
H A Dconsole.c36 static int cons_set(struct env_var *ev, int flags, const void *value);
40 static int twiddle_set(struct env_var *ev, int flags, const void *value);
48 module_verbose_set(struct env_var *ev, int flags, const void *value) in module_verbose_set()
201 cons_set(struct env_var *ev, int flags, const void *value) in cons_set()
335 twiddle_set(struct env_var *ev, int flags, const void *value) in twiddle_set()
H A Dmisc.c172 int mount_currdev(struct env_var *ev, int flags, const void *value) in mount_currdev()
195 gen_setcurrdev(struct env_var *ev, int flags, const void *value) in gen_setcurrdev()
H A Dbootstrap.h383 int gen_setcurrdev(struct env_var *ev, int flags, const void *value);
384 int mount_currdev(struct env_var *, int, const void *);
H A Dmodinfo.c162 struct env_var *ep; in md_copyenv()
H A Dcommands.c263 struct env_var *ev; in command_show()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp74 return affinity.env_var; in __kmp_get_affinity_env_var()
723 void kmp_topology_t::print(const char *env_var) const { in print()
731 KMP_INFORM(AvailableOSProc, env_var, num_hw_threads); in print()
733 KMP_INFORM(AvailableOSProc, env_var, __kmp_xproc); in print()
738 KMP_INFORM(Uniform, env_var); in print()
740 KMP_INFORM(NonUniform, env_var); in print()
747 KMP_INFORM(AffEqualTopologyTypes, env_var, in print()
801 KMP_INFORM(TopologyGeneric, env_var, buf.str, ncores); in print()
812 KMP_INFORM(TopologyHybrid, env_var, ncores, in print()
819 KMP_INFORM(TopologyHybridCoreEff, env_var, ncores_with_eff, eff); in print()
[all …]
H A Dkmp_affinity.h522 void determine_capable(const char *env_var) override { in determine_capable() argument
523 __kmp_affinity_determine_capable(env_var); in determine_capable()
740 void determine_capable(const char *env_var) override { in determine_capable() argument
741 __kmp_affinity_determine_capable(env_var); in determine_capable()
1062 void print(const char *env_var = "KMP_AFFINITY") const;
H A Dz_Linux_util.cpp150 void __kmp_affinity_determine_capable(const char *env_var) { in __kmp_affinity_determine_capable() argument
175 void __kmp_affinity_determine_capable(const char *env_var) { in __kmp_affinity_determine_capable() argument
210 __kmp_msg(kmp_ms_warning, KMP_MSG(GetAffSysCallNotSupported, env_var), in __kmp_affinity_determine_capable()
252 __kmp_msg(kmp_ms_warning, KMP_MSG(GetAffSysCallNotSupported, env_var), in __kmp_affinity_determine_capable()
298 KMP_WARNING(AffCantGetMaskSize, env_var); in __kmp_affinity_determine_capable()
1312 *affinity = KMP_AFFINITY_INIT(affinity->env_var); in __kmp_atfork_child()
H A Dkmp.h801 virtual void determine_capable(const char *env_var) {} in determine_capable() argument
937 const char *env_var; member
3928 extern void __kmp_affinity_determine_capable(const char *env_var);
4730 const char *env_var = nullptr)
4732 open(filename, mode, env_var); in f()
4740 const char *env_var = nullptr) {
4745 if (env_var) {
4747 KMP_HNT(CheckEnvVar, env_var, filename), __kmp_msg_null);
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-port.cc1313 Message env_var; in FlagToEnvVar() local
1315 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar()
1318 return env_var.GetString(); in FlagToEnvVar()
1370 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv()
1371 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
1384 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv()
1385 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
1392 if (!ParseInt32(Message() << "Environment variable " << env_var, string_value, in Int32FromGTestEnv()
1427 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv()
1428 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
/freebsd/stand/efi/libefi/
H A Deficom.c61 static int comc_port_set(struct env_var *, int, const void *);
62 static int comc_speed_set(struct env_var *, int, const void *);
490 comc_port_set(struct env_var *ev, int flags, const void *value) in comc_port_set()
528 comc_speed_set(struct env_var *ev, int flags, const void *value) in comc_speed_set()
/freebsd/stand/uboot/
H A Dlibuboot.h51 int uboot_setcurrdev(struct env_var *ev, int flags, const void *value);
H A Ddevicename.c169 uboot_setcurrdev(struct env_var *ev, int flags, const void *value) in uboot_setcurrdev()
/freebsd/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify_static.cpp239 const char *env_var; member
1227 for (i = 0; group_alias[i].env_var != NULL; i++) in __itt_get_groups()
1228 if (__itt_get_env_var(group_alias[i].env_var) != NULL) in __itt_get_groups()
/freebsd/stand/libsa/zfs/
H A Dzfs.c848 zfs_nvstore_sethook(struct env_var *ev, int flags __unused, const void *value) in zfs_nvstore_sethook()
867 zfs_nvstore_unsethook(struct env_var *ev) in zfs_nvstore_unsethook()
1268 struct env_var *ev = env_getenv(name); in zfs_nvstore_unset_impl()

12