/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | subst.t | 219 sub var { subroutine 220 my($var,$level) = @_; 221 return "\$($var)" unless exists $MK{$var}; 222 return exp_vars($MK{$var}, $level+1); # can recurse 226 $str =~ s/\$\((\w+)\)/var($1, $level+1)/ge; # can recurse
|
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | getsyntx.c | 53 static char const var[] = "\\][}{^~!#|$@`"; local 57 e = var;
|
/osnet-11/usr/src/grub/grub2/grub-core/hook/ |
H A D | datehook.c | 41 grub_read_hook_datetime (struct grub_env_var *var, argument 53 if (grub_strcmp (var->name, grub_datetime_names[i]) == 0)
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | env_private.h | 40 struct grub_env_var *var; member in struct:grub_env_sorted_var
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | tr.c | 43 char *var = 0; local 51 var = ctxt->state[0].arg; 52 input = (char *)grub_env_get (var); 102 grub_env_set (var, output);
|
H A D | search_wrap.c | 82 const char *var = 0; local 164 var = state[SEARCH_SET].arg ? state[SEARCH_SET].arg : "root"; 167 grub_search_label (args[j], var, state[SEARCH_NO_FLOPPY].set, 170 grub_search_fs_uuid (args[j], var, state[SEARCH_NO_FLOPPY].set, 173 grub_search_fs_file (args[j], var, state[SEARCH_NO_FLOPPY].set,
|
H A D | search.c | 47 FUNC_NAME (const char *key, const char *var, int no_floppy, argument 160 if (var) 161 grub_env_set (var, name); 167 return (found && var); 264 if (var)
|
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/ |
H A D | support.h | 81 #define test_bit(bit, var) ((var) & (1 << (bit))) 82 #define set_bit(bit, var) (var) |= 1 << (bit) 83 #define clear_bit(bit, var) (var) &= ~(1 << (bit)) 86 #define test_and_set_bit(bit, var) _test_and_set_bit(bit, &var) 87 static __inline__ BOOL _test_and_set_bit(unsigned long bit, unsigned long *var) argument 89 const BOOL old_state = test_bit(bit, *var); 95 _test_and_clear_bit(unsigned long bit, unsigned long *var) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | corecmd.c | 36 char *var; local 53 var = argv[0]; 54 val = grub_strchr (var, '='); 59 grub_env_set (var, val + 1);
|
H A D | env.c | 47 struct grub_env_var *var; local 51 for (var = grub_current_context->vars[idx]; var; var = var->next) 52 if (grub_strcmp (var->name, name) == 0) 53 return var; 60 struct grub_env_var *var) 62 int idx = grub_env_hashval (var->name); 65 var 59 grub_env_insert(struct grub_env_context *context, struct grub_env_var *var) argument 73 grub_env_remove(struct grub_env_var *var) argument 84 struct grub_env_var *var; local 138 struct grub_env_var *var; local 153 struct grub_env_var *var; local 173 grub_env_iterate(int (*func) (struct grub_env_var *var)) argument 182 struct grub_env_var *var; local 227 struct grub_env_var *var = grub_env_find (name); local 247 struct grub_env_var *var; local [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_prom.c | 109 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
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | context.c | 78 struct grub_env_var *var; local 80 for (var = context->prev->vars[i]; var; var = var->next) 81 if (var->global || export_all) 83 if (grub_env_set (var->name, var->value) != GRUB_ERR_NONE) 88 grub_env_export (var->name); 89 grub_register_variable_hook (var [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 130 struct Var var; local 133 var.level = 0; 134 var.odepth = depth; 135 rc = fwalk(path, fn, depth, &var);
|
/osnet-11/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 213 int addstar=0, rval=0, var=0, strip=1; local 257 var = mode; 258 begin = out = find_begin(outbuff,last,0,&var); 260 if(var=='$') 287 if(var!='$' && mode=='\\' && out[-1]!='*') 303 if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' ))) 392 if(ep->e_nlist && dir && var) 394 if(*cp==var) 397 *begin++ = var; 399 var [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_dis.c | 129 uint_t var = DIF_INSTR_R1(in); local 133 var, DIF_INSTR_R2(in), DIF_INSTR_RD(in)); 135 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL) 136 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname); 142 uint_t var = DIF_INSTR_VAR(in); local 146 name, var, DIF_INSTR_RD(in)); 148 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL) 149 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname); 155 uint_t var = DIF_INSTR_VAR(in); local 159 name, DIF_INSTR_RS(in), var); [all...] |
/osnet-11/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 467 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...] |
H A D | resource.c | 480 netsnmp_variable_list *var; local 491 var = SNMP_MALLOC_TYPEDEF(netsnmp_variable_list); 492 (void) snmp_set_var_typed_value(var, ASN_UNSIGNED, 498 if (build_oid(&var->name, &var->name_length, tmpoid, 499 reginfo->rootoid_len + 2, var) != SNMPERR_SUCCESS) { 500 snmp_free_varbind(var); 504 DEBUGMSGVAR((MODNAME_STR, var)); 507 var = snmp_clone_varbind(table_info->indexes); 508 index = *var [all...] |
H A D | problem.c | 617 netsnmp_variable_list *var; local 659 var = 661 (void) snmp_set_var_typed_value(var, 669 if (build_oid_segment(var) != SNMPERR_SUCCESS) { 670 snmp_free_varbind(var); 675 table_info->indexes->next_variable = var;
|
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | pnvram.c | 106 auto int iterate_env (struct grub_env_var *var); 107 int iterate_env (struct grub_env_var *var) argument 115 if (grub_memcmp (var->name, "EfiEmu.pnvram.", 119 guid = var->name + sizeof ("EfiEmu.pnvram.") - 1; 185 if (unescape (var->value, nvramptr, nvram + nvramsize, &len))
|
/osnet-11/usr/src/grub/grub2/grub-core/mmap/ |
H A D | mmap.c | 325 int tail, var; local 334 var = 0; 337 var++; 359 for (; iterator < (1ULL << (var - tail))
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 282 } var; local 524 var.best = 0; 532 var.best = map; 538 if (map = var.best) 871 var.type = 0; 903 if (var.type != TOK_TOKCAT && p > mac->value && *(p - 1) != ' ' && !(pp.option & PRESERVE)) *p++ = ' '; 909 *p++ = (n1 || var.type == TOK_TOKCAT) ? 'C' : 'A'; 911 if ((pp.state & WARN) && !(pp.mode & (HOSTED|RELAX)) && var.type != TOK_TOKCAT && !(var.type & TOK_ID)) 923 if ((var [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 409 register char* var; local 433 if (error_info.errors || !(var = *argv++) || !(path = *argv++) || *argv) 453 np = nv_open(var,sh.var_tree,NV_ARRAY|NV_VARNAME|NV_NOASSIGN);
|
H A D | read.c | 328 char buf[256],*var=buf,*cur,*end,*up,*v; local 332 if(!(var = (char*)malloc(c+1))) 334 end = var + c; 337 end = var + sizeof(buf) - 1; 338 up = cur = var; 379 ssize_t cx = cur - var, ux = up - var; 380 m = (end - var) + (c - (end - cur)); 381 if (var == buf) 384 var [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | subshell.c | 66 Dt_t *var; /* variable table at time of subshell */ member in struct:subshell 496 sp->var = shp->var_tree;
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgserv.c | 49 #define SADM_DIR "/var/sadm/install" 144 * at /var/sadm/install or 447 char *var = getenv(SUNW_PKG_SERVERMODE); local 449 if (var != NULL) 450 defmode = pkgparsemode(var);
|