/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | readlinkat.c | 13 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()
|
D | readlink.c | 12 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/ |
D | update_chromeos_llvm_hash_unittest.py | 184 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 …]
|
D | update_chromeos_llvm_hash.py | 501 for symlink_path, ebuild_path in paths_dict.items(): 507 UprevEbuildToVersion(symlink_path, svn_version) 509 UprevEbuildSymlink(symlink_path)
|
/external/python/cpython2/Lib/test/ |
D | symlink_support.py | 12 symlink_path = TESTFN + "can_symlink" 14 symlink(TESTFN, symlink_path) 19 os.remove(symlink_path)
|
/external/perfetto/tools/ |
D | heap_profile | 577 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/ |
D | test_find_packages.py | 20 symlink_path = TESTFN + "can_symlink" 22 os.symlink(TESTFN, symlink_path) 27 os.remove(symlink_path)
|
/external/libchrome/base/files/ |
D | file_util_posix.cc | 509 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/ |
D | fsstress.c | 276 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/ |
D | fsstress.c | 303 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__.py | 2286 symlink_path = TESTFN + "can_symlink" 2288 os.symlink(TESTFN, symlink_path) 2293 os.remove(symlink_path)
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_os_test.py | 1065 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)
|