Lines Matching refs:tokens

214 static char * const tokens[] = {  variable
352 uint_t ntokens = sizeof (tokens) / sizeof (tokens[0]) - 1; in __tablecheck()
359 assert(strcmp(tokens[n], p6_keyvals[n].kv_token) == 0); in __tablecheck()
362 assert(strcmp(tokens[n], p5_keyvals[n].kv_token) == 0); in __tablecheck()
409 int idx = getsubopt(&opts, tokens, &value); in cpc_strtoevent()
422 tokens[idx]); in cpc_strtoevent()
431 tokens[idx]); in cpc_strtoevent()
466 idx < sizeof (tokens) / sizeof (tokens[0])) in cpc_strtoevent()
468 gettext("bad token '%s'\n"), tokens[idx]); in cpc_strtoevent()
609 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr()
612 masktostr(buffer, xpes[0].cmask, tokens[D_cmask0]); in cpc_eventtostr()
613 masktostr(buffer, xpes[1].cmask, tokens[D_cmask1]); in cpc_eventtostr()
614 masktostr(buffer, xpes[0].umask, tokens[D_umask0]); in cpc_eventtostr()
615 masktostr(buffer, xpes[1].umask, tokens[D_umask1]); in cpc_eventtostr()
617 xpes[0].usr, xpes[1].usr, 1, tokens[D_nouser]); in cpc_eventtostr()
619 xpes[0].sys, xpes[1].sys, 0, tokens[D_sys]); in cpc_eventtostr()
621 xpes[0].edge, xpes[1].edge, 1, tokens[D_noedge]); in cpc_eventtostr()
623 xpes[0].irupt, xpes[1].irupt, 0, tokens[D_int]); in cpc_eventtostr()
625 xpes[0].inv, xpes[1].inv, 0, tokens[D_inv]); in cpc_eventtostr()
627 xpes[0].pc, xpes[1].pc, 0, tokens[D_pc]); in cpc_eventtostr()
643 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr()
647 xcesr.usr[0], xcesr.usr[1], 1, tokens[D_nouser]); in cpc_eventtostr()
649 xcesr.sys[0], xcesr.sys[1], 0, tokens[D_sys]); in cpc_eventtostr()
651 xcesr.clk[0], xcesr.clk[1], 0, tokens[D_noedge]); in cpc_eventtostr()
653 xcesr.pc[0], xcesr.pc[1], 0, tokens[D_pc]); in cpc_eventtostr()