Searched refs:source_stat (Results 1 - 3 of 3) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dcopy_file.c38 struct stat source_stat; local
44 lstat(source, &source_stat) < 0) ||
46 stat(source, &source_stat) < 0)) {
59 if (dest_exists && source_stat.st_rdev == dest_stat.st_rdev &&
60 source_stat.st_ino == dest_stat.st_ino) {
65 if (S_ISDIR(source_stat.st_mode)) {
85 mode = source_stat.st_mode;
87 mode = source_stat.st_mode & ~saved_umask;
129 chmod(dest, source_stat.st_mode & ~saved_umask) < 0) {
133 } else if (S_ISREG(source_stat
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dcp.c71 struct stat source_stat; local
77 lstat(argv[optind], &source_stat) < 0) ||
79 stat(argv[optind], &source_stat))) {
92 if (((!source_exists || !S_ISDIR(source_stat.st_mode)) &&
96 ((flags & FILEUTILS_RECUR) && S_ISDIR(source_stat.st_mode) &&
H A Dmv.c37 struct stat source_stat; local
42 if (stat(source, &source_stat) < 0) {
60 (!source_exists || !S_ISDIR(source_stat.st_mode))) {
66 S_ISDIR(source_stat.st_mode)) {

Completed in 37 milliseconds