Lines Matching refs:items
889 item_t *items; variable
920 retval->items = (item_t *)__kmp_allocate(sizeof(item_t) * initial_capacity); in allocate()
924 __kmp_free(subset->items); in deallocate()
933 if (items[i].type == type) { in push_back()
934 int idx = items[i].num_attrs++; in push_back()
937 items[i].num[idx] = num; in push_back()
938 items[i].offset[idx] = offset; in push_back()
939 items[i].attr[idx] = attr; in push_back()
947 new_items[i] = items[i]; in push_back()
948 __kmp_free(items); in push_back()
949 items = new_items; in push_back()
951 items[depth].num_attrs = 1; in push_back()
952 items[depth].type = type; in push_back()
953 items[depth].num[0] = num; in push_back()
954 items[depth].offset[0] = offset; in push_back()
955 items[depth].attr[0] = attr; in push_back()
962 return items[index]; in at()
966 return items[index]; in at()
970 set &= ~(1ull << items[index].type); in remove()
972 items[j - 1] = items[j]; in remove()
978 qsort(items, depth, sizeof(item_t), hw_subset_compare); in sort()
987 printf(" type: %s\n", __kmp_hw_get_keyword(items[i].type)); in dump()
988 for (int j = 0; j < items[i].num_attrs; ++j) { in dump()
989 printf(" num: %d, offset: %d, attr: ", items[i].num[j], in dump()
990 items[i].offset[j]); in dump()
991 if (!items[i].attr[j]) { in dump()
996 __kmp_hw_get_core_type_string(items[i].attr[j].get_core_type()), in dump()
997 items[i].attr[j].get_core_eff()); in dump()