Lines Matching refs:text
563 char *text; member
945 char *text; member
952 char *text; member
1200 for (p = arg->narg.text; *p; p++) { in sharg()
2073 const char *text; /* saved text */ member
2559 if (strcmp(lp1->text, vp->var_text) == 0) in listvars()
2578 *ep++ = lp->text; in listvars()
5049 cmdputs(n->ndefun.text); in cmdtxt()
5057 p = n->narg.text; in cmdtxt()
5067 cmdputs(n->ncase.expr->narg.text); in cmdtxt()
5190 && n->ncmd.args && strcmp(n->ncmd.args->narg.text, "trap") == 0 in forkchild()
5278 && n->ncmd.args && strcmp(n->ncmd.args->narg.text, "jobs") == 0 in forkchild()
5487 p = redir->nhere.doc->narg.text; in openhere()
6171 sp->text = start; in ifsbreakup()
6212 sp->text = start; in ifsbreakup()
7690 sp->text = sstrdup(name); in addfname()
7772 if (!hasmeta(str->text)) in expandmeta()
7776 p = preglob(str->text, RMESCAPE_ALLOC | RMESCAPE_HEAP); in expandmeta()
7795 if (p != str->text) in expandmeta()
7814 rmescapes(str->text, 0, NULL); in expandmeta()
7983 if (strcoll(p->text, q->text) < 0) in msort()
7985 if (strcmp(p->text, q->text) < 0) in msort()
8039 if (!hasmeta(str->text)) in expandmeta()
8044 p = preglob(str->text, RMESCAPE_ALLOC | RMESCAPE_HEAP); in expandmeta()
8051 if (p != str->text) in expandmeta()
8060 rmescapes(str->text, 0, NULL); in expandmeta()
8088 TRACE(("expandarg: argstr('%s',flags:%x)\n", arg->narg.text, flag)); in expandarg()
8089 argstr(arg->narg.text, flag); in expandarg()
8107 sp->text = p; in expandarg()
8154 argstr(pattern->narg.text, EXP_TILDE | EXP_CASE); in casematch()
8831 cp = sp->text; in parse_command_args()
8997 funcblocksize += SHELL_ALIGN(strlen(n->ndefun.text) + 1); in calcsize()
9001 funcblocksize += SHELL_ALIGN(strlen(n->narg.text) + 1); /* was funcstringsize += ... */ in calcsize()
9118 new->ndefun.text = nodeckstrdup(n->ndefun.text); in copynode()
9123 new->narg.text = nodeckstrdup(n->narg.text); in copynode()
9189 addcmdentry(func->ndefun.text, &entry); in defun()
9502 setvar0(n->nfor.var, sp->text); in evalfor()
9527 if (casematch(patp, arglist.list->text)) { in evalcase()
9605 TRACE(("expredir expanded to '%s'\n", fn.list->text)); in expredir()
9620 redir->nfile.expfname = fn.list->text; in expredir()
9629 if (!isdigit_str9(fn.list->text)) { in expredir()
9637 fixredir(redir, fn.list->text, 1); in expredir()
9812 if (vp->var_text == lvp->text) in poplocalvars()
9815 free((char*)lvp->text); in poplocalvars()
9825 memcpy(optlist, lvp->text, sizeof(optlist)); in poplocalvars()
9826 free((char*)lvp->text); in poplocalvars()
9833 vp->var_func(var_end(lvp->text)); in poplocalvars()
9837 vp->var_text = lvp->text; in poplocalvars()
9903 funcname = func->n.ndefun.text; in evalfun()
9970 lvp->text = memcpy(p, optlist, sizeof(optlist)); in mklocal()
9983 lvp->text = vp->var_text; in mklocal()
10342 find_command(arglist.list->text, &cmdentry, in evalcommand()
10370 isassignment(argp->narg.text) ? in evalcommand()
10386 TRACE(("evalcommand arg: %s\n", sp->text)); in evalcommand()
10387 *nargv++ = sp->text; in evalcommand()
10431 mklocal((*spp)->text, VEXPORT); in evalcommand()
10433 setvareq((*spp)->text, vflags); in evalcommand()
10446 char *varval = sp->text; in evalcommand()
10464 findkwd(sp->text) in evalcommand()
10465 ? single_quote(sp->text) in evalcommand()
10466 : maybe_single_quote(sp->text) in evalcommand()
10640 if (n->type == NCMD && n->ncmd.args && goodname(n->ncmd.args->narg.text)) in prehash()
10641 find_command(n->ncmd.args->narg.text, &entry, 0, pathval()); in prehash()
11898 n->narg.text = wordtext; in makename()
11904 fixredir(union node *n, const char *text, int err) in fixredir() argument
11908 TRACE(("Fix redir %s %d\n", text, err)); in fixredir()
11912 fd = bb_strtou(text, NULL, 10); in fixredir()
11915 else if (LONE_DASH(text)) in fixredir()
12007 n->narg.text = wordtext; in simplecmd()
12067 name = n->narg.text; in simplecmd()
12075 n->ndefun.text = n->narg.text; in simplecmd()
12176 n2->narg.text = wordtext; in parse_command()
12189 n2->narg.text = (char *)dolatstr; in parse_command()
12214 n2->narg.text = wordtext; in parse_command()
12233 ap->narg.text = wordtext; in parse_command()
13328 n->narg.text = wordtext; in parseheredoc()
13372 n.narg.text = wordtext; in expandstr()