Home
last modified time | relevance | path

Searched refs:getenv (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/lib/storage/common/
H A Dl_common.h55 #define S_DPRINTF if (getenv("_LUX_S_DEBUG") != NULL) (void) printf
58 #define P_DPRINTF if (getenv("_LUX_P_DEBUG") != NULL) (void) printf
61 #define O_DPRINTF if (getenv("_LUX_O_DEBUG") != NULL) (void) printf
64 #define I_DPRINTF if (getenv("_LUX_I_DEBUG") != NULL) (void) printf
67 #define H_DPRINTF if (getenv("_LUX_H_DEBUG") != NULL) (void) printf
70 #define L_DPRINTF if (getenv("_LUX_L_DEBUG") != NULL) (void) printf
73 #define G_DPRINTF if (getenv("_LUX_G_DEBUG") != NULL) (void) printf
76 #define B_DPRINTF if (getenv("_LUX_B_DEBUG") != NULL) (void) printf
79 #define N_DPRINTF if (getenv("_LUX_N_DEBUG") != NULL) (void) printf
82 #define W_DPRINTF if (getenv("_LUX_W_DEBUG") != NULL) (void) printf
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dgetenv.c25 __STDPP__directive pragma pp:hide getenv
31 __STDPP__directive pragma pp:nohide getenv
48 #if _UWIN && !defined(getenv)
89 #if defined(__EXPORT__) && defined(getenv)
94 getenv(const char* name) in getenv() function
96 #if _UWIN && !defined(getenv) /* for ast54 compatibility */ in getenv()
110 #undef getenv in getenv()
111 return intercepts.intercept_getenv ? (*intercepts.intercept_getenv)(name) : getenv(name); in getenv()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c139 if (getenv("_LUX_S_DEBUG") != NULL) { in cmd()
186 if (getenv("_LUX_S_DEBUG") != NULL) { in cmd()
197 if ((getenv("_LUX_S_DEBUG") != NULL) || in cmd()
198 (getenv("_LUX_ER_DEBUG") != NULL)) { in cmd()
247 if ((getenv("_LUX_S_DEBUG") != NULL) || in cmd()
248 (getenv("_LUX_ER_DEBUG") != NULL)) { in cmd()
324 if (((getenv("_LUX_S_DEBUG") != NULL) || in cmd()
325 (getenv("_LUX_ER_DEBUG") != NULL)) && in cmd()
/illumos-gate/usr/src/boot/forth/
H A Dmenu-commands.4th50 s" smartos" getenv? if
53 s" boot_single" getenv -1 <> if
71 s" smartos" getenv? if
74 s" boot_single" getenv -1 <> if
87 s" smartos" getenv? if
283 \ getenv os_console, if not set getenv console, if not set, default to "text"
288 s" os_console" getenv dup -1 = if
290 s" console" getenv dup -1 = if
397 s" nmi_initial" getenv? if else
403 s" boot_kmdb" getenv -1 <> if
[all …]
H A Dbeastie.4th48 s" loader_logo_x" getenv dup -1 <> if
51 s" loader_logo_y" getenv dup -1 <> if
62 s" loader_logo" getenv dup -1 = over 0= or if
63 dup 0= if 2drop else drop then \ getenv result unused
70 2drop ( c-addr/u -- ) \ getenv result unused
90 s" beastie_disable" getenv dup -1 <> if
101 s" loader_delay" getenv -1 = if
H A Dbrand.4th44 s" loader_brand_x" getenv dup -1 <> if
47 s" loader_brand_y" getenv dup -1 <> if
57 s" loader_brand" getenv dup -1 = over 0= or if
58 dup 0= if 2drop else drop then \ getenv result unused
61 2drop ( c-addr/u -- ) \ getenv result unused
/illumos-gate/usr/src/test/libc-tests/tests/
H A Denv-7076.c38 if (getenv("FOO") == NULL) { in main()
46 if (getenv("FOO") != NULL) { in main()
58 if (getenv("FOO") == NULL) { in main()
66 if (getenv("FOO") != NULL) { in main()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dpkgenv.c91 if ((pkgabrv = getenv("PKG")) == NULL) { in pkgenv()
100 if ((pkgname = getenv("NAME")) == NULL) { in pkgenv()
104 if ((pkgarch = getenv("ARCH")) == NULL) { in pkgenv()
108 if ((pkgvers = getenv("VERSION")) == NULL) { in pkgenv()
112 if (getenv("CATEGORY") == NULL) { in pkgenv()
H A Dmain.c1031 pt = getenv("TMPDIR"); in main()
1258 if (pt = getenv("MAXINST")) { in main()
1315 if (pt = getenv("INTONLY")) { in main()
1757 cl_sets(getenv("CLASSES")); in main()
1788 if (pt = getenv("ULIMIT")) { in main()
2207 locbasedir = getenv("BASEDIR"); in merg_respfile()
2356 pkgName = getenv("PKG"); in merg_pkginfos()
2363 pkgVersion = getenv("VERSION"); in merg_pkginfos()
2470 newValue = getenv(param); in merg_pkginfos()
2812 if (getenv("VENDOR") != NULL) in copyright()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_tmpdir.c70 if ((p = getenv("TMPDIR")) != NULL && p[0] == '\0') {
75 if (p == NULL && (p = getenv("TEMP")) != NULL && p[0] == '\0') {
80 if (p == NULL && (p = getenv("TMP")) != NULL && p[0] == '\0') {
86 (p = getenv("TempFolder")) != NULL && p[0] == '\0') {
/illumos-gate/usr/src/boot/common/
H A Dboot.c160 cp = getenv("autoboot?"); in autoboot_maybe()
163 cp = getenv("autoboot_delay"); in autoboot_maybe()
182 if ((cp = getenv("autoboot_delay"))) { in autoboot()
264 if ((spec = getenv("bootfile")) == NULL) in getbootfile()
306 if (getenv("vfs.root.mountfrom") != NULL) in getrootmount()
377 if (getenv("vfs.root.mountfrom.options") == NULL) { in getrootmount()
393 currdev = getenv("currdev"); in getrootmount()
/illumos-gate/usr/src/common/ficl/
H A Dmain.c61 if ((cp = getenv("prompt")) == NULL) in prompt()
70 ev = getenv(p + 2); in prompt()
114 if (getenv("prompt") == NULL) in main()
116 if (getenv("interpret") == NULL) in main()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-closetray.c95 device = getenv ("HAL_PROP_BLOCK_DEVICE"); in main()
99 udi = getenv ("HAL_PROP_INFO_UDI"); in main()
103 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main()
105 invoked_by_syscon_name = getenv ("HAL_METHOD_INVOKED_BY_SYSTEMBUS_CONNECTION_NAME"); in main()
H A Dhal-storage-unmount.c100 device = getenv ("HAL_PROP_BLOCK_DEVICE"); in main()
104 udi = getenv ("HAL_PROP_INFO_UDI"); in main()
108 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main()
110 invoked_by_syscon_name = getenv ("HAL_METHOD_INVOKED_BY_SYSTEMBUS_CONNECTION_NAME"); in main()
H A Dhal-storage-eject.c97 device = getenv ("HAL_PROP_BLOCK_DEVICE"); in main()
101 udi = getenv ("HAL_PROP_INFO_UDI"); in main()
105 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main()
107 invoked_by_syscon_name = getenv ("HAL_METHOD_INVOKED_BY_SYSTEMBUS_CONNECTION_NAME"); in main()
/illumos-gate/usr/src/cmd/rmmount/
H A Drmmount.c92 if (getenv("RMMOUNT_DEBUG") != NULL) { in rmmount()
211 if (getenv("EJECT_CLOSETRAY") != NULL) { in eject()
213 } else if (getenv("EJECT_QUERY") != NULL) { in eject()
261 if ((getenv("VOLUME_ACTION") != NULL) && in main()
262 (getenv("VOLUME_PATH") != NULL)) { in main()
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c315 tmpdir = getenv("TMPDIR"); in main()
421 if (getenv(param) == NULL) in main()
437 if (pt = getenv("PKG")) { in main()
457 if ((pkgname = getenv("NAME")) == NULL) { in main()
470 pkgvers = getenv("VERSION"); in main()
475 if ((pkgarch = getenv("ARCH")) == NULL) { in main()
478 pkgarch = getenv("ARCH"); in main()
483 if (getenv("PSTAMP") == NULL) { in main()
513 if ((pt = getenv("CLASSES")) == NULL) { in main()
518 getenv("CLASSES")); in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtmlib9 tst tzset_environ note{ tzset() bypasses user getenv() }end execute{
20 extern char* getenv(char* s)
22 extern char* getenv(s)
/illumos-gate/usr/src/lib/libnls/common/
H A Dnlsenv.c68 extern char *getenv();
78 if (!(charaddr = getenv(envname))) in nlsenv()
162 return(getenv(NLSPROVIDER)); in nlsprovider()
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c324 if ((udi = getenv ("UDI")) == NULL) in main()
326 if ((device_file = getenv ("HAL_PROP_BLOCK_DEVICE")) == NULL) in main()
328 if ((raw_device_file = getenv ("HAL_PROP_BLOCK_SOLARIS_RAW_DEVICE")) == NULL) in main()
330 if ((bus = getenv ("HAL_PROP_STORAGE_BUS")) == NULL) in main()
332 if ((drive_type = getenv ("HAL_PROP_STORAGE_DRIVE_TYPE")) == NULL) in main()
334 if ((devfs_path = getenv ("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) in main()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.c213 if ((envptr = getenv("LINES")) != NULL && in main()
220 if ((envptr = getenv("COLUMNS")) != NULL && in main()
500 if (((cp = (unsigned char *)getenv("SHELL")) != NULL) && in main()
510 cp = (unsigned char *)getenv("TERM"); in main()
534 (unsigned char *) getenv("EXINIT")) && *globp) { in main()
541 if ((cp = (unsigned char *) getenv("HOME")) != in main()
573 if ((cp = (unsigned char *) getenv("PWD")) != 0 && in main()
/illumos-gate/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-network-printer.c56 if ((udi = getenv("UDI")) == NULL) in main()
59 printer_address = getenv("HAL_PROP_NETWORK_DEVICE_ADDRESS"); in main()
63 community = getenv("HAL_PROP_NETWORK_DEVICE_SNMP_COMMUNITY"); in main()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc215 if ((search_dir = getenv("NSE_DEP")) == NULL) { in report_dep()
239 if ((p= getenv(SUNPRO_DEPENDENCIES)) == NULL) { in report_libdep()
259 if ((sdir = getenv("NSE_DEP")) == NULL) { in report_search_path()
262 if ((p= getenv(SUNPRO_DEPENDENCIES)) == NULL) { in report_search_path()
293 if ((filename= getenv(SUNPRO_DEPENDENCIES)) == NULL) { in report_dependency()
/illumos-gate/usr/src/cmd/luxadm/
H A Dcommon.h417 #define ER_DPRINTF if (getenv("_LUX_ER_DEBUG") != NULL) (void) printf
418 #define O_DPRINTF if (getenv("_LUX_O_DEBUG") != NULL) (void) printf
419 #define P_DPRINTF if (getenv("_LUX_P_DEBUG") != NULL) (void) printf
420 #define R_DPRINTF if (getenv("_LUX_R_DEBUG") != NULL) (void) printf
421 #define I_DPRINTF if (getenv("_LUX_I_DEBUG") != NULL) (void) printf
422 #define S_DPRINTF if (getenv("_LUX_S_DEBUG") != NULL) (void) printf
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_common.c91 if (getenv("DTRACE_DOF_INIT_DEBUG") != NULL) in dtrace_link_init()
108 if (getenv("DTRACE_DOF_INIT_DISABLE") != NULL) in dtrace_link_dof()
137 if ((p = getenv("DTRACE_DOF_INIT_DEVNAME")) != NULL) in dtrace_link_dof()

12345678910>>...26