set2 2319 opal/mca/hwloc/base/hwloc_base_util.c char **set1, **set2; set2 2335 opal/mca/hwloc/base/hwloc_base_util.c set2 = opal_argv_split(loc2, ':'); set2 2344 opal/mca/hwloc/base/hwloc_base_util.c for (n2=0; NULL != set2[n2]; n2++) { set2 2345 opal/mca/hwloc/base/hwloc_base_util.c if (0 == strncmp(set1[n1], set2[n2], 2)) { set2 2347 opal/mca/hwloc/base/hwloc_base_util.c hwloc_bitmap_list_sscanf(bit2, &set2[n2][2]); set2 2375 opal/mca/hwloc/base/hwloc_base_util.c opal_argv_free(set2); set2 1006 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_isequal (const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2) set2 1009 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1014 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1017 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->ulongs[i] != set2->ulongs[i]) set2 1022 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w2 = set2->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO; set2 1028 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->ulongs[i] != w1) set2 1033 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite != set2->infinite) set2 1039 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_intersects (const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2) set2 1042 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1047 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1050 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->ulongs[i] & set2->ulongs[i]) set2 1054 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->infinite) { set2 1060 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c for(i=min_count; i<set2->ulongs_count; i++) set2 1061 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->ulongs[i]) set2 1066 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite && set2->infinite) set2 1103 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_or (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2) set2 1107 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1114 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1120 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] | set2->ulongs[i]; set2 1124 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->infinite) { set2 1135 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set2->ulongs[i]; set2 1140 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = set1->infinite || set2->infinite; set2 1144 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_and (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2) set2 1148 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1155 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1161 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] & set2->ulongs[i]; set2 1165 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->infinite) { set2 1174 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set2->ulongs[i]; set2 1181 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = set1->infinite && set2->infinite; set2 1185 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_andnot (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2) set2 1189 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1196 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1202 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] & ~set2->ulongs[i]; set2 1206 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (!set2->infinite) { set2 1215 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = ~set2->ulongs[i]; set2 1222 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = set1->infinite && !set2->infinite; set2 1226 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_xor (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2) set2 1230 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1237 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1243 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] ^ set2->ulongs[i]; set2 1247 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w2 = set2->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO; set2 1253 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set2->ulongs[i] ^ w1; set2 1257 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = (!set1->infinite) != (!set2->infinite); set2 1455 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_compare_first(const struct hwloc_bitmap_s * set1, const struct hwloc_bitmap_s * set2) set2 1458 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1464 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1468 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w2 = set2->ulongs[i]; set2 1483 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w2 = set2->ulongs[i]; set2 1492 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->infinite) set2 1500 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c return !!set1->infinite - !!set2->infinite; set2 1503 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_compare(const struct hwloc_bitmap_s * set1, const struct hwloc_bitmap_s * set2) set2 1506 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count2 = set2->ulongs_count; set2 1512 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1514 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if ((!set1->infinite) != (!set2->infinite)) set2 1515 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c return !!set1->infinite - !!set2->infinite; set2 1521 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val2 = set2->ulongs[i]; set2 1527 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val2 = set2->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO; set2 1539 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val2 = set2->ulongs[i]; set2 1563 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c int hwloc_bitmap_compare_inclusion(const struct hwloc_bitmap_s * set1, const struct hwloc_bitmap_s * set2) set2 1565 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned max_count = set1->ulongs_count > set2->ulongs_count ? set1->ulongs_count : set2->ulongs_count; set2 1572 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set2); set2 1576 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val2 = HWLOC_SUBBITMAP_READULONG(set2, (unsigned) i); set2 1647 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set2->infinite) { set2 1658 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c } else if (!set2->infinite) { set2 1123 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_t set1, set2; set2 1132 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set2 = obj2->complete_cpuset; set2 1135 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set2 = obj2->cpuset; set2 1137 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (set1 && set2 && !hwloc_bitmap_iszero(set1) && !hwloc_bitmap_iszero(set2)) { set2 1138 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c res = hwloc_bitmap_compare_inclusion(set1, set2); set2 1146 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set2 = obj2->complete_nodeset; set2 1149 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set2 = obj2->nodeset; set2 1151 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (set1 && set2 && !hwloc_bitmap_iszero(set1) && !hwloc_bitmap_iszero(set2)) { set2 1152 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c int noderes = hwloc_bitmap_compare_inclusion(set1, set2);