Searched refs:env (Results 176 - 200 of 260) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libc/sparc/threads/
H A Dmachdep.c181 __csigsetjmp(sigjmp_buf env, int savemask) argument
183 sigjmp_struct_t *bp = (sigjmp_struct_t *)env;
/illumos-gate/usr/src/cmd/troff/
H A Dni.c231 struct env env = { variable in typeref:struct:env
H A Dn1.c410 *(struct env *)&corebuf[i * sizeof(env)/sizeof(tchar)] = env;
414 write(ibf, (char *) & env, sizeof(env));
/illumos-gate/usr/src/tools/scripts/
H A Dws.sh103 # keep the env. clean when returning
126 if env CODEMGR_WS="" $WHICH_SCM | read SCM_MODE tmpwsname && \
204 (cd $wsname && env CODEMGR_WS="" $WHICH_SCM) | read SCM_MODE tmpwsname
384 # Clear it in case it's already in the env.
/illumos-gate/usr/src/lib/libc/i386/threads/
H A Dmachdep.c216 sigjmp_buf env, int savemask)
218 ucontext_t *ucp = (ucontext_t *)env;
212 __csigsetjmp(greg_t cs, greg_t ss, greg_t gs, greg_t fs, greg_t es, greg_t ds, greg_t edi, greg_t esi, greg_t ebp, greg_t esp, greg_t ebx, greg_t edx, greg_t ecx, greg_t eax, greg_t eip, sigjmp_buf env, int savemask) argument
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dconfig.c554 Env_desc *env; local
557 for (APLIST_TRAVERSE(crle->c_env, idx, env)) {
559 envtbl->env_flags = env->e_flags;
561 (void) strcpy(_strtbl, env->e_str);
562 _strtbl += env->e_totsz;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c2112 struct envlist *env; local
2114 env = malloc(sizeof (struct envlist));
2115 if (env == NULL)
2117 if ((env->name = strdup(name)) == NULL) {
2118 free(env);
2121 if ((env->value = strdup(value)) == NULL) {
2122 free(env->name);
2123 free(env);
2126 env->delete = 0;
2127 env
2142 struct envlist *env; local
2748 struct envlist *env, *next; local
[all...]
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c248 static jmp_buf env; variable
823 if ((jmpval = setjmp(env)) == 0) {
935 longjmp(env, 1);
1225 longjmp(env, 3);
1327 longjmp(env, 2);
1340 longjmp(env, 2);
1575 longjmp(env, 1);
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dbasic.sh421 if env x-a=y >/dev/null 2>&1
422 then [[ $(env 'x-a=y' $SHELL -c 'env | grep x-a') == *x-a=y* ]] || err_exit 'invalid environment variables not preserved'
480 { env A__z=C+SHLVL $SHELL -c : ;} 2> /dev/null || err_exit "SHLVL with wrong attribute fails"
H A Doptions.sh55 env=$tmp/.env
56 print $'(print -u1 aha) &>/dev/null\n(print -u2 aha) &>/dev/null' > $env
60 export ENV=/.$env
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllscan.c80 * <sibling-dir>[:<env-var>[:<host-pattern>]][,...]
152 info.env = info.envbuf;
160 if (!info.env)
161 info.env = "LD_LIBRARY_PATH";
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/ldc/
H A Dldc.c335 ((msg.env & LDC_FRAG_START) != 0) ? "start" : "--",
336 ((msg.env & LDC_FRAG_STOP) != 0) ? "stop" : "--");
340 mdb_printf(" 0x%-2x ", (msg.env & LDC_LEN_MASK));
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c174 char *env; local
210 if ((env = getenv("SMBFS_DEBUG")) != NULL) {
211 smb_debug = atoi(env);
/illumos-gate/usr/src/tools/cscope-fast/
H A Ddisplay.c69 static jmp_buf env; /* setjmp/longjmp buffer */ variable
381 longjmp(env, 1);
409 if (setjmp(env) == 0) {
/illumos-gate/usr/src/lib/libunistat/common/
H A Dspcs_s_u.c233 spcs_s_exception(spcs_s_info_t ustatus, void *env) argument
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c103 #define ENV_CHUNK 16 /* #env ptrs to read at a time */
105 static jmp_buf env; /* malloc failure handling */ variable
117 longjmp(env, errno);
638 /* env has more items than last time, skip the newer ones */
1437 if ((r = setjmp(env)) != 0) {
1483 if ((r = setjmp(env)) != 0) {
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd.h138 #define NDMP_SETENV(env, nm, val) \
140 env->name = nm; \
141 env->value = val; \
142 env++; \
472 int nz_level; /* val of LEVEL env var */
473 char nz_zfs_mode; /* val of ZFS_MODE env var */
474 boolean_t nz_zfs_force; /* val of ZFS_FORCE env var */
475 boolean_t nz_update; /* val of UPDATE env var */
476 char nz_dmp_name[NDMPD_ZFS_DMP_NAME_MAX]; /* val of DMP_NAME env var */
H A Dndmp.x1338 ndmp_pval env<>; /* Parameters that may modify backup */
1358 ndmp_pval env<>;
1391 ndmp_pval env<>;
1434 ndmp_pval env<>; /* Parameters that may modify backup */
1450 ndmp_pval env<>;
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Dboot.s118 cmpl $0,-4(%edi) / search for 0 at end of env
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c2712 if ((mcp->env = uu_zalloc(sizeof (*mcp->env) * mcp->env_sz)) == NULL) {
2724 if ((mcp->env[i] = strdup(mcp->vbuf)) == NULL) {
2730 char **env; local
2732 env = uu_zalloc(sizeof (*mcp->env) * mcp->env_sz);
2733 if (env == NULL) {
2737 (void) memcpy(env, mcp->env,
2738 sizeof (*mcp->env) * (mc
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Ddefs.h54 # include <env.h>
104 long arg_max; /* max arg+env exec() size */
197 Env_t *env; \
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c476 char *env, *eff; local
479 if ((env = getenv("LANG")) != NULL) {
480 (void) printf("LANG=%s\n", env);
493 env = getenv(locale_name[i].name);
495 if (env == NULL) {
500 if (strcmp(env, eff) != 0) {
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc1224 static char *env; local
1262 env = sunpro_dependencies_buf;
1264 env = getmem(length);
1268 (void) sprintf(env,
1273 (void) putenv(env);
1274 env_prop->body.env_mem.value = env;
/illumos-gate/usr/src/common/ficl/
H A Dloader.c1001 ficlDictionary *env = ficlSystemGetEnvironment(pSys); local
1004 FICL_SYSTEM_ASSERT(pSys, env);
1069 ficlDictionarySetConstant(env, "arch-i386", FICL_TRUE);
1070 ficlDictionarySetConstant(env, "arch-sparc", FICL_FALSE);
1073 ficlDictionarySetConstant(env, "arch-i386", FICL_FALSE);
1074 ficlDictionarySetConstant(env, "arch-sparc", FICL_TRUE);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dmisc.c124 env_close(shp->env);
125 shp->env = env_open((char**)0,3);
136 sh_envput(shp->env,np);

Completed in 141 milliseconds

1234567891011