Home | History | Annotate | Download | only in src

Lines Matching refs:expand

35 typedef struct Expand {
36 /* int type; */ /* see expand() */
44 } Expand;
59 static int varsub(Expand *, const char *, const char *, int *, int *);
60 static int comsub(Expand *, const char *);
100 /* compile and expand word */
118 * expand arg-list
134 expand(*ap++, &w, f);
140 * expand string
149 expand(cp, &w, f);
157 * expand string - return only one component
158 * used from iosetup to expand redirection files
167 expand(cp, &w, f);
196 expand(const char *cp, /* input word */
208 Expand x = { /* expansion variables */
218 internal_errorf("expand(NULL)");
342 if (type == XBASE) { /* expand? */
898 varsub(Expand *xp, const char *sp, const char *word,
1105 state = XBASE; /* expand word instead of variable value */
1116 comsub(Expand *xp, const char *cp)
1477 /* If HOME, PWD or OLDPWD are not set, don't expand ~ */
1537 /* Note that given a{{b,c} we do not expand anything (this is
1553 /* expand expression */