Lines Matching defs:attr
452 papi_attribute_t *attr = papiAttributeListFind(list, name);
454 if (attr == NULL)
457 if (attr->type != type)
460 tmp = attr->values;
758 papi_attribute_t *attr = calloc(1, sizeof (*attr));
766 if ((attr == NULL) || ((attr->name = strdup(key)) == NULL))
769 attr->type = PAPI_METADATA;
772 if (strcasecmp(attr->name, ranges[i]) == 0) {
773 attr->type = PAPI_RANGE;
785 if (attr->type == PAPI_METADATA)
786 attr->type = dtype;
787 _add_attribute_value(&vals, attr->type, dtype, parts);
790 attr->values = vals;
793 list_append(list, attr);