Lines Matching refs:impl
54 namespace impl = tools::fs;
61 static void cleanup_aux(const impl::path&, dev_t, bool);
62 static void cleanup_aux_dir(const impl::path&, const impl::file_info&,
64 static void do_unmount(const impl::path&);
65 static bool safe_access(const impl::path&, int, int);
140 safe_access(const impl::path& p, int mode, int experr) in safe_access()
173 cleanup_aux(const impl::path& p, dev_t parent_device, bool erase) in cleanup_aux()
176 impl::file_info fi(p); in cleanup_aux()
178 if (fi.get_type() == impl::file_info::dir_type) in cleanup_aux()
185 if (fi.get_type() == impl::file_info::dir_type) in cleanup_aux()
186 impl::rmdir(p); in cleanup_aux()
188 impl::remove(p); in cleanup_aux()
198 cleanup_aux_dir(const impl::path& p, const impl::file_info& fi, in cleanup_aux_dir()
224 const impl::directory d(p); in cleanup_aux_dir()
247 do_unmount(const impl::path& in_path) in do_unmount()
252 const impl::path& abs_path = in_path.is_absolute() ? in do_unmount()
302 impl::path::path(const std::string& s) : in path()
307 impl::path::~path(void) in ~path()
312 impl::path::c_str(void) in c_str()
319 impl::path::str(void) in str()
326 impl::path::is_absolute(void) in is_absolute()
333 impl::path::is_root(void) in is_root()
339 impl::path
340 impl::path::branch_path(void) in branch_path()
353 impl::path::leaf_name(void) in leaf_name()
365 impl::path
366 impl::path::to_absolute(void) in to_absolute()
374 impl::path::operator==(const path& p) in operator ==()
381 impl::path::operator!=(const path& p) in operator !=()
387 impl::path
388 impl::path::operator/(const std::string& p) in operator /()
394 impl::path
395 impl::path::operator/(const path& p) in operator /()
402 impl::path::operator<(const path& p) in operator <()
412 const int impl::file_info::blk_type = 1;
413 const int impl::file_info::chr_type = 2;
414 const int impl::file_info::dir_type = 3;
415 const int impl::file_info::fifo_type = 4;
416 const int impl::file_info::lnk_type = 5;
417 const int impl::file_info::reg_type = 6;
418 const int impl::file_info::sock_type = 7;
419 const int impl::file_info::wht_type = 8;
421 impl::file_info::file_info(const path& p) in file_info()
444 impl::file_info::~file_info(void) in ~file_info()
449 impl::file_info::get_device(void) in get_device()
456 impl::file_info::get_inode(void) in get_inode()
463 impl::file_info::get_mode(void) in get_mode()
470 impl::file_info::get_size(void) in get_size()
477 impl::file_info::get_type(void) in get_type()
484 impl::file_info::is_owner_readable(void) in is_owner_readable()
491 impl::file_info::is_owner_writable(void) in is_owner_writable()
498 impl::file_info::is_owner_executable(void) in is_owner_executable()
505 impl::file_info::is_group_readable(void) in is_group_readable()
512 impl::file_info::is_group_writable(void) in is_group_writable()
519 impl::file_info::is_group_executable(void) in is_group_executable()
526 impl::file_info::is_other_readable(void) in is_other_readable()
533 impl::file_info::is_other_writable(void) in is_other_writable()
540 impl::file_info::is_other_executable(void) in is_other_executable()
550 impl::directory::directory(const path& p) in directory()
569 impl::directory::names(void) in names()
584 impl::temp_dir::temp_dir(const path& p) in temp_dir()
596 impl::temp_dir::~temp_dir(void) in ~temp_dir()
601 const impl::path&
602 impl::temp_dir::get_path(void) in get_path()
613 impl::exists(const path& p) in exists()
627 impl::have_prog_in_path(const std::string& prog) in have_prog_in_path()
650 impl::is_executable(const path& p) in is_executable()
658 impl::remove(const path& p) in remove()
671 impl::rmdir(const path& p) in rmdir()
687 impl::change_ownership(const path& p, const std::pair < int, int >& user) in change_ownership()
697 impl::path
698 impl::change_directory(const path& dir) in change_directory()
712 impl::cleanup(const path& p) in cleanup()
714 impl::file_info fi(p); in cleanup()
718 impl::path
719 impl::get_current_dir(void) in get_current_dir()
727 impl::path p(cwd); in get_current_dir()