Lines Matching refs:endp
249 char *startp, *endp, *nstore; in make_relative_prefix_1() local
261 startp = endp = temp; in make_relative_prefix_1()
264 if (*endp == PATH_SEPARATOR || *endp == 0) in make_relative_prefix_1()
266 if (endp == startp) in make_relative_prefix_1()
274 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
275 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
277 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
278 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
281 nstore[endp - startp] = 0; in make_relative_prefix_1()
300 if (*endp == 0) in make_relative_prefix_1()
302 endp = startp = endp + 1; in make_relative_prefix_1()
305 endp++; in make_relative_prefix_1()