Home
last modified time | relevance | path

Searched refs:symlink_path (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dreadlinkat.c13 char symlink_path[PATH_MAX]; in main() local
14 snprintf(symlink_path, sizeof(symlink_path), "%s_%d.symlink", argv[0], in main()
16 remove(symlink_path); in main()
17 int res = symlink(argv[0], symlink_path); in main()
21 int res2 = readlinkat(AT_FDCWD, symlink_path, readlinkat_path, in main()
Dreadlink.c12 char symlink_path[PATH_MAX]; in main() local
13 snprintf(symlink_path, sizeof(symlink_path), "%s_%d.symlink", argv[0], in main()
15 remove(symlink_path); in main()
16 int res = symlink(argv[0], symlink_path); in main()
20 ssize_t res2 = readlink(symlink_path, readlink_path, sizeof(readlink_path)); in main()
/external/toolchain-utils/llvm_tools/
Dupdate_chromeos_llvm_hash_unittest.py184 symlink_path = '/path/to/chroot/package/package.ebuild'
189 update_chromeos_llvm_hash.UprevEbuildToVersion(symlink_path, svn_version)
192 str(err.exception), 'Invalid symlink provided: %s' % symlink_path)
198 symlink_path = '/path/to/chroot/package/package.ebuild'
202 update_chromeos_llvm_hash.UprevEbuildSymlink(symlink_path)
205 str(err.exception), 'Invalid symlink provided: %s' % symlink_path)
214 symlink_path = '/path/to/chroot/llvm/llvm_pre123_p.ebuild'
221 update_chromeos_llvm_hash.UprevEbuildToVersion(symlink_path, svn_version)
225 mock_islink.assert_called_once_with(symlink_path)
230 symlink_path = '/path/to/chroot/llvm/llvm_pre123_p.ebuild'
[all …]
Dupdate_chromeos_llvm_hash.py501 for symlink_path, ebuild_path in paths_dict.items():
507 UprevEbuildToVersion(symlink_path, svn_version)
509 UprevEbuildSymlink(symlink_path)
/external/python/cpython2/Lib/test/
Dsymlink_support.py12 symlink_path = TESTFN + "can_symlink"
14 symlink(TESTFN, symlink_path)
19 os.remove(symlink_path)
/external/perfetto/tools/
Dheap_profile577 symlink_path = None
579 symlink_path = os.path.join(
581 if os.path.lexists(symlink_path):
582 os.unlink(symlink_path)
583 os.symlink(profile_target, symlink_path)
585 if symlink_path is not None:
587 profile_target, symlink_path))
/external/python/setuptools/setuptools/tests/
Dtest_find_packages.py20 symlink_path = TESTFN + "can_symlink"
22 os.symlink(TESTFN, symlink_path)
27 os.remove(symlink_path)
/external/libchrome/base/files/
Dfile_util_posix.cc509 const FilePath& symlink_path) { in CreateSymbolicLink() argument
510 DCHECK(!symlink_path.empty()); in CreateSymbolicLink()
513 symlink_path.value().c_str()) != -1; in CreateSymbolicLink()
516 bool ReadSymbolicLink(const FilePath& symlink_path, FilePath* target_path) { in ReadSymbolicLink() argument
517 DCHECK(!symlink_path.empty()); in ReadSymbolicLink()
520 ssize_t count = ::readlink(symlink_path.value().c_str(), buf, arraysize(buf)); in ReadSymbolicLink()
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c276 int symlink_path(const char *, pathname_t *);
1303 int symlink_path(const char *name1, pathname_t * name) in symlink_path() function
1319 rval = symlink_path(name1, &newname); in symlink_path()
2493 e = symlink_path(val, &f) < 0 ? errno : 0; in symlink_f()
/external/e2fsprogs/contrib/
Dfsstress.c303 int symlink_path(const char *, pathname_t *);
1328 int symlink_path(const char *name1, pathname_t * name) in symlink_path() function
1344 rval = symlink_path(name1, &newname); in symlink_path()
2518 e = symlink_path(val, &f) < 0 ? errno : 0; in symlink_f()
/external/python/cpython3/Lib/test/support/
D__init__.py2286 symlink_path = TESTFN + "can_symlink"
2288 os.symlink(TESTFN, symlink_path)
2293 os.remove(symlink_path)
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py1065 symlink_path = self.os.path.join(base_path, 'slink')
1066 self.os.symlink(base_path, symlink_path)
3232 symlink_path = self.os.path.join(base_path, 'slink')
3233 self.os.symlink(base_path.upper(), symlink_path)