/original-bsd/lib/libedit/ |
H A D | tokenizer.c | 61 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 D | parse.c | 53 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 D | C.c | 71 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 D | lisp.c | 29 char tok[MAXTOKEN]; in l_entries() local 73 (void)strcpy(tok, lbp); in l_entries() 76 pfnote(tok, lineno); in l_entries()
|
H A D | yacc.c | 29 char tok[MAXTOKEN]; in y_entries() local 70 sp = tok; in y_entries() 83 pfnote(tok, lineno); in y_entries()
|
H A D | fortran.c | 28 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 D | delete.c | 34 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 D | cmd.c | 135 register int *tok = tokens; local 142 if(*tok = cmd_search(table, tok_start)) { 143 tok++; 148 *tok = 0;
|
/original-bsd/old/awk/ |
H A D | token.c | 6 struct tok struct 9 } tok[] = { argument 93 return(tok[n-257].tnm); in tokname()
|
H A D | awk.lx.l | 186 extern struct tok { 189 } tok[]; 201 printf(" %s",tok[n-257].tnm);
|
/original-bsd/lib/libc/string/ |
H A D | strsep.c | 35 char *tok; local 39 for (tok = s;;) { 49 return (tok);
|
H A D | strtok.c | 22 char *tok; local 43 tok = s - 1; 59 return (tok);
|
/original-bsd/lib/libedit/TEST/ |
H A D | test.c | 101 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 D | list.c | 96 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 D | y2.c | 735 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 D | Makefile | 57 SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
|
H A D | README | 47 tok.c code for the input front end and options file processing
|
H A D | Fixed.Bugs | 29 to an improperly declared savefilename array in tok.c. This has been fixed.
|
/original-bsd/usr.sbin/amd/fsinfo/ |
H A D | fsi_lex.l | 87 int tok; member
|
/original-bsd/bin/sh/ |
H A D | parser.c | 128 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 D | parseaddr.c | 420 char *tok; local 467 tok = q; 606 if (tok != q) 612 xputs(tok); 620 if (q - tok > MAXNAME) 625 *avp++ = tok;
|