set1 2319 opal/mca/hwloc/base/hwloc_base_util.c char **set1, **set2; set1 2334 opal/mca/hwloc/base/hwloc_base_util.c set1 = opal_argv_split(loc1, ':'); set1 2340 opal/mca/hwloc/base/hwloc_base_util.c for (n1=0; NULL != set1[n1]; n1++) { set1 2342 opal/mca/hwloc/base/hwloc_base_util.c hwloc_bitmap_list_sscanf(bit1, &set1[n1][2]); set1 2345 opal/mca/hwloc/base/hwloc_base_util.c if (0 == strncmp(set1[n1], set2[n2], 2)) { set1 2351 opal/mca/hwloc/base/hwloc_base_util.c if (0 == strncmp(set1[n1], "NM", 2)) { set1 2353 opal/mca/hwloc/base/hwloc_base_util.c } else if (0 == strncmp(set1[n1], "SK", 2)) { set1 2355 opal/mca/hwloc/base/hwloc_base_util.c } else if (0 == strncmp(set1[n1], "L3", 2)) { set1 2357 opal/mca/hwloc/base/hwloc_base_util.c } else if (0 == strncmp(set1[n1], "L2", 2)) { set1 2359 opal/mca/hwloc/base/hwloc_base_util.c } else if (0 == strncmp(set1[n1], "L1", 2)) { set1 2361 opal/mca/hwloc/base/hwloc_base_util.c } else if (0 == strncmp(set1[n1], "CR", 2)) { set1 2363 opal/mca/hwloc/base/hwloc_base_util.c } else if (0 == strncmp(set1[n1], "HT", 2)) { set1 2367 opal/mca/hwloc/base/hwloc_base_util.c opal_output(0, "UNRECOGNIZED LOCALITY %s", set1[n1]); set1 2374 opal/mca/hwloc/base/hwloc_base_util.c opal_argv_free(set1); set1 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) set1 1008 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1013 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1017 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->ulongs[i] != set2->ulongs[i]) set1 1021 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w1 = set1->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO; set1 1024 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->ulongs[i] != w2) set1 1033 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite != set2->infinite) set1 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) set1 1041 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1046 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1050 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->ulongs[i] & set2->ulongs[i]) set1 1055 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c for(i=min_count; i<set1->ulongs_count; i++) set1 1056 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->ulongs[i]) set1 1059 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite) { set1 1066 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite && set2->infinite) set1 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) set1 1106 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1113 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1120 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] | set2->ulongs[i]; set1 1128 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i]; set1 1131 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite) { set1 1140 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = set1->infinite || set2->infinite; set1 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) set1 1147 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1154 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1161 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] & set2->ulongs[i]; set1 1167 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i]; set1 1172 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite) { set1 1181 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = set1->infinite && set2->infinite; set1 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) set1 1188 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1195 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1202 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] & ~set2->ulongs[i]; set1 1208 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i]; set1 1213 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite) { set1 1222 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = set1->infinite && !set2->infinite; set1 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) set1 1229 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1236 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1243 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] ^ set2->ulongs[i]; set1 1249 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->ulongs[i] = set1->ulongs[i] ^ w2; set1 1251 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w1 = set1->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO; set1 1257 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c res->infinite = (!set1->infinite) != (!set2->infinite); set1 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) set1 1457 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1463 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1467 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w1 = set1->ulongs[i]; set1 1484 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (set1->infinite) set1 1491 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long w1 = set1->ulongs[i]; set1 1500 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c return !!set1->infinite - !!set2->infinite; set1 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) set1 1505 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned count1 = set1->ulongs_count; set1 1511 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1514 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if ((!set1->infinite) != (!set2->infinite)) set1 1515 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c return !!set1->infinite - !!set2->infinite; set1 1519 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val1 = set1->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO; set1 1529 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val1 = set1->ulongs[i]; set1 1538 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val1 = set1->ulongs[i]; set1 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) set1 1565 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned max_count = set1->ulongs_count > set2->ulongs_count ? set1->ulongs_count : set2->ulongs_count; set1 1571 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c HWLOC__BITMAP_CHECK(set1); set1 1575 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c unsigned long val1 = HWLOC_SUBBITMAP_READULONG(set1, (unsigned) i); set1 1646 opal/mca/hwloc/hwloc201/hwloc/hwloc/bitmap.c if (!set1->infinite) { set1 1123 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c hwloc_bitmap_t set1, set2; set1 1131 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set1 = obj1->complete_cpuset; set1 1134 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set1 = obj1->cpuset; set1 1137 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (set1 && set2 && !hwloc_bitmap_iszero(set1) && !hwloc_bitmap_iszero(set2)) { set1 1138 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c res = hwloc_bitmap_compare_inclusion(set1, set2); set1 1145 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set1 = obj1->complete_nodeset; set1 1148 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c set1 = obj1->nodeset; set1 1151 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (set1 && set2 && !hwloc_bitmap_iszero(set1) && !hwloc_bitmap_iszero(set2)) { set1 1152 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c int noderes = hwloc_bitmap_compare_inclusion(set1, set2);