Lines Matching refs:pic

208 	char *pic[2];  in cpc_strtoevent()  local
240 pic[0] = pic[1] = NULL; in cpc_strtoevent()
255 if (pic[0] != NULL) { in cpc_strtoevent()
262 pic[0] = value; in cpc_strtoevent()
264 if (pic[1] != NULL) { in cpc_strtoevent()
271 pic[1] = value; in cpc_strtoevent()
278 if (pic[0] == NULL) { in cpc_strtoevent()
285 pic[0] = value; in cpc_strtoevent()
286 } else if (pic[1] == NULL) { in cpc_strtoevent()
293 pic[1] = value; in cpc_strtoevent()
312 if (pic[0] == NULL || pic[1] == NULL) { in cpc_strtoevent()
349 uint8_t pic[2]; member
371 xpcr->pic[0] = (uint8_t)((pcr >> kv[D_pic0].kv_shift) & in unmake_pcr()
373 xpcr->pic[1] = (uint8_t)((pcr >> kv[D_pic1].kv_shift) & in unmake_pcr()
385 char *pic[2]; in cpc_eventtostr() local
401 if ((pic[0] = regtostr(event->ce_cpuver, 0, xpcr.pic[0])) == NULL) in cpc_eventtostr()
403 if ((pic[1] = regtostr(event->ce_cpuver, 1, xpcr.pic[1])) == NULL) { in cpc_eventtostr()
404 free(pic[0]); in cpc_eventtostr()
409 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr()
411 free(pic[1]); in cpc_eventtostr()
412 free(pic[0]); in cpc_eventtostr()
455 char *pic[2]; in __cpc_eventtoset() local
472 if ((pic[0] = regtostr(event->ce_cpuver, 0, xpcr.pic[0])) == NULL) in __cpc_eventtoset()
474 if ((pic[1] = regtostr(event->ce_cpuver, 1, xpcr.pic[1])) == NULL) { in __cpc_eventtoset()
475 free(pic[0]); in __cpc_eventtoset()
490 if (cpc_set_add_request(cpc, set, pic[0], event->ce_pic[0], flag, in __cpc_eventtoset()
495 if (cpc_set_add_request(cpc, set, pic[1], event->ce_pic[1], flag, in __cpc_eventtoset()
499 free(pic[0]); in __cpc_eventtoset()
500 free(pic[1]); in __cpc_eventtoset()
507 free(pic[0]); in __cpc_eventtoset()
508 free(pic[1]); in __cpc_eventtoset()