Lines Matching refs:wcpos
454 int wcpos[2];
467 wcpos[i] = pos;
469 (i + 1), wcpos[i]))
475 ASSERT(wcpos[0] < strlen(path));
479 ASSERT(wcpos[1] == (strlen(path) - 1));
487 if ((wccnt > 0) && (wcpos[0] < (strlen(path) - 1))) {
488 cp = path + wcpos[0] + 1;
502 dbp->wcpos[0] = (wccnt > 0) ? wcpos[0] : -1;
503 dbp->wcpos[1] = (wccnt == 2) ? wcpos[1] : -1;
539 if (strncmp(path, dbp->name, dbp->wcpos[0]) != 0)
544 if (dbp->name[dbp->wcpos[0] + 1] == 0) {
545 cp = path + dbp->wcpos[0];
553 cp = path + dbp->wcpos[0] + 1;
557 np = dbp->name + dbp->wcpos[0] + 1;
566 len = dbp->wcpos[1] - dbp->wcpos[0] - 1;