Lines Matching refs:st
170 struct stat st; in maybe_xmkdir() local
172 if (stat (path, &st) == 0 in maybe_xmkdir()
173 && S_ISDIR (st.st_mode)) in maybe_xmkdir()
372 struct stat st; in file_exists() local
373 if (lstat (path, &st) == 0) in file_exists()
411 struct stat st; in copy_one_file() local
418 if (fstat (sfd, &st) < 0) in copy_one_file()
425 xcopy_file_range (sfd, 0, dfd, 0, st.st_size, 0); in copy_one_file()
430 if (chmod (dname, st.st_mode & 0777) < 0) in copy_one_file()
433 times.actime = st.st_atime; in copy_one_file()
434 times.modtime = st.st_mtime; in copy_one_file()
733 struct stat st; in main() local
852 if (stat (command_root, &st) >= 0 in main()
853 && S_ISDIR (st.st_mode)) in main()