Lines Matching refs:p_path
82 while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \
87 PATH_T to = { .p_end = to.p_path, .target_end = empty };
210 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path)) in main()
212 to.p_end = to.p_path + strlen(to.p_path); in main()
238 r = lstat(to.p_path, &to_stat); in main()
240 r = stat(to.p_path, &to_stat); in main()
242 err(EXIT_FAILURE, "%s", to.p_path); in main()
278 to.p_path); in main()
280 errx(1, "%s is not a directory", to.p_path); in main()
361 to.target_end - to.p_path + 1) > MAXPATHLEN) { in copy()
363 to.p_path, curr->fts_name); in copy()
407 if (target_mid - to.p_path + nlen >= PATH_MAX) { in copy()
409 to.p_path, p); in copy()
419 sval = Pflag ? lstat(to.p_path, &to_stat) : stat(to.p_path, &to_stat); in copy()
427 to.p_path, curr->fts_path); in copy()
436 to.p_path, curr->fts_path); in copy()
482 if (mkdir(to.p_path, in copy()
485 to.p_path); in copy()
490 to.p_path); in copy()
516 curr->fts_accpath, to.p_path) != 0) in copy()
521 (void)chmod(to.p_path, in copy()
556 (void)printf("%s -> %s\n", curr->fts_path, to.p_path); in copy()