Home | History | Annotate | Download | only in src

Lines Matching refs:expand

36 typedef struct Expand {
37 /* int type; */ /* see expand() */
45 } Expand;
60 static int varsub(Expand *, const char *, const char *, int *, int *);
61 static int comsub(Expand *, const char *, int);
104 /* compile and expand word */
122 * expand arg-list
139 expand(*ap++, &w, f);
145 * expand string
154 expand(cp, &w, f);
162 * expand string - return only one component
163 * used from iosetup to expand redirection files
172 expand(cp, &w, f);
201 expand(const char *cp, /* input word */
213 Expand x = {
225 internal_errorf("expand(NULL)");
369 /* expand? */
1045 varsub(Expand *xp, const char *sp, const char *word,
1274 /* expand word instead of variable value */
1286 comsub(Expand *xp, const char *cp, int fn MKSH_A_UNUSED)
1693 /* If HOME, PWD or OLDPWD are not set, don't expand ~ */
1754 * Note that given a{{b,c} we do not expand anything (this is
1770 /* expand expression */