Searched refs:peekscan (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.c | 336 while (peekscan(TOK_COMMA, &tok)) { in def_program() 457 if (peekscan(TOK_CASE, &tok)) { in def_union() 467 } while (peekscan(TOK_CASE, &tok)); in def_union() 582 if (peekscan(TOK_LBRACKET, &tok)) { in get_declaration() 590 } else if (peekscan(TOK_LANGLE, &tok)) { in get_declaration() 595 if (peekscan(TOK_RANGLE, &tok)) { in get_declaration() 632 if (peekscan(TOK_IDENT, &tok)) /* optional name of argument */ in get_prog_declaration() 647 if (peekscan(TOK_STAR, &tok)) { in get_prog_declaration() 653 if (peekscan(TOK_IDENT, &tok)) in get_prog_declaration() 657 if (peekscan(TOK_LANGLE, &tok)) { in get_prog_declaration() [all …]
|
H A D | rpc_scan.h | 114 extern int peekscan(tok_kind, token *);
|
H A D | rpc_scan.c | 130 peekscan(tok_kind expect, token *tokp) in peekscan() function
|