Lines Matching refs:cp
456 char *cp;
463 for (i = 0, cp = path, pos = 0; i < wccnt; i++, cp++, pos++) {
464 for (; *cp; cp++, pos++)
465 if (*cp == '*')
488 cp = path + wcpos[0] + 1;
489 if (*cp != '@')
492 if (!(((*(++cp) > '0') && (*cp < '9')) ||
493 ((*cp > 'a') && (*cp < 'f')) ||
494 ((*cp > 'A') && (*cp < 'F'))))
529 char *cp; /* points into "path", real device pathname */
545 cp = path + dbp->wcpos[0];
546 while (*cp && (*cp++ != '/'))
548 return ((*cp == 0) ? 0 : -1);
553 cp = path + dbp->wcpos[0] + 1;
554 while (*cp && *cp != '@')
555 cp++;
561 return ((strcmp(cp, np) == 0) ? 0 : (-1));
567 if (strncmp(cp, np, len) != 0)
572 cp += len;
573 while (*cp && (*cp != '/'))
574 cp++;
575 return ((*cp == 0) ? 0 : -1);
972 char *cp = s;
974 while (*cp) {
975 if (*cp == c)
977 cp++;
993 char *cp;
997 if ((cp = strchr(ss, '=')) == NULL)
1000 cp++;
1001 if ((*cp == '0') && (*++cp == 'x')) {
1003 cp++;
1007 for (digit = 0; *cp; cp++) {
1008 if (hex_ && ((*cp >= 'A') && (*cp <= 'F')))
1009 digit = (digit * base) + ((*cp - 'A') + D_BASE);
1010 else if (hex_ && ((*cp >= 'a') && (*cp <= 'f')))
1011 digit = (digit * base) + ((*cp - 'a') + D_BASE);
1013 digit = (digit * base) + (*cp - '0');