Lines Matching refs:width
304 int width; in mkdir_recursive() local
309 width = slash - pathname; in mkdir_recursive()
311 if (width < 0) in mkdir_recursive()
313 if (width == 0) in mkdir_recursive()
315 if ((unsigned int)width > sizeof(buf) - 1) { in mkdir_recursive()
319 memcpy(buf, pathname, width); in mkdir_recursive()
320 buf[width] = 0; in mkdir_recursive()
359 int width; in make_link_init() local
364 width = slash - newpath; in make_link_init()
365 if (width <= 0 || width > (int)sizeof(buf) - 1) in make_link_init()
367 memcpy(buf, newpath, width); in make_link_init()
368 buf[width] = 0; in make_link_init()