Lines Matching refs:expand
37 /* not including an "int type;" member, see expand() */
51 } Expand;
66 static int varsub(Expand *, const char *, const char *, int *, int *);
67 static int comsub(Expand *, const char *, int);
110 /* compile and expand word */
128 * expand arg-list
145 expand(*ap++, &w, f);
151 * expand string
160 expand(cp, &w, f);
168 * expand string - return only one component
169 * used from iosetup to expand redirection files
178 expand(cp, &w, f);
207 expand(
232 Expand x = {
244 internal_errorf("expand(NULL)");
387 /* expand? */
1065 varsub(Expand *xp, const char *sp, const char *word,
1298 /* expand word instead of variable value */
1310 comsub(Expand *xp, const char *cp, int fn MKSH_A_UNUSED)
1725 /* If HOME, PWD or OLDPWD are not set, don't expand ~ */
1786 * Note that given a{{b,c} we do not expand anything (this is
1802 /* expand expression */