curenv 511 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c char *curenv = env; curenv 514 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c while (*curenv) { curenv 515 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c s = strcspn(curenv, HWLOC_COMPONENT_SEPS); curenv 520 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (!strncmp(curenv, "linuxpci", 8) && s == 8) { curenv 521 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[5] = 'i'; curenv 522 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[6] = 'o'; curenv 523 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[7] = *HWLOC_COMPONENT_SEPS; curenv 524 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c } else if (curenv[0] == HWLOC_COMPONENT_EXCLUDE_CHAR && !strncmp(curenv+1, "linuxpci", 8) && s == 9) { curenv 525 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[6] = 'i'; curenv 526 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[7] = 'o'; curenv 527 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[8] = *HWLOC_COMPONENT_SEPS; curenv 532 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (curenv[0] == HWLOC_COMPONENT_EXCLUDE_CHAR) curenv 535 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (!strncmp(curenv, HWLOC_COMPONENT_STOP_NAME, s)) { curenv 541 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c c = curenv[s]; curenv 542 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[s] = '\0'; curenv 544 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c comp = hwloc_disc_component_find(-1, curenv); curenv 548 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c fprintf(stderr, "Cannot find discovery component `%s'\n", curenv); curenv 552 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv[s] = c; curenv 556 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv += s; curenv 557 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (*curenv) curenv 559 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv++; curenv 573 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c char *curenv = env; curenv 574 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c while (*curenv) { curenv 575 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c size_t s = strcspn(curenv, HWLOC_COMPONENT_SEPS); curenv 576 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (curenv[0] == HWLOC_COMPONENT_EXCLUDE_CHAR && !strncmp(curenv+1, comp->name, s-1) && strlen(comp->name) == s-1) { curenv 582 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv += s; curenv 583 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c if (*curenv) curenv 585 opal/mca/hwloc/hwloc201/hwloc/hwloc/components.c curenv++;