Lines Matching defs:pic
110 __cpc_error(fn, gettext("%%pic%d cannot measure "
208 char *pic[2];
240 pic[0] = pic[1] = NULL;
255 if (pic[0] != NULL) {
262 pic[0] = value;
264 if (pic[1] != NULL) {
271 pic[1] = value;
276 * See if it was an implicit pic specification..
278 if (pic[0] == NULL) {
285 pic[0] = value;
286 } else if (pic[1] == NULL) {
293 pic[1] = value;
312 if (pic[0] == NULL || pic[1] == NULL) {
349 uint8_t pic[2];
371 xpcr->pic[0] = (uint8_t)((pcr >> kv[D_pic0].kv_shift) &
373 xpcr->pic[1] = (uint8_t)((pcr >> kv[D_pic1].kv_shift) &
385 char *pic[2];
401 if ((pic[0] = regtostr(event->ce_cpuver, 0, xpcr.pic[0])) == NULL)
403 if ((pic[1] = regtostr(event->ce_cpuver, 1, xpcr.pic[1])) == NULL) {
404 free(pic[0]);
409 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]);
411 free(pic[1]);
412 free(pic[0]);
455 char *pic[2];
472 if ((pic[0] = regtostr(event->ce_cpuver, 0, xpcr.pic[0])) == NULL)
474 if ((pic[1] = regtostr(event->ce_cpuver, 1, xpcr.pic[1])) == NULL) {
475 free(pic[0]);
490 if (cpc_set_add_request(cpc, set, pic[0], event->ce_pic[0], flag,
495 if (cpc_set_add_request(cpc, set, pic[1], event->ce_pic[1], flag,
499 free(pic[0]);
500 free(pic[1]);
507 free(pic[0]);
508 free(pic[1]);