/system/core/base/include/android-base/ |
file.h | 38 bool follow_symlinks = false); 41 bool follow_symlinks = false); 47 bool follow_symlinks = false);
|
/device/google/cuttlefish_common/guest/commands/vport_trigger/ |
main.cpp | 45 bool follow_symlinks) { 46 int flags = O_RDONLY | O_CLOEXEC | (follow_symlinks ? 0 : O_NOFOLLOW);
|
/external/python/cpython3/Lib/ |
shutil.py | 96 def copyfile(src, dst, *, follow_symlinks=True): 99 If follow_symlinks is not set and src is a symbolic link, a new 117 if not follow_symlinks and os.path.islink(src): 125 def copymode(src, dst, *, follow_symlinks=True): 128 If follow_symlinks is not set, symlinks aren't followed if and only 133 if not follow_symlinks and os.path.islink(src) and os.path.islink(dst): 147 def _copyxattr(src, dst, *, follow_symlinks=True): 152 If `follow_symlinks` is false, symlinks won't be followed. 157 names = os.listxattr(src, follow_symlinks=follow_symlinks) [all...] |
os.py | 160 # os.chmod supports follow_symlinks. Just checking lchmod() is 421 def fwalk(top=".", topdown=True, onerror=None, *, follow_symlinks=False, dir_fd=None): 432 races (when follow_symlinks is False). 458 orig_st = stat(top, follow_symlinks=False, dir_fd=dir_fd) 461 if (follow_symlinks or (st.S_ISDIR(orig_st.st_mode) and 463 yield from _fwalk(topfd, top, topdown, onerror, follow_symlinks) 467 def _fwalk(topfd, toppath, topdown, onerror, follow_symlinks): 487 if st.S_ISLNK(stat(name, dir_fd=topfd, follow_symlinks=False) 498 orig_st = stat(name, dir_fd=topfd, follow_symlinks=follow_symlinks) [all...] |
/system/core/base/ |
file.cpp | 70 bool ReadFileToString(const std::string& path, std::string* content, bool follow_symlinks) { 73 int flags = O_RDONLY | O_CLOEXEC | O_BINARY | (follow_symlinks ? 0 : O_NOFOLLOW); 106 bool follow_symlinks) { 108 (follow_symlinks ? 0 : O_NOFOLLOW); 134 bool follow_symlinks) { 136 (follow_symlinks ? 0 : O_NOFOLLOW);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileSystem.h | 854 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 856 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
FileSystem.h | 801 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 803 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 854 bool follow_symlinks = true) 855 : FollowSymlinks(follow_symlinks) { 863 bool follow_symlinks = true) 864 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
FileSystem.h | 801 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 803 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 854 bool follow_symlinks = true) 855 : FollowSymlinks(follow_symlinks) { 863 bool follow_symlinks = true) 864 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileSystem.h | 854 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 856 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
FileSystem.h | 801 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 803 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 854 bool follow_symlinks = true) 855 : FollowSymlinks(follow_symlinks) { 863 bool follow_symlinks = true) 864 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
FileSystem.h | 801 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 803 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 854 bool follow_symlinks = true) 855 : FollowSymlinks(follow_symlinks) { 863 bool follow_symlinks = true) 864 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
FileSystem.h | 823 explicit directory_entry(const Twine &path, bool follow_symlinks = true, 825 : Path(path.str()), FollowSymlinks(follow_symlinks), Status(st) {} 877 bool follow_symlinks = true) 878 : FollowSymlinks(follow_symlinks) { 886 bool follow_symlinks = true) 887 : FollowSymlinks(follow_symlinks) { [all...] |
/external/python/cpython3/Modules/ |
posixmodule.c | 1092 follow_symlinks_specified(const char *function_name, int follow_symlinks) 1094 if (follow_symlinks) 1097 argument_unavailable_error(function_name, "follow_symlinks"); 1131 int follow_symlinks) 1133 if ((fd > 0) && (!follow_symlinks)) { 1135 "%s: cannot use fd and follow_symlinks together", 1144 int follow_symlinks) 1146 if ((dir_fd != DEFAULT_DIR_FD) && (!follow_symlinks)) { 1148 "%s: cannot use dir_fd and follow_symlinks together", 2442 int follow_symlinks = 0; local [all...] |
/external/python/cpython3/Modules/clinic/ |
posixmodule.c.h | 6 "stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n" 18 " follow_symlinks\n" 23 "dir_fd and follow_symlinks may not be implemented\n" 27 "It\'s an error to use dir_fd or follow_symlinks when specifying path as\n" 34 os_stat_impl(PyObject *module, path_t *path, int dir_fd, int follow_symlinks); 40 static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL}; 44 int follow_symlinks = 1; local 47 path_converter, &path, FSTATAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks)) { 50 return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks); 66 "Equivalent to stat(path, follow_symlinks=False).") 145 int follow_symlinks = 1; local 342 int follow_symlinks = 1; local 464 int follow_symlinks = 1; local 698 int follow_symlinks = 1; local 867 int follow_symlinks = 1; local 1592 int follow_symlinks = 1; local 5257 int follow_symlinks = 1; local 5307 int follow_symlinks = 1; local 5358 int follow_symlinks = 1; local 5404 int follow_symlinks = 1; local [all...] |
/external/python/cpython3/Lib/test/ |
test_shutil.py | 323 shutil.copymode(src_link, dst_link, follow_symlinks=False) 329 shutil.copymode(src_link, dst, follow_symlinks=False) 333 shutil.copymode(src, dst_link, follow_symlinks=False) 348 shutil.copymode(src_link, dst_link, follow_symlinks=False) # silent fail 372 shutil.copystat(src_link, dst_link, follow_symlinks=True) 375 shutil.copystat(src_link, dst_link, follow_symlinks=False) 387 shutil.copystat(src_link, dst, follow_symlinks=False) 405 def _chflags_raiser(path, flags, *, follow_symlinks=True): 456 def _raise_on_src(fname, *, follow_symlinks=True): 459 return orig_listxattr(fname, follow_symlinks=follow_symlinks [all...] |
test_os.py | 576 "follow_symlinks support for utime required " 580 # use follow_symlinks=False to test utimensat(timespec) 582 os.utime(filename, ns=ns, follow_symlinks=False) 839 if 'follow_symlinks' in kwargs: 840 kwargs['followlinks'] = kwargs.pop('follow_symlinks') [all...] |
test_posix.py | 269 @unittest.skipUnless(os.utime in os.supports_follow_symlinks, "test needs follow_symlinks support in os.utime") 272 posix.utime(support.TESTFN, None, follow_symlinks=False) 273 self.assertRaises(TypeError, posix.utime, support.TESTFN, (None, None), follow_symlinks=False) 274 self.assertRaises(TypeError, posix.utime, support.TESTFN, (now, None), follow_symlinks=False) 275 self.assertRaises(TypeError, posix.utime, support.TESTFN, (None, now), follow_symlinks=False) 276 posix.utime(support.TESTFN, (int(now), int(now)), follow_symlinks=False) 277 posix.utime(support.TESTFN, (now, now), follow_symlinks=False) 278 posix.utime(support.TESTFN, follow_symlinks=False) 710 self._test_chflags_regular_file(posix.chflags, support.TESTFN, follow_symlinks=False) 723 return posix.chflags(path, flags, follow_symlinks=False [all...] |