/external/squashfs-tools/squashfs-tools/ |
unsquash-3.c | 233 &header.symlink; 243 i.symlink = malloc(inodep->symlink_size + 1); 244 if(i.symlink == NULL) 246 "symlink data\n"); 247 strncpy(i.symlink, block_ptr + 250 i.symlink[inodep->symlink_size] = '\0';
|
unsquash-4.c | 185 struct squashfs_symlink_inode_header *inode = &header.symlink; 189 i.symlink = malloc(inode->symlink_size + 1); 190 if(i.symlink == NULL) 192 "symlink data\n"); 193 strncpy(i.symlink, block_ptr + 196 i.symlink[inode->symlink_size] = '\0';
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/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
|
/external/python/cpython2/Lib/test/ |
test_glob.py | 37 if hasattr(os, 'symlink'): 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 147 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support") 159 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support")
|
/external/rootdev/ |
rootdev.c | 176 /* Prevent infinite recursion on symlink loops by limiting depth. */ 228 if ((symlink(path, kActiveRoot)) && errno != EEXIST) { 229 warn("failed to symlink %s -> %s", kActiveRoot, path); 242 /* Check if the -s symlink exists. */ 303 int rootdev_create_devices(const char *name, dev_t dev, bool symlink) { 340 if (symlink)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_glob.py | 37 if hasattr(os, 'symlink'): 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 147 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support") 159 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support")
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_glob.py | 37 if hasattr(os, 'symlink'): 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 147 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support") 159 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_glob.py | 37 if hasattr(os, 'symlink'): 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 147 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support") 159 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_glob.py | 37 if hasattr(os, 'symlink'): 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 147 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support") 159 @unittest.skipUnless(hasattr(os, 'symlink'), "Requires symlink support")
|
/system/core/base/ |
file_test.cpp | 53 ASSERT_EQ(0, symlink(target.path, link.path)); 138 // size of the encrypted symlink target. There's also an off-by-one 147 ASSERT_EQ(0, symlink(min.c_str(), min_path.c_str())); 148 ASSERT_EQ(0, symlink(max.c_str(), max_path.c_str()));
|
/build/soong/android/ |
defs.go | 69 // A symlink rule. 70 Symlink = pctx.AndroidStaticRule("Symlink", 73 Description: "symlink $out",
|
/external/libcxx/test/support/ |
filesystem_dynamic_test_helper.py | 66 os.symlink(sanitize(source), sanitize(link))
|
/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/python/cpython3/Lib/test/ |
test_glob.py | 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 278 os.symlink(os.curdir, os.path.join('dir', 'link'))
|
/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...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
filesystem_dynamic_test_helper.py | 66 os.symlink(sanitize(source), sanitize(link))
|
/test/vts/utils/python/io/ |
file_util_test.py | 93 os.symlink(dir_name, link_name)
|
/external/python/cpython2/Lib/plat-mac/ |
bundlebuilder.py | 112 symlink = 0 variable in class:BundleBuilder 202 if self.symlink: 204 msg = "Making symlink from" 215 if self.symlink: 216 symlink(src, dst, mkdirs=1) 383 # Symlink the executable instead of copying it. 526 if self.strip and not self.symlink: 534 os.symlink(os.path.abspath(self.executable), dst) 781 def symlink(src, dst, mkdirs=0): function 787 os.symlink(os.path.abspath(src), dst [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
bundlebuilder.py | 112 symlink = 0 variable in class:BundleBuilder 202 if self.symlink: 204 msg = "Making symlink from" 215 if self.symlink: 216 symlink(src, dst, mkdirs=1) 383 # Symlink the executable instead of copying it. 526 if self.strip and not self.symlink: 534 os.symlink(os.path.abspath(self.executable), dst) 781 def symlink(src, dst, mkdirs=0): function 787 os.symlink(os.path.abspath(src), dst [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
bundlebuilder.py | 112 symlink = 0 variable in class:BundleBuilder 202 if self.symlink: 204 msg = "Making symlink from" 215 if self.symlink: 216 symlink(src, dst, mkdirs=1) 383 # Symlink the executable instead of copying it. 526 if self.strip and not self.symlink: 534 os.symlink(os.path.abspath(self.executable), dst) 781 def symlink(src, dst, mkdirs=0): function 787 os.symlink(os.path.abspath(src), dst [all...] |
/external/autotest/client/cros/ |
network_chroot.py | 233 os.symlink(link_path, dst_path) 249 os.symlink(target_path, link_path)
|
/external/autotest/client/cros/networking/ |
shill_context.py | 214 os.symlink(our_proc_dir, SHILL_START_LOCK_PATH) 222 os.symlink(our_proc_dir, SHILL_START_LOCK_PATH)
|
/external/libchrome/base/files/ |
file_util.h | 66 // the symlink. (even if the symlink points to a non-existent file) 168 // Creates a symbolic link at |symlink| pointing to |target|. Returns 171 const FilePath& symlink); 173 // Reads the given |symlink| and returns where it points to in |target|. 175 BASE_EXPORT bool ReadSymbolicLink(const FilePath& symlink, FilePath* target); 197 // a file which the symlink points to. 200 // the permission of a file which the symlink points to. 279 // fail if |path| is a junction or symlink that points to an empty file, 299 // This function will return if the given file is a symlink or not [all...] |
/external/smali/smali/ |
build.gradle | 103 ant.symlink(link: file("${destinationDir}/smali.jar"), resource: archivePath, overwrite: true)
|
/external/squashfs-tools/kernel/fs/squashfs/ |
squashfs_fs.h | 285 char symlink[0]; member in struct:squashfs_symlink_inode 353 struct squashfs_symlink_inode symlink; member in union:squashfs_inode
|