/bionic/libc/bionic/ |
symlink.cpp | 32 int symlink(const char* old_path, const char* new_path) { function
|
/external/python/cpython2/Lib/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
symlink_support.py | 14 symlink(TESTFN, symlink_path) 24 """Skip decorator for tests that require functional symlink""" 26 msg = "Requires functional symlink implementation" 31 Ctypes symlink implementation since Python doesn't support 91 symlink = os.symlink if hasattr(os, 'symlink') else ( variable 96 # On Windows, to remove a directory symlink, one must use rmdir
|
/external/roboto-fonts/ |
Android.mk | 21 # create symlink for given font 24 define create-font-symlink 26 @echo "Symlink: $$@ -> $$<" 56 $(eval $(call create-font-symlink,Roboto-Black.ttf,Roboto-Bold.ttf)) 57 $(eval $(call create-font-symlink,Roboto-BlackItalic.ttf,Roboto-BoldItalic.ttf)) 58 $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf)) 59 $(eval $(call create-font-symlink,Roboto-LightItalic.ttf,Roboto-Italic.ttf)) 60 $(eval $(call create-font-symlink,Roboto-Medium.ttf,Roboto-Regular.ttf)) 61 $(eval $(call create-font-symlink,Roboto-MediumItalic.ttf,Roboto-Italic.ttf)) 62 $(eval $(call create-font-symlink,Roboto-Thin.ttf,Roboto-Regular.ttf) [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 46 * Find the real name of path, by removing all ".", ".." and symlink 58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; variable 176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 182 symlink[slen] = '\0'; 183 if (symlink[0] == '/') { 196 * append them to symlink. The result is placed 200 if (symlink[slen - 1] != '/') { 201 if (slen + 1 >= sizeof(symlink)) { 207 symlink[slen] = '/' [all...] |
/external/mesa3d/scons/ |
gallium.py | 47 def symlink(target, source, env): function 52 os.symlink(os.path.basename(source), target) 79 action = SCons.Action.Action(symlink, " Symlinking $TARGET ...")
|
/external/openssh/openbsd-compat/ |
realpath.c | 56 * Find the real name of path, by removing all ".", ".." and symlink 68 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local 176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 179 symlink[slen] = '\0'; 180 if (symlink[0] == '/') { 193 * append them to symlink. The result is placed 197 if (symlink[slen - 1] != '/') { 199 (ptrdiff_t)sizeof(symlink)) { 203 symlink[slen] = '/' [all...] |
/prebuilts/go/darwin-x86/src/archive/tar/ |
tar_test.go | 70 h, err := FileInfoHeader(symlink{}, "some-target") 74 if g, e := h.Name, "some-symlink"; g != e { 82 type symlink struct{} type 84 func (symlink) Name() string { return "some-symlink" } 85 func (symlink) Size() int64 { return 0 } 86 func (symlink) Mode() os.FileMode { return os.ModeSymlink } 87 func (symlink) ModTime() time.Time { return time.Time{} } 88 func (symlink) IsDir() bool { return false } 89 func (symlink) Sys() interface{} { return nil [all...] |
/prebuilts/go/linux-x86/src/archive/tar/ |
tar_test.go | 70 h, err := FileInfoHeader(symlink{}, "some-target") 74 if g, e := h.Name, "some-symlink"; g != e { 82 type symlink struct{} type 84 func (symlink) Name() string { return "some-symlink" } 85 func (symlink) Size() int64 { return 0 } 86 func (symlink) Mode() os.FileMode { return os.ModeSymlink } 87 func (symlink) ModTime() time.Time { return time.Time{} } 88 func (symlink) IsDir() bool { return false } 89 func (symlink) Sys() interface{} { return nil [all...] |
/build/kati/ |
pathutil_test.go | 95 func (m *mockfs) symlink(name string, ent dirent) { func 115 fs.symlink("link", di) 134 {path: "link/../bar", want: "link/../bar"}, // link is symlink 424 fs.symlink("testdir/dir2/link1", file1) 425 fs.symlink("testdir/dir2/link2", dir1) 426 fs.symlink("testdir/dir2/link3", fs.notfound()) 632 // symlink
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.read_symlink/ |
read_symlink.pass.cpp | 85 path symlink; member in struct:TestCase 95 const path ret = read_symlink(TC.symlink, ec);
|
/external/libyuv/files/ |
setup_links.py | 201 class Symlink(Action): 203 super(Symlink, self).__init__(dangerous=False) 228 os.symlink(source_path, os.path.abspath(self._link_path)) 237 # Handles symlink creation on the different platforms. 239 def symlink(source_path, link_path): member in class:LinkError 243 raise OSError('Failed to create symlink to %s. Notice that only NTFS ' 246 os.symlink = symlink 304 now replaced with a symlink into the full Chromium checkout. 354 This will be a symlink on POSIX platforms. On Windows this require [all...] |
/external/webrtc/ |
setup_links.py | 222 class Symlink(Action): 224 super(Symlink, self).__init__(dangerous=False) 249 os.symlink(source_path, os.path.abspath(self._link_path)) 258 # Handles symlink creation on the different platforms. 260 def symlink(source_path, link_path): member in class:LinkError 264 raise OSError('Failed to create symlink to %s. Notice that only NTFS ' 267 os.symlink = symlink 325 now replaced with a symlink into the full Chromium checkout. 375 This will be a symlink on POSIX platforms. On Windows this require [all...] |
/frameworks/base/data/fonts/ |
Android.mk | 21 # create symlink for given font 24 define create-font-symlink 26 @echo "Symlink: $$@ -> $$<" 38 $(eval $(call create-font-symlink,DroidSans.ttf,Roboto-Regular.ttf)) 39 $(eval $(call create-font-symlink,DroidSans-Bold.ttf,Roboto-Bold.ttf)) 40 $(eval $(call create-font-symlink,DroidSerif-Regular.ttf,NotoSerif-Regular.ttf)) 41 $(eval $(call create-font-symlink,DroidSerif-Bold.ttf,NotoSerif-Bold.ttf)) 42 $(eval $(call create-font-symlink,DroidSerif-Italic.ttf,NotoSerif-Italic.ttf)) 43 $(eval $(call create-font-symlink,DroidSerif-BoldItalic.ttf,NotoSerif-BoldItalic.ttf))
|
/external/clang/ |
build.py | 131 def symlink(src, dst): function 132 """Proxy for os.symlink with logging and dry-run support.""" 133 logger().info('symlink %s %s', src, dst) 135 os.symlink(src, dst) 387 symlink(short_version(),
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy/ |
copy.pass.cpp | 120 const path symlink = env.create_symlink(file, "sym"); local 125 fs::copy(symlink, dne, copy_options::skip_symlinks, ec); 132 fs::copy(symlink, dest, copy_options::copy_symlinks, ec); 137 { // copy symlink but target exists 139 fs::copy(symlink, file, copy_options::copy_symlinks, ec); 145 fs::copy(symlink, file, copy_options::create_symlinks, ec); 163 { // create symlink to file
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
FileUtilsTest.java | 183 File symlink = createSymlink(exists1, dir, "symlinkToFile"); local 184 assertTrue(symlink.exists()); 185 FileUtils.ensureFileDoesNotExist(symlink); 186 assertFalse(symlink.exists()); 304 File symlink = new File(symlinkDir, symlinkName); local 305 Os.symlink(file.getAbsolutePath(), symlink.getAbsolutePath()); 306 testFiles.add(symlink); 307 return symlink;
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 333 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { method in class:BlockGuardOs 335 os.symlink(oldPath, newPath);
|
/development/ndk/platforms/android-9/include/linux/nfsd/ |
xdr.h | 135 struct nfsd_symlinkargs symlink; member in union:nfsd_xdrstore
|
/external/toybox/lib/ |
lib.h | 87 char *symlink; member in struct:dirtree
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixCopyFile.java | 316 symlink(linktarget, target); method
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/nfsd/ |
xdr.h | 135 struct nfsd_symlinkargs symlink; member in union:nfsd_xdrstore
|