Home
last modified time | relevance | path

Searched refs:wordent (Results 1 – 12 of 12) sorted by relevance

/NextBSD/contrib/tcsh/
HDsh.parse.c40 static int asyntax (struct wordent *, struct wordent *);
41 static int asyn0 (struct wordent *, struct wordent *);
42 static int asyn3 (struct wordent *, struct wordent *);
43 static struct wordent *freenod (struct wordent *, struct wordent *);
44 static struct command *syn0 (const struct wordent *, const struct wordent *, int);
45 static struct command *syn1 (const struct wordent *, const struct wordent *, int);
46 static struct command *syn1a (const struct wordent *, const struct wordent *, int);
47 static struct command *syn1b (const struct wordent *, const struct wordent *, int);
48 static struct command *syn2 (const struct wordent *, const struct wordent *, int);
49 static struct command *syn3 (const struct wordent *, const struct wordent *, int);
[all …]
HDsh.decls.h121 extern int tellmewhat (struct wordent *, Char **);
218 extern struct Hist *enthist (int, struct wordent *, int, int, int);
219 extern void savehist (struct wordent *, int);
237 extern void copylex (struct wordent *, struct wordent *);
239 extern void freelex (struct wordent *);
240 extern int lex (struct wordent *);
242 extern void prlex (struct wordent *);
302 extern void alias (struct wordent *);
304 extern struct command *syntax (const struct wordent *,
305 const struct wordent *, int);
HDsh.lex.c63 static struct wordent *gethent (Char);
66 static struct wordent *getsub (struct wordent *);
68 static struct wordent *dosub (Char, struct wordent *, int);
95 static struct wordent *exclnxt = NULL;
148 lex(struct wordent *hp) in lex()
150 struct wordent *wdp; in lex()
176 struct wordent *new; in lex()
224 prlex(struct wordent *sp0) in prlex()
226 struct wordent *sp = sp0->next; in prlex()
239 copylex(struct wordent *hp, struct wordent *fp) in copylex()
[all …]
HDtc.func.c70 static void insert (struct wordent *, int);
71 static void insert_we (struct wordent *, struct wordent *);
99 expand_lex(const struct wordent *sp0, int from, int to) in expand_lex()
102 const struct wordent *sp; in expand_lex()
143 sprlex(const struct wordent *sp0) in sprlex()
220 struct wordent cmd, *nextword, *lastword; in dolist()
432 struct wordent lexp[3]; in cmd_expand()
958 struct wordent w, *new1, *new2; /* for holding alias name */ in aliasrun()
1101 rmstar(struct wordent *cp) in rmstar()
1103 struct wordent *we, *args; in rmstar()
[all …]
HDsh.hist.c44 static int heq (const struct wordent *, const struct wordent *);
145 struct wordent *sp, in savehist()
375 hashhist(struct wordent *h0) in hashhist()
378 struct wordent *firstWord = h0->next; in hashhist()
379 struct wordent *h = firstWord; in hashhist()
447 struct wordent word[4]; in generateHashes()
448 struct wordent base = { NULL, &word[0], &word[0] }; in generateHashes()
603 heq(const struct wordent *a0, const struct wordent *b0) in heq()
605 const struct wordent *a = a0->next, *b = b0->next; in heq()
857 findHistHashTable(struct wordent *lp, unsigned hashval) in findHistHashTable()
[all …]
HDtc.decls.h80 extern Char *expand_lex (const struct wordent *, int, int);
81 extern Char *sprlex (const struct wordent *);
101 extern void rmstar (struct wordent *);
102 extern void continue_jobs (struct wordent *);
HDsh.h827 struct wordent { struct
829 struct wordent *prev; argument
830 struct wordent *next; argument
1014 EXTERN struct wordent *alhistp IZERO_STRUCT;/* Argument list (first) */
1015 EXTERN struct wordent *alhistt IZERO_STRUCT;/* Node after last in arg list */
1059 struct wordent Hlex;
1068 EXTERN struct wordent paraml; /* Current lexical word list */
HDsh.exp.c951 struct wordent paraml1; in evalav()
952 struct wordent *hp = &paraml1; in evalav()
954 struct wordent *wdp = hp; in evalav()
960 struct wordent *new = xcalloc(1, sizeof *wdp); in evalav()
HDtc.sched.c192 struct wordent cmd, *nextword, *lastword; in sched_run()
HDsh.func.c64 static struct wordent *histgetword (struct wordent *);
759 struct wordent *histent = NULL, *ohistent = NULL; in search()
893 static struct wordent *
894 histgetword(struct wordent *histent) in histgetword()
HDsh.exec.c928 tellmewhat(struct wordent *lexp, Char **str) in tellmewhat()
933 struct wordent *sp = lexp->next; in tellmewhat()
HDed.chared.c469 struct wordent *l; in c_expand()
2107 struct wordent *wp, *firstp; in e_last_item()
2122 if (wp->prev == (struct wordent *) NULL) in e_last_item()