Lines Matching refs:cur
236 char *cur, *devid = NULL, *tpl0id = NULL;
265 cur = strcp + 7; /* already parsed "dev:///" */
274 if (*cur == ':') {
281 eos = devpath = strchr(cur, '/');
282 if (devpath == NULL || devpath == cur + 1)
285 part[0] = ++cur;
300 if ((part[1] = strchr(cur, ':')) != NULL) {
333 cur = devpath; /* initial slash is NULled */
334 } else if (*cur != '/') {
338 devpath = cur;