Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 21 of 21) sorted by relevance

/original-bsd/lib/libedit/
H A Dtokenizer.c61 if ((tok->flags & TOK_KEEP) || tok->wptr != tok->wstart) {
62 tok->argv[tok->argc++] = tok->wstart;
63 tok->argv[tok->argc] = NULL;
64 tok->wstart = ++tok->wptr;
86 tok->wstart = tok->wspace;
87 tok->wptr = tok->wspace;
103 tok->wstart = tok->wspace;
104 tok->wptr = tok->wspace;
335 if (tok->wptr >= tok->wmax - 4) {
345 tok->wptr = tok->wptr + offs;
[all …]
H A Dparse.c53 Tokenizer *tok; local
55 tok = tok_init(NULL);
56 tok_line(tok, line, &argc, &argv);
58 tok_end(tok);
/original-bsd/usr.bin/ctags/
H A DC.c71 endtok: if (sp > tok) { in c_entries()
74 sp = tok; in c_entries()
105 if (sp == tok) { in c_entries()
119 if (sp != tok) in c_entries()
157 if (sp != tok) in c_entries()
159 pfnote(tok, lineno); in c_entries()
171 if (sp == tok) in c_entries()
198 sp = tok; in c_entries()
207 sp = tok; in c_entries()
319 pfnote(tok, curline); in hash_entry()
[all …]
H A Dlisp.c29 char tok[MAXTOKEN]; in l_entries() local
73 (void)strcpy(tok, lbp); in l_entries()
76 pfnote(tok, lineno); in l_entries()
H A Dyacc.c29 char tok[MAXTOKEN]; in y_entries() local
70 sp = tok; in y_entries()
83 pfnote(tok, lineno); in y_entries()
H A Dfortran.c28 char tok[MAXTOKEN]; in PF_funcs() local
99 (void)strcpy(tok, lbp); in PF_funcs()
101 pfnote(tok, lineno); in PF_funcs()
/original-bsd/sys/tahoe/stand/vdformat/
H A Ddelete.c34 int *tok; in delete() local
58 tok = tokens; in delete()
59 for(tok=tokens; *tok != -1; tok++) { in delete()
60 if(*table[*tok] != 0) { in delete()
61 print("Line %d has been deleted.\n",*tok); in delete()
62 *table[*tok] = 0; in delete()
H A Dcmd.c135 register int *tok = tokens; local
142 if(*tok = cmd_search(table, tok_start)) {
143 tok++;
148 *tok = 0;
/original-bsd/old/awk/
H A Dtoken.c6 struct tok struct
9 } tok[] = { argument
93 return(tok[n-257].tnm); in tokname()
H A Dawk.lx.l186 extern struct tok {
189 } tok[];
201 printf(" %s",tok[n-257].tnm);
/original-bsd/lib/libc/string/
H A Dstrsep.c35 char *tok; local
39 for (tok = s;;) {
49 return (tok);
H A Dstrtok.c22 char *tok; local
43 tok = s - 1;
59 return (tok);
/original-bsd/lib/libedit/TEST/
H A Dtest.c101 Tokenizer *tok; local
112 tok = tok_init(NULL); /* Initialize the tokenizer */
148 if (tok_line(tok, buf, &ac, &av) > 0) {
157 tok_reset(tok);
179 tok_reset(tok);
183 tok_end(tok);
/original-bsd/usr.bin/mail/
H A Dlist.c96 int tok, beg, mc, star, other, valdot, colmod, colresult; local
106 tok = scan(&bufp);
110 while (tok != TEOL) {
111 switch (tok) {
132 tok = scan(&bufp);
133 regret(tok);
134 if (tok != TDASH) {
208 tok = scan(&bufp);
/original-bsd/old/yacc/
H A Dy2.c735 int brac, c, match, j, s, tok; in cpyact() local
759 tok = -1; in cpyact()
764 tok = numbval; in cpyact()
770 if( tok < 0 ) tok = fdtype( *prdptr[nprod] ); in cpyact()
771 fprintf( faction, ".%s", typeset[tok] ); in cpyact()
793 if( j+offset <= 0 && tok < 0 ) error( "must specify type of $%d", j+offset ); in cpyact()
794 if( tok < 0 ) tok = fdtype( prdptr[nprod][j+offset] ); in cpyact()
795 fprintf( faction, ".%s", typeset[tok] ); in cpyact()
/original-bsd/games/larn/
H A DMakefile57 SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
H A DREADME47 tok.c code for the input front end and options file processing
H A DFixed.Bugs29 to an improperly declared savefilename array in tok.c. This has been fixed.
/original-bsd/usr.sbin/amd/fsinfo/
H A Dfsi_lex.l87 int tok; member
/original-bsd/bin/sh/
H A Dparser.c128 int tok; local
136 tok = readtoken();
137 if (tok == TBACKGND) {
160 switch (tok) {
163 tok = readtoken();
166 if (tok == TNL) {
/original-bsd/usr.sbin/sendmail/src/
H A Dparseaddr.c420 char *tok; local
467 tok = q;
606 if (tok != q)
612 xputs(tok);
620 if (q - tok > MAXNAME)
625 *avp++ = tok;