Home
last modified time | relevance | path

Searched refs:varname (Results 1 – 22 of 22) sorted by relevance

/titanic_44/usr/src/lib/libpkg/common/
H A Dmappath.c64 char varname[64]; in mappath() local
85 pt2 = varname; in mappath()
95 if ((token = getenv(varname)) != NULL && in mappath()
198 mapvar(int flag, char *varname) in mapvar() argument
204 if (*varname == '$' && isalpha(varname[1])) { in mapvar()
206 if (mode(flag, varname)) { in mapvar()
211 if (((token = getenv(&varname[1])) != NULL) && in mapvar()
215 *varname++ = *token++; in mapvar()
216 *varname = '\0'; in mapvar()
227 islower(varname[1])) in mapvar()
H A Dpkglib.h503 extern int mapvar(int flag, char *varname);
/titanic_44/usr/src/cmd/sgs/librtld_db/demo/sparc/
H A Dm_utils.c32 print_mach_varstring(struct ps_prochandle *ph, const char *varname) in print_mach_varstring() argument
34 if (strcmp(varname, "ins") == 0) { in print_mach_varstring()
38 if (strcmp(varname, "globs") == 0) { in print_mach_varstring()
42 if (strcmp(varname, "outs") == 0) { in print_mach_varstring()
46 if (strcmp(varname, "locs") == 0) { in print_mach_varstring()
50 if (strcmp(varname, "specs") == 0) { in print_mach_varstring()
54 (void) printf("print: unknown variable given ($%s)\n", varname); in print_mach_varstring()
/titanic_44/usr/src/cmd/sgs/librtld_db/demo/sparcv9/
H A Dm_utils.c32 print_mach_varstring(struct ps_prochandle *ph, const char *varname) in print_mach_varstring() argument
34 if (strcmp(varname, "ins") == 0) { in print_mach_varstring()
38 if (strcmp(varname, "globs") == 0) { in print_mach_varstring()
42 if (strcmp(varname, "outs") == 0) { in print_mach_varstring()
46 if (strcmp(varname, "locs") == 0) { in print_mach_varstring()
50 if (strcmp(varname, "specs") == 0) { in print_mach_varstring()
54 (void) printf("print: unknown variable given ($%s)\n", varname); in print_mach_varstring()
/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c244 char *varname; in b_poll() local
282 varname = argv[0]; in b_poll()
287 array_np = nv_open(varname, shp->var_tree, NV_NOFAIL|NV_NOADD); in b_poll()
289 errormsg(SH_DICT, ERROR_system(1), "cannot find array variable %s", varname); in b_poll()
291 errormsg(SH_DICT, ERROR_system(1), "variable %s is not an array", varname); in b_poll()
324 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].fd", varname, subname); in b_poll()
326 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].fd", varname, subname); in b_poll()
333 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].events", varname, subname); in b_poll()
335 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].events", varname, subname); in b_poll()
369 np = nv_open_fmt(shp->var_tree, NV_NOFAIL, "%s[%s].revents", varname, subname); in b_poll()
[all …]
H A Dprint.c572 static int varname(const char *str, int n) in varname() function
613 if(fe->n_str>0 && varname(fe->t_str,fe->n_str) && (!argp || varname(argp,-1))) in extend()
/titanic_44/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/
H A DOpFilter.java240 public void genInitCode(StringBuffer buf, String varname) { in genInitCode() argument
242 buf.append(varname); in genInitCode()
252 buf.append(varname); in genInitCode()
261 buf.append(varname); in genInitCode()
270 buf.append(varname); in genInitCode()
279 buf.append(varname); in genInitCode()
287 buf.append(varname); in genInitCode()
295 buf.append(varname); in genInitCode()
304 buf.append(varname); in genInitCode()
313 buf.append(varname); in genInitCode()
H A DOpAction.java292 public void genInitCode(StringBuffer buf, String varname) { in genInitCode() argument
295 buf.append(varname); in genInitCode()
305 buf.append(varname); in genInitCode()
315 buf.append(varname); in genInitCode()
326 buf.append(varname); in genInitCode()
336 buf.append(varname); in genInitCode()
351 buf.append(varname); in genInitCode()
362 buf.append(varname); in genInitCode()
372 buf.append(varname); in genInitCode()
/titanic_44/usr/src/cmd/awk/
H A Dawk.g.y80 %type <p> var varname funcname varlist
138 | FOR '(' varname IN varname rparen stmt
224 | ppattern IN varname { $$ = op2(INTEST, $1, makearr($3)); }
225 | '(' plist ')' IN varname { $$ = op2(INTEST, $2, makearr($5)); }
254 | pattern IN varname { $$ = op2(INTEST, $1, makearr($3)); }
255 | '(' plist ')' IN varname { $$ = op2(INTEST, $2, makearr($5)); }
304 | DELETE varname '[' patlist ']' { $$ = stat2(DELETE, makearr($2), $4); }
305 …| DELETE varname { yyclearin; ERROR "you can only delete array[element]" SYNTAX; $$ = stat1(DELET…
381 | SPLIT '(' pattern comma varname comma pattern ')' /* string */
383 | SPLIT '(' pattern comma varname comma reg_expr ')' /* const /regexp/ */
[all …]
/titanic_44/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dutils.c87 print_varstring(struct ps_prochandle *ph, const char *varname) in print_varstring() argument
89 (void) printf("print_varstring: %s\n", varname); in print_varstring()
90 if (strcmp(varname, "regs") == 0) { in print_varstring()
94 print_mach_varstring(ph, varname); in print_varstring()
/titanic_44/usr/src/cmd/sgs/librtld_db/demo/i386/
H A Dm_utils.c30 print_mach_varstring(struct ps_prochandle *ph, const char *varname) in print_mach_varstring() argument
32 (void) printf("print: unknown variable given ($%s)\n", varname); in print_mach_varstring()
/titanic_44/usr/src/cmd/newtask/
H A Dutils.c122 getdefault(char *file, char *varname, char *prefix) in getdefault() argument
131 varlen = strlen(varname); in getdefault()
143 if (strncmp(varname, cp, varlen) == 0) { in getdefault()
/titanic_44/usr/src/psm/stand/boot/sparc/common/
H A Dwbcli.c91 printf("set %s\n", var->varname);\
101 printf("unhide %s\n", var->varname); \
112 printf("modified %s\n", var->varname);\
139 char *varname; member
506 printf("%s: ", cliptr->varname); in cllist()
511 for (i = VAR_MAXWIDTH + 1 - strlen(cliptr->varname); in cllist()
552 printf("%s", cliptr->varname); in clprompt()
668 if (strcmp(varstr, cliptr->varname) == 0) { in find_cli_ent()
803 cliptr->varname); in cli_eval_buf()
907 if (bootinfo_get(cliptr->varname, cliptr->varptr, in bootinfo_defaults()
[all …]
/titanic_44/usr/src/lib/libshell/common/tests/
H A DREADME.tests13 /usr/demo/ksh/tests/shtests <options> <varname=value> <testmodule>
26 <varname=value>
H A Dfunctions.sh776 do if [[ ! $varname ]]
777 then varname=${line%% *}
783 varname=
/titanic_44/usr/src/cmd/mdb/common/modules/nca/
H A Dnca.c865 char varname[256]; in nca_nodef_walk_init() local
878 mdb_snprintf(varname, sizeof (varname), "%s_sz", wsp->walk_arg); in nca_nodef_walk_init()
880 if (mdb_readvar(&size, varname) == -1) { in nca_nodef_walk_init()
881 mdb_warn("cannot read symbol %s", varname); in nca_nodef_walk_init()
/titanic_44/usr/src/lib/libshell/common/
H A DRELEASE8867 e. Compound assignments. The assignment syntax, varname=value,
69 varname=(assignment_list). As elsewhere in the shell
71 no space is permitted between the varname and the =. The
75 of the indexed array varname.
78 elements of the associative array varname.
80 case, each assignment is made to varname.name, where
86 In case 3 and 4 above, the value of "$varname" after
89 variables under varname.*.
H A DRELEASE978 05-04-08 Redirection operators can be directly preceded with {varname}
979 with no intervening space, where varname is a variable name which
981 into varname.
/titanic_44/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c623 char *pt2, varname[MAX_PKG_PARAM_LENGTH]; in translate() local
631 pt2 = varname; in translate()
635 if (pt2 = getenv(varname)) { in translate()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c2455 char *varname; in do_getvar() local
2459 varname = gettext("debug"); in do_getvar()
2462 varname = gettext("privilege"); in do_getvar()
2476 gettext("error getting %s level"), varname); in do_getvar()
2480 varname, dreq->dbg_level); in do_getvar()
2551 char *varname; in do_setvar() local
2561 varname = gettext("debug"); in do_setvar()
2573 varname = gettext("privilege"); in do_setvar()
2604 gettext("error setting %s level"), varname); in do_setvar()
2609 varname, dreq->dbg_level, reqlevel); in do_setvar()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c351 #define IS_IPV4_VAR(varname) (strncmp(varname, "ipv4", 4) == 0) argument
352 #define IS_IPV6_VAR(varname) (strncmp(varname, "ipv6", 4) == 0) argument
353 #define VAR_PROTO_MATCH(varname, proto) (strncmp(varname, proto, 4) == 0) argument
/titanic_44/usr/src/cmd/devfsadm/
H A Dport_link.c161 extern char *defread(char *varname);