Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 61) sorted by relevance

123

/system/core/sh/
Dvar.h55 char *text; /* name=value */ member
67 char *text; /* saved text */ member
94 #define ifsval() (vifs.text + 4)
96 #define mpathval() (vmpath.text + 9)
97 #define pathval() (vpath.text + 5)
98 #define ps1val() (vps1.text + 4)
99 #define ps2val() (vps2.text + 4)
100 #define ps4val() (vps4.text + 4)
101 #define optindval() (voptind.text + 7)
103 #define histsizeval() (vhistsize.text + 9)
[all …]
Dvar.c80 const char *text; member
171 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) in initvar()
175 vp->text = strdup(ip->text); in initvar()
185 vps1.text = strdup(geteuid() ? "PS1=$ " : "PS1=# "); in initvar()
292 ckfree(vp->text); in setvareq()
296 vp->text = s; in setvareq()
306 vp->text = s; in setvareq()
326 setvareq(savestr(lp->text), flags); in listsetvar()
337 mklocal(lp->text, flags); in listmklocal()
353 return v->text + v->name_len + 1; in lookupvar()
[all …]
Deval.c286 defun(n->narg.text, n->narg.next); in evaltree()
368 setvar(n->nfor.var, sp->text, 0); in evalfor()
403 if (casematch(patp, arglist.list->text)) { in evalcase()
466 redir->nfile.expfname = fn.list->text; in expredir()
472 fixredir(redir, fn.list->text, 1); in expredir()
716 char *p = argp->narg.text; in evalcommand()
734 char *p = argp->narg.text; in evalcommand()
752 TRACE(("evalcommand arg: %s\n", sp->text)); in evalcommand()
753 *argv++ = sp->text; in evalcommand()
768 out2str(sp->text); in evalcommand()
[all …]
Dparser.c370 n2->narg.text = wordtext; in command()
384 n2->narg.text = argvars; in command()
414 n2->narg.text = wordtext; in command()
430 ap->narg.text = wordtext; in command()
560 n->narg.text = wordtext; in simplecmd()
574 if (! goodname(n->narg.text)) in simplecmd()
612 n->narg.text = wordtext; in makename()
617 void fixredir(union node *n, const char *text, int err) in fixredir() argument
619 TRACE(("Fix redir %s %d\n", text, err)); in fixredir()
623 if (is_digit(text[0]) && text[1] == '\0') in fixredir()
[all …]
Dexpand.c143 argstr(arg->narg.text, flag); in expandarg()
162 sp->text = p; in expandarg()
962 sp->text = start; in ifsbreakup()
1002 sp->text = start; in ifsbreakup()
1036 sp->text = start; in ifsbreakup()
1079 p = str->text; in expandmeta()
1089 int i = strlen(str->text); in expandmeta()
1093 expmeta(expdir, str->text); in expandmeta()
1103 rmescapes(str->text); in expandmeta()
1259 sp->text = p; in addfname()
[all …]
Dexpand.h39 char *text; member
Dredir.c266 len = strlen(redir->nhere.doc->narg.text); in openhere()
268 xwrite(pip[1], redir->nhere.doc->narg.text, len); in openhere()
282 xwrite(pip[1], redir->nhere.doc->narg.text, len); in openhere()
DTOUR156 The text field of a NARG structure points to the text of the
157 word. The text consists of ordinary characters and a number of
168 CTLVAR type name '=' [ alternative-text CTLENDVAR ]
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}
[all …]
Dnodes.c167 funcstringsize += strlen(n->narg.text) + 1;
265 new->narg.text = nodesavestr(n->narg.text);
Dnodes.h97 char *text; member
Dnodetypes48 # The last two types should be followed by the text of a C declaration for
111 text string # the text of the word
/system/core/libcutils/
Dconfig_utils.c117 char *text; member
225 cs->text = s; in _lex()
236 tok == T_TEXT ? cs->text : "");
267 node = config_find(root, cs->text); in parse_expr()
269 node = _config_create(root, cs->text); in parse_expr()
276 node = _config_create(node, cs->text); in parse_expr()
280 node->value = cs->text; in parse_expr()
Dsched_policy.c51 char text[64]; in add_tid_to_cgroup() local
60 sprintf(text, "%d", tid); in add_tid_to_cgroup()
61 if (write(fd, text, strlen(text)) < 0) { in add_tid_to_cgroup()
Dmemset32.S21 .text
Datomic-android-armv6.S18 .text
/system/core/libacc/tests/
Dmain.cpp134 ACCchar* text = new ACCchar[fileSize + 1]; in main() local
135 size_t bytesRead = fread(text, 1, fileSize, in); in main()
140 text[fileSize] = '\0'; in main()
144 const ACCchar* scriptSource[] = {text}; in main()
146 delete[] text; in main()
DruntimeTest.cpp46 const char* text = "void op_int(int a);\n" variable
74 const ACCchar* scriptSource[] = {text}; in main()
/system/core/vold/
Dlogwrapper.c146 char text[64]; in logwrap() local
148 sprintf(text, "%d", getpid()); in logwrap()
149 if (write(fd, text, strlen(text)) < 0) { in logwrap()
/system/core/adb/
Dservices.c307 char text[64]; in create_subprocess()
308 snprintf(text, sizeof text, "/proc/%d/oom_adj", pid); in create_subprocess()
309 int fd = adb_open(text, O_WRONLY); in create_subprocess()
314 D("adb: unable to open %s\n", text); in create_subprocess()
/system/core/include/android/
Dlog.h94 int __android_log_write(int prio, const char *tag, const char *text);
/system/core/include/cutils/
Dlog.h324 #define android_writeLog(prio, tag, text) \ argument
325 __android_log_write(prio, tag, text)
/system/core/libpixelflinger/
Drotate90CW_4x4_16v6.S19 .text
Dt32cb16blend.S19 .text
/system/core/init/
Dparser.c70 char *text; member
239 goto text; in next_token()
247 text: in next_token()
248 state->text = s = x; in next_token()
387 args[nargs++] = state.text; in parse_config()
/system/core/libacc/
Dacc.cpp3595 TextInputStream(const char* text, size_t textLength) in TextInputStream() argument
3596 : pText(text), mTextLength(textLength), mPosition(0) { in TextInputStream()
5908 int compile(const char* text, size_t textLength) { in compile() argument
5935 file = new TextInputStream(text, textLength); in compile()
6066 text = 0; in ACCscript()
6072 delete text; in ~ACCscript()
6092 char* text; member
6136 delete script->text; in accScriptSource()
6137 char* text = new char[totalLength + 1]; in accScriptSource() local
6138 script->text = text; in accScriptSource()
[all …]

123