Home
last modified time | relevance | path

Searched refs:tokp (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/usr.bin/rpcgen/
H A Drpc_scan.c77 scan(tok_kind expect, token *tokp) in scan() argument
79 get_token(tokp); in scan()
80 if (tokp->kind != expect) { in scan()
88 scan2(tok_kind expect1, tok_kind expect2, token *tokp) in scan2() argument
90 get_token(tokp); in scan2()
91 if (tokp->kind != expect1 && tokp->kind != expect2) { in scan2()
99 scan3(tok_kind expect1, tok_kind expect2, tok_kind expect3, token *tokp) in scan3() argument
101 get_token(tokp); in scan3()
102 if (tokp->kind != expect1 && tokp->kind != expect2 in scan3()
103 && tokp->kind != expect3) { in scan3()
[all …]
/netbsd-src/bin/ksh/
H A Dexpr.c125 const char *tokp; /* lexical position */ member
181 curstate.expression = curstate.tokp = expr;
246 tbuf[0] = *es->tokp;
475 for (cp = es->tokp; (c = *cp), isspace((unsigned char)c); cp++)
477 es->tokp = cp;
505 tvar = str_nsave(es->tokp, cp - es->tokp, ATEMP);
513 tvar = str_nsave(es->tokp, --cp - es->tokp, ATEMP);
536 es->tokp = cp;