Searched defs:expand (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libjcl/
H A Dfind.c87 * expand ${...} in name
93 expand(Jcl_t* jcl, const char* name, int flags) function
137 t = expand(jcl, t, flags);
156 message((-7, "expand %s => %s", name, s));
176 if (dir && *(dir = (const char*)expand(jcl, dir, 0)) && !streq(dir, ".") && directory(dir, &st))
276 name = (const char*)expand(jcl, jclpath(jcl, name), 0);
H A Djcllib.h149 #define expand _jcl_expand macro
168 extern char* expand(Jcl_t*, const char*, int);
/ast/src/cmd/std/
H A Dunexpand.c22 * expand.c and unexpand.c
29 "[-?@(#)$Id: expand (AT&T Research) 1999-06-17 $\n]"
31 "[+NAME?expand - convert tabs to spaces]"
131 static int expand(Sfio_t *in, Sfio_t *out, int tablist[], int tabmax, int type,int initial) function
335 if(expand(fp,sfstdout,tablist,ntabs,type,initial)<0)
/ast/src/cmd/re/
H A Dtestfmt.c74 H(" $ expand C \\c escapes in fields 2 and 3\n");
99 quote(char* s, int expand) argument
108 else if (expand)
160 report(char* comment, char* fun, char* re, char* msg, int expand) argument
170 quote(re, expand);
179 bad(char* comment, char* re, char* s, int expand) argument
182 report(comment, NiL, re, s, expand);
310 int expand; local
472 expand = invert = type = 0;
489 expand
[all...]
H A Dtestfnmatch.c103 H(" $ expand C \\c escapes in fields 2 and 3\n");
190 quote(char* s, int expand) argument
199 else if (expand)
251 report(char* comment, char* re, char* s, char* msg, int unspecified, int expand) argument
259 quote(re, expand);
263 quote(s, expand);
292 bad(char* comment, char* re, char* s, int expand) argument
295 report(comment, re, s, NiL, 0, expand);
476 int expand; local
658 expand
[all...]
H A Dtestmatch.c113 H(" $ expand C \\c escapes in fields 2 and 3\n");
219 quote(char* s, int expand) argument
228 else if (expand)
280 report(char* comment, char* fun, char* re, char* s, char* msg, int flags, int unspecified, int expand) argument
288 quote(re, expand);
292 quote(s, expand);
329 bad(char* comment, char* re, char* s, int expand) argument
332 report(comment, NiL, re, s, NiL, 0, 0, expand);
476 matchcheck(int nmatch, ssize_t* match, char* ans, char* re, char* s, int flags, int query, int unspecified, int expand) argument
486 bad("improper answer\n", re, s, expand);
606 int expand; local
[all...]
H A Dtestregex.c243 T(" $ expand C \\c escapes in fields 2 and 3\n");
1166 expand(char* os, char* ot) function
1811 re = expand(re, patbuf);
1820 s = expand(s, strbuf);
/ast/src/cmd/mailx/
H A Dfio.c440 state.msg.inbox = state.var.inbox && (s = expand(state.var.inbox, 1)) && streq(s, state.path.mail);
596 expand(register char* name, int verify) function
604 * The order of evaluation is "%" and "#" expand into constants.
605 * "&" can expand into "+". "+" can expand into shell meta characters.
606 * Shell meta characters expand into constants.
649 note(DEBUG, "expand: n=%d \"%-*.s\"", n, n, buf);
/ast/src/cmd/mailx/port/
H A Dmime.c519 expand(Mime_t* mp, register char* s, const char* name, const char* type, const char* opts) function
592 if (s = expand(mp, s, name, type, opts))
674 return expand(mp, att->value, name, type, opts);
/ast/src/cmd/nmake/
H A Dconvert.c35 #include "expand.h"
52 static char* expand(char*, char*);
106 expand(buf, ed);
364 error(1, "%s: expand result may need conversion too", val);
690 * expand var name into xp
705 return(expand(xp, v - 1));
711 xp = expand(xp, v);
776 xp = expand(xp, v);
791 xp = expand(xp, v - 1);
799 * expand `
803 expand(register char* xp, register char* a) function
[all...]
H A Dexpand.c29 #include "expand.h"
218 * $(s:V) do not expand value (prefix)
221 * $(s:Z) expand in parent reference frame (prefix cumulative)
326 * expand one instance of v not in w into xp
437 * expand closure of v into xp
463 * expand the directory cross product of v and w into xp
502 expand(tmp, w);
547 * expand the pathname intersection of v with w into xp
592 expand(tmp, w);
642 * expand th
4700 expand(register Sfio_t* xp, register char* a) function
[all...]
/ast/src/lib/libast/misc/
H A Dmime.c550 expand(Mime_t* mp, register char* s, const char* name, const char* type, const char* opts) function
648 if (s = expand(mp, s, name, type, opts))
730 return expand(mp, att->value, name, type, opts);
H A Doptget.c868 * expand \f...\f info
874 expand(register char* s, register char* e, char** p, Sfio_t* ip, char* id) function
1071 s = expand(s + 1, NiL, &e, state.xp, p->id);
1222 b = expand(s, e, &s, ip, id);
2701 p = expand(p + 2, NiL, &t, vp, id);
3088 p = expand(p + 1, NiL, &t, vp, id);
4765 s = expand(s + 2, NiL, &t, vp, id);
/ast/src/lib/libast/port/
H A Dastlicense.c292 * expand simple ${...}
296 expand(Notice_t* notice, register Buffer_t* b, const Item_t* item) function
396 expand(notice, b, &notice->item[SINCE]);
403 expand(notice, b, &notice->item[PARENT]);
408 expand(notice, b, &notice->item[CORPORATION]);
412 expand(notice, b, &notice->item[INCORPORATION]);
418 expand(notice, b, &notice->item[COMPANY]);
702 expand(&notice, &buf, &key[i]);
714 expand(&notice, &buf, &notice.item[i]);
727 expand(
[all...]
/ast/src/cmd/ksh93/sh/
H A Dlex.c296 char *quoted, *macro, *split, *expand; local
299 quoted = macro = split = expand = "";
305 expand = "expand:";
310 macro, split, expand, fmttoken(lp,tok,tokstr));
/ast/src/cmd/pzip/
H A Dpin.c1310 size_t expand; local
1319 expand = val[sol[i-1] + 1][i];
1321 if (new < expand) {
1326 cst[i] = expand;
1341 size_t expand; local
1348 expand = field(buf, dat, i-1, i, row, tot);
1349 if (expand <= val[i-1][i-1] + val[i][i])
1351 cst[i] = expand;
/ast/src/cmd/INIT/
H A Dmamake.c768 * expand var refs from s into buf
904 * expand var refs from s into buf and return buf base
908 expand(Buf_t* buf, char* s) function
1461 r = expand(tmp, use(buf));
1478 r = expand(tmp, use(buf));
1495 f = fopen(expand(buf, use(tmp)), "r");
1529 if (execute(expand(buf, use(tmp))))
1602 q = rule(expand(buf, t));
1616 q = rule(expand(buf, t));
1656 q = rule(expand(bu
[all...]
/ast/src/cmd/html/
H A Dtroff2html.c687 static void expand(Sfio_t*, char*);
1850 * expand if expression s into op
1854 expand(register Sfio_t* op, register char* s) function
2844 expand(state.arg, s);

Completed in 79 milliseconds