Lines Matching refs:pic

372 	char *pic[2];  in cpc_strtoevent()  local
404 pic[0] = pic[1] = NULL; in cpc_strtoevent()
419 if (pic[0] != NULL) { in cpc_strtoevent()
426 pic[0] = value; in cpc_strtoevent()
428 if (pic[1] != NULL) { in cpc_strtoevent()
435 pic[1] = value; in cpc_strtoevent()
442 if (pic[0] == NULL) { in cpc_strtoevent()
449 pic[0] = value; in cpc_strtoevent()
450 } else if (pic[1] == NULL) { in cpc_strtoevent()
457 pic[1] = value; in cpc_strtoevent()
476 if (pic[0] == NULL || pic[1] == NULL) { in cpc_strtoevent()
589 char *pic[2]; in cpc_eventtostr() local
600 if ((pic[0] = regtostr(cpuver, 0, xpes[0].evsel)) == NULL) in cpc_eventtostr()
604 if ((pic[1] = regtostr(cpuver, 1, xpes[1].evsel)) == NULL) { in cpc_eventtostr()
605 free(pic[0]); in cpc_eventtostr()
609 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr()
610 free(pic[1]); in cpc_eventtostr()
611 free(pic[0]); in cpc_eventtostr()
636 if ((pic[0] = regtostr(cpuver, 0, xcesr.evsel[0])) == NULL) in cpc_eventtostr()
638 if ((pic[1] = regtostr(cpuver, 1, xcesr.evsel[1])) == NULL) { in cpc_eventtostr()
639 free(pic[0]); in cpc_eventtostr()
643 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr()
644 free(pic[1]); in cpc_eventtostr()
645 free(pic[0]); in cpc_eventtostr()
695 char *pic[2]; in __cpc_eventtoset() local
720 if ((pic[i] = regtostr(cpuver, i, in __cpc_eventtoset()
790 if (cpc_set_add_request(cpc, set, pic[i], in __cpc_eventtoset()
793 free(pic[i]); in __cpc_eventtoset()
797 free(pic[i]); in __cpc_eventtoset()
811 if ((pic[i] = regtostr(cpuver, i, xcesr.evsel[i])) in __cpc_eventtoset()
852 if (cpc_set_add_request(cpc, set, pic[i], in __cpc_eventtoset()
855 free(pic[i]); in __cpc_eventtoset()
860 free(pic[i]); in __cpc_eventtoset()