/freebsd/contrib/tcsh/ |
H A D | sh.parse.c | 37 static int asyntax (struct wordent *, struct wordent *); 38 static int asyn0 (struct wordent *, struct wordent *); 39 static int asyn3 (struct wordent *, struct wordent *); 40 static struct wordent *freenod (struct wordent *, struct wordent *); 41 static struct command *syn0 (const struct wordent *, const struct wordent *, int); 42 static struct command *syn1 (const struct wordent *, const struct wordent *, int); 43 static struct command *syn1a (const struct wordent *, const struct wordent *, int); 44 static struct command *syn1b (const struct wordent *, const struct wordent *, int); 45 static struct command *syn2 (const struct wordent *, const struct wordent *, int); 46 static struct command *syn3 (const struct wordent *, const struct wordent *, int); [all …]
|
H A D | sh.decls.h | 121 extern int tellmewhat (struct wordent *, Char **); 219 extern struct Hist *enthist (int, struct wordent *, int, int, int); 220 extern void savehist (struct wordent *, int); 239 extern void copylex (struct wordent *, struct wordent *); 241 extern void initlex (struct wordent *); 242 extern void freelex (struct wordent *); 243 extern int lex (struct wordent *); 245 extern void prlex (struct wordent *); 306 extern void alias (struct wordent *); 308 extern struct command *syntax (const struct wordent *, [all …]
|
H A D | sh.lex.c | 59 static struct wordent *gethent (Char); 62 static struct wordent *getsub (struct wordent *); 64 static struct wordent *dosub (Char, struct wordent *, int); 90 static struct wordent *exclnxt = NULL; 144 lex(struct wordent *hp) in lex() 146 struct wordent *wdp; in lex() 174 struct wordent *new; in lex() 225 prlex(struct wordent *sp0) in prlex() 227 struct wordent *sp = sp0->next; in prlex() 240 copylex(struct wordent *hp, struct wordent *fp) in copylex() [all …]
|
H A D | tc.func.c | 66 static void insert (struct wordent *, int); 67 static void insert_we (struct wordent *, struct wordent *); 95 expand_lex(const struct wordent *sp0, int from, int to) in expand_lex() 98 const struct wordent *sp; in expand_lex() 145 sprlex(const struct wordent *sp0) in sprlex() 222 struct wordent cmd, *nextword, *lastword; in dolist() 439 struct wordent lexp[3]; in cmd_expand() 994 struct wordent w, *new1, *new2; /* for holding alias name */ in aliasrun() 1137 rmstar(struct wordent *cp) in rmstar() 1139 struct wordent *we, *args; in rmstar() [all …]
|
H A D | tc.decls.h | 79 extern Char *expand_lex (const struct wordent *, int, int); 80 extern Char *sprlex (const struct wordent *); 100 extern void rmstar (struct wordent *); 101 extern void continue_jobs (struct wordent *);
|
H A D | sh.hist.c | 42 static int heq (const struct wordent *, const struct wordent *); 143 struct wordent *sp, in savehist() 372 hashhist(struct wordent *h0) in hashhist() 375 struct wordent *firstWord = h0->next; in hashhist() 376 struct wordent *h = firstWord; in hashhist() 444 struct wordent word[4]; in generateHashes() 445 struct wordent base = { NULL, &word[0], &word[0] }; in generateHashes() 600 heq(const struct wordent *a0, const struct wordent *b0) in heq() 602 const struct wordent *a = a0->next, *b = b0->next; in heq() 853 findHistHashTable(struct wordent *lp, unsigned hashval) in findHistHashTable() [all …]
|
H A D | sh.h | 843 struct wordent { struct 845 struct wordent *prev; argument 846 struct wordent *next; argument 1030 EXTERN struct wordent *alhistp IZERO_STRUCT;/* Argument list (first) */ 1031 EXTERN struct wordent *alhistt IZERO_STRUCT;/* Node after last in arg list */ 1071 struct wordent Hlex; 1080 extern struct wordent paraml; /* Current lexical word list */
|
H A D | sh.exp.c | 948 struct wordent paraml1; in evalav() 949 struct wordent *hp = ¶ml1; in evalav() 951 struct wordent *wdp = hp; in evalav() 956 struct wordent *new = xcalloc(1, sizeof *wdp); in evalav()
|
H A D | tc.sched.c | 188 struct wordent cmd, *nextword, *lastword; in sched_run()
|
H A D | sh.func.c | 60 static struct wordent *histgetword (struct wordent *); 755 struct wordent *histent = NULL, *ohistent = NULL; in search() 897 static struct wordent * 898 histgetword(struct wordent *histent) in histgetword()
|
H A D | sh.exec.c | 925 tellmewhat(struct wordent *lexp, Char **str) in tellmewhat() 930 struct wordent *sp = lexp->next; in tellmewhat()
|
H A D | ed.chared.c | 465 struct wordent *l; in c_expand() 2111 struct wordent *wp, *firstp; in e_last_item() 2126 if (wp->prev == (struct wordent *) NULL) in e_last_item()
|
H A D | sh.glob.c | 775 struct wordent paraml1; in backeval()
|
H A D | sh.c | 79 struct wordent paraml IZERO_STRUCT;
|