Home
last modified time | relevance | path

Searched refs:symlink_path (Results 1 - 5 of 5) sorted by relevance

/third_party/gn/src/base/files/
H A Dfile_util_posix.cc289 const FilePath& symlink_path) { in CreateSymbolicLink()
290 DCHECK(!symlink_path.empty()); in CreateSymbolicLink()
292 return ::symlink(target_path.value().c_str(), symlink_path.value().c_str()) != in CreateSymbolicLink()
296 bool ReadSymbolicLink(const FilePath& symlink_path, FilePath* target_path) { in ReadSymbolicLink() argument
297 DCHECK(!symlink_path.empty()); in ReadSymbolicLink()
300 ssize_t count = ::readlink(symlink_path.value().c_str(), buf, std::size(buf)); in ReadSymbolicLink()
288 CreateSymbolicLink(const FilePath& target_path, const FilePath& symlink_path) CreateSymbolicLink() argument
/third_party/python/Lib/test/support/
H A Dos_helper.py178 symlink_path = src + "can_symlink"
180 os.symlink(src, symlink_path)
185 os.remove(symlink_path)
/third_party/libuv/test/
H A Dtest-fs.c2809 const char* symlink_path = "test_file_symlink"; in TEST_IMPL() local
2827 unlink(symlink_path); in TEST_IMPL()
2828 s = uv_fs_symlink(NULL, &req, path, symlink_path, 0, NULL); in TEST_IMPL()
2848 checkme.path = symlink_path; in TEST_IMPL()
2851 r = uv_fs_lutime(NULL, &req, symlink_path, atime, mtime, NULL); in TEST_IMPL()
2866 checkme.path = symlink_path; in TEST_IMPL()
2868 r = uv_fs_lutime(loop, &req, symlink_path, atime, mtime, lutime_cb); in TEST_IMPL()
2875 unlink(symlink_path); in TEST_IMPL()
/third_party/ltp/testcases/kernel/fs/fsstress/
H A Dfsstress.c277 int symlink_path(const char *, pathname_t *);
1304 int symlink_path(const char *name1, pathname_t * name) in symlink_path() function
1320 rval = symlink_path(name1, &newname); in symlink_path()
2494 e = symlink_path(val, &f) < 0 ? errno : 0; in symlink_f()
/third_party/vulkan-loader/tests/
H A Dloader_regression_tests.cpp3903 fs::path symlink_path = env.get_folder(ManifestLocation::driver_env_var).location() / symlink_name; in TEST() local
3905 int res = symlink(driver_path.c_str(), symlink_path.c_str()); in TEST()
3907 EnvVarWrapper xdg_config_dirs_env_var{"XDG_CONFIG_DIRS", symlink_path.str()}; in TEST()
3922 fs::path symlink_path = env.get_folder(ManifestLocation::driver_env_var).location() / symlink_name; in TEST() local
3924 int res = symlink(driver_path.c_str(), symlink_path.c_str()); in TEST()
3938 fs::path symlink_path = env.get_folder(ManifestLocation::driver_env_var).location() / symlink_name; in TEST() local
3940 int res = symlink(invalid_driver_path.c_str(), symlink_path.c_str()); in TEST()
3944 EnvVarWrapper xdg_config_dirs_env_var{symlink_path.str()}; in TEST()
3955 fs::path symlink_path = env.get_folder(ManifestLocation::driver).location() / symlink_name; in TEST() local
3957 int res = symlink(invalid_driver_path.c_str(), symlink_path in TEST()
[all...]

Completed in 16 milliseconds