Lines Matching refs:c_str
173 mount_args[last++] = size_arg.c_str(); in run_mount_tmpfs()
176 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs()
184 mount_args[last++] = size_arg.c_str(); in run_mount_tmpfs()
187 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs()
195 mount_args[last++] = size_arg.c_str(); in run_mount_tmpfs()
198 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs()
206 mount_args[last++] = size_arg.c_str(); in run_mount_tmpfs()
209 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs()
245 if (::unmount(mount_point.c_str(), 0) == -1) { in unmount_with_unmount2()
271 const int ret = ::execlp(UMOUNT, "umount", mount_point.c_str(), NULL); in unmount_with_umount8()
310 if (::lstat(path.c_str(), &sb) == -1) { in safe_stat()
332 std::ifstream input(source.c_str()); in copy()
336 std::ofstream output(target.c_str()); in copy()
392 return ::access(path.c_str(), F_OK) == 0; in exists()
438 if (::statvfs(path.c_str(), &buf) == -1) { in free_disk_space()
446 if (::statfs(path.c_str(), &buf) == -1) { in free_disk_space()
478 if (::mkdir(dir.c_str(), static_cast< mode_t >(mode)) == -1) { in mkdir()
555 std::strcpy(buf.get(), full_template.c_str()); in mkdtemp_public()
564 if (::chmod(path.c_str(), 0755) == -1) { in mkdtemp_public()
607 std::strcpy(buf.get(), full_template.c_str()); in mkstemp()
724 if (::rmdir(file.c_str()) == -1) { in rmdir()
762 if (::unlink(file.c_str()) == -1) { in unlink()