/illumos-gate/usr/src/lib/storage/common/ |
H A D | l_common.h | 55 #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 D | getenv.c | 25 __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 D | cmd.c | 139 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 D | menu-commands.4th | 50 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 88 s" alt-boot-args" getenv dup -1 <> if 93 s" boot_single" 2dup getenv -1 <> if 109 s" boot_single" getenv -1 <> dup if 148 s" boot_verbose" getenv -1 <> dup if 187 s" boot_reconfigure" getenv -1 <> dup if [all …]
|
H A D | beastie.4th | 48 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 D | brand.4th | 44 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 D | env-7076.c | 38 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 D | pkgenv.c | 91 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 D | main.c | 333 if (!set_inst_root(getenv("PKG_INSTALL_ROOT"))) { in main() 608 getenv(PKG_ZONENAME_VARIABLE); in main() 1031 pt = getenv("TMPDIR"); in main() 1117 zoneName = getenv(PKG_ZONENAME_VARIABLE); in main() 1186 abi_nm_ptr = getenv("PKG_ABI_NAMELENGTH"); in main() 1237 abi_comp_ptr = getenv("NONABI_SCRIPTS"); in main() 1240 abi_sym_ptr = getenv("PKG_NONABI_SYMLINKS"); in main() 1258 if (pt = getenv("MAXINST")) { in main() 1270 pt = getenv(PKG_HOLLOW_VARIABLE); in main() 1315 if (pt = getenv("INTONLY")) { in main() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_tmpdir.c | 70 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 D | boot.c | 160 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/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 315 tmpdir = getenv("TMPDIR"); in main() 320 abi_sym_ptr = getenv("PKG_NONABI_SYMLINKS"); in main() 421 if (getenv(param) == NULL) in main() 437 if (pt = getenv("PKG")) { in main() 457 if ((pkgname = getenv("NAME")) == NULL) { in main() 463 if ((pkgvers = getenv("VERSION")) == 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() [all …]
|
/illumos-gate/usr/src/common/ficl/ |
H A D | main.c | 61 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 D | hal-storage-closetray.c | 95 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 D | hal-storage-unmount.c | 100 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 D | hal-storage-eject.c | 97 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 D | rmmount.c | 92 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/contrib/ast/src/lib/libast/features/ |
H A D | tmlib | 9 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/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 324 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 D | ex.c | 213 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/lib/libnls/common/ |
H A D | nlsenv.c | 68 extern char *getenv(); 78 if (!(charaddr = getenv(envname))) in nlsenv() 162 return(getenv(NLSPROVIDER)); in nlsprovider()
|
/illumos-gate/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-network-printer.c | 56 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 D | report.cc | 215 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 D | common.h | 417 #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 D | dlink_common.c | 91 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()
|