Home
last modified time | relevance | path

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

/external/perfetto/tools/
Dheap_profile300 symlink_path = os.path.join(os.path.dirname(profile_path),
302 if os.path.lexists(symlink_path):
303 os.unlink(symlink_path)
304 os.symlink(profile_path, symlink_path)
306 print("Wrote profiles to {} (symlink {})".format(profile_path, 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/autotest/scheduler/
Dscheduler_lib.py145 symlink_path = os.path.join(
148 os.unlink(symlink_path)
151 os.symlink(os.path.join(log_dir, logfile_name), 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__.py2399 symlink_path = TESTFN + "can_symlink"
2401 os.symlink(TESTFN, symlink_path)
2406 os.remove(symlink_path)