Home | History | Annotate | Download | only in gcc

Lines Matching defs:endp

174   const char *startp, *endp;
180 startp = endp = p;
183 if (*endp == PATH_SEPARATOR || *endp == 0)
185 strncpy (nstore, startp, endp-startp);
186 if (endp == startp)
190 else if (! IS_DIR_SEPARATOR (endp[-1]))
192 nstore[endp-startp] = DIR_SEPARATOR;
193 nstore[endp-startp+1] = 0;
196 nstore[endp-startp] = 0;
202 if (*endp == 0)
204 endp = startp = endp + 1;
207 endp++;