Lines Matching defs:expand
27 typedef struct Expand {
28 /* int type; */ /* see expand() */
36 } Expand;
50 static int varsub ARGS((Expand *xp, char *sp, char *word, int *stypep, int *slenp));
51 static int comsub ARGS((Expand *xp, char *cp));
65 /* compile and expand word */
85 * expand arg-list
99 expand(*ap++, &w, f);
105 * expand string
115 expand(cp, &w, f);
122 * expand string - return only one component
123 * used from iosetup to expand redirection files
133 expand(cp, &w, f);
161 expand(cp, wp, f)
173 Expand x; /* expansion variables */
185 internal_errorf(1, "expand(NULL)");
311 if (type == XBASE) { /* expand? */
698 Expand *xp;
837 state = XBASE; /* expand word instead of variable value */
849 Expand *xp;
1266 /* If HOME, PWD or OLDPWD are not set, don't expand ~ */
1341 /* Note that given a{{b,c} we do not expand anything (this is
1357 /* expand expression */