Lines Matching refs:cp
77 char *end, *from, *to, **cp;
88 cp = components;
94 *cp++ = from;
97 *cp++ = from;
98 *cp = NULL;
103 cp = components;
104 while (*cp) {
105 if (!isdot(*cp) && !isdotdot(*cp) && isdotdot(*(cp + 1))
106 && !issymbolic(newpath, *cp)) {
107 char **fp = cp + 2;
108 char **tp = cp;
113 if (cp != components)
114 cp--; /* go back and check for nested ".." */
117 cp++;
123 cp = components;
125 while (*cp) {
129 for (from = *cp; *from;)
132 cp++;