Lines Matching refs:endp
252 char *startp, *endp, *nstore; in make_relative_prefix_1() local
267 startp = endp = temp; in make_relative_prefix_1()
270 if (*endp == PATH_SEPARATOR || *endp == 0) in make_relative_prefix_1()
272 if (endp == startp) in make_relative_prefix_1()
280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
281 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
287 nstore[endp - startp] = 0; in make_relative_prefix_1()
306 if (*endp == 0) in make_relative_prefix_1()
308 endp = startp = endp + 1; in make_relative_prefix_1()
311 endp++; in make_relative_prefix_1()