Home
last modified time | relevance | path

Searched refs:var (Results 1 – 15 of 15) sorted by relevance

/system/core/sh/
Dvar.h52 struct var { struct
53 struct var *next; /* next entry in hash list */ argument
65 struct var *vp; /* the variable that was made local */ argument
74 extern struct var vatty;
76 extern struct var vifs;
77 extern struct var vmpath;
78 extern struct var vpath;
79 extern struct var vps1;
80 extern struct var vps2;
81 extern struct var vps4;
[all …]
Dvar.c78 struct var *var; member
86 struct var vatty;
89 struct var vhistsize;
90 struct var vterm;
92 struct var vifs;
93 struct var vmpath;
94 struct var vpath;
95 struct var vps1;
96 struct var vps2;
97 struct var vps4;
[all …]
Dexpand.c609 char *var; in evalvar() local
622 var = p; in evalvar()
628 set = varisset(var, varflags & VSNUL); in evalvar()
631 val = lookupvar(var); in evalvar()
650 error("%.*s: parameter not set", p - var - 1, var); in evalvar()
658 varvalue(var, varflags & VSQUOTE, subtype, flag); in evalvar()
683 (*var == '@' && shellparam.nparam != 1)); in evalvar()
735 if (subevalvar(p, var, 0, subtype, startloc, varflags)) { in evalvar()
Dnodes.c151 funcstringsize += strlen(n->nfor.var) + 1;
249 new->nfor.var = nodesavestr(n->nfor.var);
Dnodes.h75 char *var; member
DAndroid.mk28 var.c \
DTOUR173 VSNORMAL $var
174 VSMINUS ${var-text}
175 VSMINUS|VSNUL ${var:-text}
176 VSPLUS ${var+text}
177 VSPLUS|VSNUL ${var:+text}
178 VSQUESTION ${var?text}
179 VSQUESTION|VSNUL ${var:?text}
180 VSASSIGN ${var=text}
181 VSASSIGN|VSNUL ${var=text}
217 var.c Maintains the variable symbol table. Called from expand.c.
Dnodetypes89 args nodeptr # for var in args
91 var string # the for variable
131 vname nodeptr # file name if fd>&$var
Deval.c368 setvar(n->nfor.var, sp->text, 0); in evalfor()
Djobs.c1310 cmdputs(n->nfor.var); in cmdtxt()
Dparser.c364 n1->nfor.var = wordtext; in command()
/system/core/fastbootd/
Dprotocol.c79 struct fastboot_var *var; in fastboot_publish() local
80 var = malloc(sizeof(*var)); in fastboot_publish()
81 if (var) { in fastboot_publish()
82 var->name = name; in fastboot_publish()
83 var->value = value; in fastboot_publish()
84 var->next = varlist; in fastboot_publish()
85 varlist = var; in fastboot_publish()
91 struct fastboot_var *var; in fastboot_getvar() local
93 for (var = varlist; var; var = var->next) { in fastboot_getvar()
94 if (!strcmp(var->name, name)) { in fastboot_getvar()
[all …]
/system/core/fastboot/
Dfastboot.h53 void fb_queue_require(const char *prod, const char *var, int invert,
55 void fb_queue_display(const char *var, const char *prettyname);
56 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size);
Dengine.c492 void fb_queue_require(const char *prod, const char *var, in fb_queue_require() argument
496 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_require()
500 a->msg = mkmsg("checking %s", var); in fb_queue_require()
515 void fb_queue_display(const char *var, const char *prettyname) in fb_queue_display() argument
518 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_display()
534 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size) in fb_queue_query_save() argument
537 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_query_save()
/system/core/toolbox/
Dvmstat.c222 #define NORM(var) ((var) = (((var) > 99) ? (99) : (var))) argument