Home
last modified time | relevance | path

Searched refs:var (Results 1 – 16 of 16) 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);
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.
Dnodes.h75 char *var; member
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/fastboot/
Dfastboot.h46 void fb_queue_require(const char *var, int invert, unsigned nvalues, const char **value);
47 void fb_queue_display(const char *var, const char *prettyname);
Dengine.c211 void fb_queue_require(const char *var, int invert, unsigned nvalues, const char **value) in fb_queue_require() argument
214 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_require()
217 a->msg = mkmsg("checking %s", var); in fb_queue_require()
232 void fb_queue_display(const char *var, const char *prettyname) in fb_queue_display() argument
235 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_display()
/system/core/nexus/
DSupplicant.h61 int setNetworkVar(int networkId, const char *var, const char *value);
62 const char *getNetworkVar(int networkid, const char *var, char *buffer,
DSupplicant.cpp495 int Supplicant::setNetworkVar(int networkId, const char *var, const char *val) { in setNetworkVar() argument
499 LOGD("netid %d, var '%s' = '%s'", networkId, var, val); in setNetworkVar()
501 asprintf(&tmp, "SET_NETWORK %d %s %s", networkId, var, val); in setNetworkVar()
510 LOGE("Error saving config after %s = %s", var, val); in setNetworkVar()
516 const char *Supplicant::getNetworkVar(int networkId, const char *var, in getNetworkVar() argument
521 asprintf(&tmp, "GET_NETWORK %d %s", networkId, var); in getNetworkVar()
/system/core/toolbox/
Dvmstat.c222 #define NORM(var) ((var) = (((var) > 99) ? (99) : (var))) argument