Home
last modified time | relevance | path

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

/external/toolchain-utils/llvm_tools/
Dupdate_chromeos_llvm_next_hash_unittest.py73 symlink_path = '/symlink/path/src/to/package-r1.ebuild'
78 [symlink_path])
81 str(err.exception), 'Invalid symlink provided: %s' % symlink_path)
83 mock_islink.assert_called_once_with(symlink_path)
91 symlink_path = '/path/to/chroot/src/package-r1.ebuild'
98 expected_resolved_paths = {symlink_path: abs_path_to_package}
102 [symlink_path]), expected_resolved_paths)
104 mock_realpath.assert_called_once_with(symlink_path)
106 mock_islink.assert_called_once_with(symlink_path)
832 def SuccessfullyUprevedEbuild(symlink_path): argument
[all …]
Dupdate_chromeos_llvm_next_hash.py657 for symlink_path, ebuild_path in paths_dict.items():
662 UprevEbuild(symlink_path)
/external/perfetto/tools/
Dheap_profile472 symlink_path = None
474 symlink_path = os.path.join(
476 if os.path.lexists(symlink_path):
477 os.unlink(symlink_path)
478 os.symlink(profile_target, symlink_path)
492 if symlink_path is not None:
494 profile_target, 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/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/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/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/python/cpython3/Lib/test/support/
D__init__.py2530 symlink_path = TESTFN + "can_symlink"
2532 os.symlink(TESTFN, symlink_path)
2537 os.remove(symlink_path)