Home | History | Annotate | Download | only in csh

Lines Matching refs:Char

35 static char sccsid[] = "@(#)lex.c	8.1 (Berkeley) 5/31/93";
60 static Char *word(void);
64 static struct Hist *findev(Char *, int);
65 static void setexclp(Char *);
69 static int matchs(Char *, Char *);
72 static Char *subword(Char *, int, int *);
96 static Char *exclp = NULL;
105 Char **alvec, *alvecp;
115 static Char labuf[BUFSIZE];
193 sprlex(char **s, struct wordent *sp0)
198 char *os = *s;
200 char *w = vis_str(sp->word);
256 static Char *
259 Char wbuf[BUFSIZE], *wp;
274 *wp++ = (Char)c;
277 *wp++ = (Char)c1;
298 *wp++ = (Char)c;
363 *wp++ = (Char)c;
436 Char name[4*MAXVARLEN+1], *ep, *np;
449 *np++ = (Char)c, c = getC(DOEXCL);
451 special++, *np++ = (Char)c, c = getC(DOEXCL);
452 *np++ = (Char)c;
493 *np++ = (Char)c;
507 *np++ = (Char)c;
527 *np++ = (Char)c;
547 *np++ = (Char)c;
570 *np++ = (Char)c, c = getC(DOEXCL);
576 *np++ = (Char)c; c = getC(DOEXCL);
583 *np++ = (Char)c, c = getC(DOEXCL);
585 *np++ = (Char)c;
590 *np++ = (Char)delim;
598 *np++ = (Char)c;
631 *np++ = (Char)c;
639 addla(Char *cp)
641 Char buf[BUFSIZE];
644 (sizeof(labuf) - 4) / sizeof(Char)) {
656 static Char lhsb[32];
657 static Char slhs[32];
658 static Char rhsb[64];
739 Char orhsb[sizeof(rhsb) / sizeof(Char)];
740 Char *cp;
800 if (cp > &lhsb[sizeof(lhsb) / sizeof(Char) - 2]) {
810 *cp++ = (Char)c;
831 sizeof(Char) - 2])
838 if (cp > &rhsb[sizeof(rhsb) / sizeof(Char) - 2]) {
847 *cp++ = (Char)c;
889 Char *tword, *otword;
919 static Char *
920 subword(Char *cp, int type, int *adid)
922 Char wbuf[BUFSIZE];
923 Char *mp, *np, *wp;
985 Char *
986 domod(Char *cp, int type)
988 Char *wp, *xp;
1031 matchs(Char *str, Char *pat)
1122 Char *np;
1123 char *str;
1171 if (np < &lhsb[sizeof(lhsb) / sizeof(Char) - 2])
1172 *np++ = (Char)c;
1203 if (np < &lhsb[sizeof(lhsb) / sizeof(Char) - 2])
1204 *np++ = (Char)c;
1234 findev(Char *cp, int anyarg)
1239 Char *dp, *p, *q;
1286 setexclp(Char *cp)
1346 if (evalvec == (Char **) 1) {
1354 evalvec = (Char **) 1;
1358 if (arginp == (Char *) 1 || onelflg == 1) {
1365 arginp = (Char *) 1;
1418 char tbuf[BUFSIZE + 1];
1419 Char ttyline[BUFSIZE];
1425 char tbuf[BUFSIZE + 1];
1444 fbuf[0][i] = (unsigned char) tbuf[i];
1455 Char **nfbuf;
1464 fbuf[fblocks] = xcalloc(BUFSIZE, sizeof(Char));
1479 const char *p;
1508 Char *ptr = fbuf[buf] + off;
1511 ptr[i] = (unsigned char) tbuf[i];
1630 fbuf[0] = xcalloc(BUFSIZE, sizeof(Char));