Searched defs:var (Results 1 - 25 of 77) sorted by relevance

1234

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_extern.c42 #define var /* nothing */ macro
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dgetsyntx.c53 static char const var[] = "\\][}{^~!#|$@`"; local
57 e = var;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c38 valid_env_var(const char *var, const char *instance, const char *method) argument
40 char *cp = strchr(var, '=');
42 if (cp == NULL || cp == var) {
46 "method %s of instance %s.\n"), var, method, instance);
48 } else if (strncmp(var, "SMF_", 4) == 0) {
53 var, method, instance);
61 find_dup(const char *var, char **env, const char *instance, const char *method) argument
70 if (strncmp(*p, var, tmp - *p) == 0)
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dmain.c53 int fd, var; local
75 while ((var = getopt(argc, argv, MSG_ORIG(MSG_ARG_OPTIONS))) != EOF) {
76 switch (var) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_vcb.c189 mdb_vcb_find(mdb_var_t *var, mdb_frame_t *fp) argument
196 if (vcb->vc_var == var)
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dshow.c182 char *var; local
210 var = (char *)(&((char *)Message.data)[
212 (void) strncpy(newVar, var, maxSize);
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk.y142 %type <node> getline optvar var
240 var
241 | var COMMA varlist2 = {
335 | expr IN var = {
338 | LPAREN exprlist RPAREN IN var = {
353 * Prevents conflict with FOR LPAREN var IN var RPAREN production
355 | var %prec COMMA
356 | var LSQUARE exprlist RSQUARE = {
361 var label
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_vars.c88 Dwarf_Global var = (Dwarf_Global) var_in; local
90 if (var == NULL) {
95 *ret_varname = (char *) (var->gl_name);
104 Dwarf_Global var = (Dwarf_Global) var_in; local
106 return dwarf_global_die_offset(var, returned_offset, error);
115 Dwarf_Global var = (Dwarf_Global) var_in; local
117 return dwarf_global_cu_offset(var, returned_offset, error);
127 Dwarf_Global var = (Dwarf_Global) var_in; local
130 dwarf_global_name_offsets(var,
/illumos-gate/usr/src/uts/common/sys/
H A Dvar.h42 struct var { struct
68 extern struct var v;
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_prom.c109 char *var,
117 (void) strncpy(opp->oprom_array, var, MAXNAMESIZE);
178 char *var,
190 (void) strncpy(opp->oprom_array, var, MAXNAMESIZE);
191 opp->oprom_size = strlen(var) + 1;
199 (void) strncpy(in_opp->oprom_array, var, MAXNAMESIZE);
105 prom_read_one( mema_disabled_t *dp, int bd, int prom_fd, char *var, u_int bit) argument
174 prom_write_one( mema_disabled_t *dp, int bd, int prom_fd, char *var, u_int bit) argument
/illumos-gate/usr/src/cmd/oawk/
H A Dawk.g.y152 var: label
160 var
190 | INCR var { $$ = op1(PREINCR, $2); }
191 | DECR var { $$ = op1(PREDECR, $2); }
192 | var INCR { $$= op1(POSTINCR, $1); }
193 | var DECR { $$= op1(POSTDECR, $1); }
200 | var ASGNOP expr { $$ = op2($2, $1, $3); }
/illumos-gate/usr/src/cmd/sgs/moe/common/
H A Dmoe.c160 int var, verbose = 0, silent = 0, error = 0, mode = 0, class = 0; local
169 while ((var = getopt(argc, argv, MSG_ORIG(MSG_STR_OPTIONS))) != EOF) {
170 switch (var) {
/illumos-gate/usr/src/lib/libnsl/saf/
H A Ddoconfig.c175 char *var; /* environment variable to be assigned */ local
183 var = p;
248 (void) snprintf(scratch, sizeof (scratch), "%s=%s", var, p);
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c124 struct Var var; local
127 var.level = 0;
128 var.odepth = depth;
129 rc = fwalk(path, fn, depth, &var);
/illumos-gate/usr/src/cmd/awk/
H A Dawk.g.y80 %type <p> var varname funcname varlist
209 var ASGNOP ppattern { $$ = op2($2, $1, $3); }
233 var ASGNOP pattern { $$ = op2($2, $1, $3); }
256 | pattern '|' GETLINE var { $$ = op3(GETLINE, $4, (Node*)$2, $1); }
359 | DECR var { $$ = op1(PREDECR, $2); }
360 | INCR var { $$ = op1(PREINCR, $2); }
361 | var DECR { $$ = op1(POSTDECR, $1); }
362 | var INCR { $$ = op1(POSTINCR, $1); }
363 | GETLINE var LT term { $$ = op3(GETLINE, $2, (Node *)$3, $4); }
365 | GETLINE var {
410 var: label
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c178 valid_env_var(const char *var, const restarter_inst_t *inst, const char *path) argument
180 char *cp = strchr(var, '=');
182 if (cp == NULL || cp == var) {
185 "variable \"%s\".", var);
187 } else if (strncmp(var, "SMF_", 4) == 0) {
191 var);
193 } else if (path != NULL && strncmp(var, "PATH=", 5) == 0) {
201 find_dup(const char *var, char **env, const restarter_inst_t *inst) argument
209 if (strncmp(*p, var, tmp - *p) == 0)
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_init.c83 static int mptsas_ioc_do_get_facts(mptsas_t *mpt, caddr_t memp, int var,
85 static int mptsas_ioc_do_get_facts_reply(mptsas_t *mpt, caddr_t memp, int var,
87 static int mptsas_ioc_do_get_port_facts(mptsas_t *mpt, caddr_t memp, int var,
90 int var, ddi_acc_handle_t accessp);
91 static int mptsas_ioc_do_enable_port(mptsas_t *mpt, caddr_t memp, int var,
93 static int mptsas_ioc_do_enable_port_reply(mptsas_t *mpt, caddr_t memp, int var,
96 int var, ddi_acc_handle_t accessp);
98 caddr_t memp, int var, ddi_acc_handle_t accessp);
99 static int mptsas_do_ioc_init(mptsas_t *mpt, caddr_t memp, int var,
101 static int mptsas_do_ioc_init_reply(mptsas_t *mpt, caddr_t memp, int var,
167 mptsas_ioc_do_get_facts(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
192 mptsas_ioc_do_get_facts_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
390 mptsas_ioc_do_get_port_facts(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
413 mptsas_ioc_do_get_port_facts_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
467 mptsas_ioc_do_enable_port(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
492 mptsas_ioc_do_enable_port_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
549 mptsas_ioc_do_enable_event_notification(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
575 mptsas_ioc_do_enable_event_notification_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
630 mptsas_do_ioc_init(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
701 mptsas_do_ioc_init_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c41 #define var(x) fprintf(fout, "/%s %g def\n", #x, x) macro
90 /* mostly for the var() macro */
173 var(llx); var(lly); var(urx); var(ury); var(w); var(o); var(s);
174 var(c
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dmain.c83 const char *var; local
118 var = CALLBACK(getenv, i++);
119 if (var == NULL)
121 putenv(var);
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c467 netsnmp_variable_list *var; local
478 var = SNMP_MALLOC_TYPEDEF(netsnmp_variable_list);
479 (void) snmp_set_var_typed_value(var, ASN_UNSIGNED,
485 if (build_oid(&var->name, &var->name_length, tmpoid,
486 reginfo->rootoid_len + 2, var) != SNMPERR_SUCCESS) {
487 snmp_free_varbind(var);
491 DEBUGMSGVAR((MODNAME_STR, var));
494 var = snmp_clone_varbind(table_info->indexes);
495 index = *var
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dcompletion.c202 int addstar=0, rval=0, var=0, strip=1; local
246 var = mode;
247 begin = out = find_begin(outbuff,last,0,&var);
249 if(var=='$')
276 if(var!='$' && mode=='\\' && out[-1]!='*')
292 if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&sh.nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' )))
381 if(ep->e_nlist && dir && var)
383 if(*cp==var)
386 *begin++ = var;
388 var
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dis.c133 uint_t var = DIF_INSTR_R1(in); local
137 var, DIF_INSTR_R2(in), DIF_INSTR_RD(in));
139 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL)
140 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname);
146 uint_t var = DIF_INSTR_VAR(in); local
150 name, var, DIF_INSTR_RD(in));
152 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL)
153 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname);
159 uint_t var = DIF_INSTR_VAR(in); local
163 name, DIF_INSTR_RS(in), var);
[all...]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c92 barg_isadir_var(char *var, int sz) argument
96 return (strlcpy(var, "amd64", sz));
99 var[0] = 0;
107 barg_bootfs_var(const grub_barg_t *barg, char *var, int sz) argument
113 n = snprintf(var, sz,
118 var[0] = 0;
128 expand_var(char *arg, size_t argsz, const char *var, size_t varsz, argument
139 while ((src = strstr(sp, var)) != NULL) {
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c185 do_var(char *var) argument
189 val = strchr(var, '=');
199 print_one(var);
210 set_one(var, val);
252 print_one(char *var) argument
258 if (strcmp(var, "bootcmd") == 0) {
271 (void) printf("%s=%s %s\n", var, opp->oprom_array, bootargs);
275 (void) strlcpy(opp->oprom_array, var, MAXNAMESIZE);
277 (void) printf("%s: data not available.\n", var);
283 if (strcmp(var,
297 set_one(char *var, char *val) argument
393 i_oemlogo(char *var, char *val, struct openpromio *opp) argument
414 i_secure(char *var, char *val, struct openpromio *opp) argument
483 i_passwd(char *var, char *val, struct openpromio *opp) argument
518 o_passwd(char *var, char *val) argument
[all...]
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c280 stuffenv(char const *var, char const *val) argument
285 lenvar = strlen(var);
292 (void) sprintf(stuff, "%s%s", var, val);

Completed in 62 milliseconds

1234