/external/google-breakpad/src/common/tests/ |
file_utils.h | 38 // Copies a file from |from_path| to |to_path|. Returns true on success. 39 bool CopyFile(const char* from_path, const char* to_path);
|
file_utils.cc | 44 bool CopyFile(const char* from_path, const char* to_path) { 51 int outfile = HANDLE_EINTR(creat(to_path, 0666));
|
/external/libmtp/examples/ |
getfile.c | 40 getfile_function(char * from_path,char * to_path) 44 printf("Getting %s to %s\n",from_path,to_path); 45 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
|
sendfile.c | 47 int sendfile_function(char * from_path, char *to_path) 49 printf("Sending %s to %s\n",from_path,to_path); 65 parent_id = parse_path (to_path,files,folders);
|
sendtr.c | 185 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *ptitle, char *pgenre, char *palbum, char *pcomposer, uint16_t tracknum, uint16_t length, uint16_t year, uint32_t storageid, uint16_t quiet) 198 printf("Sending track %s to %s\n", from_path, to_path); 200 to_path_copy = strdup(to_path); 208 strcpy (to_path_copy,to_path);
|
/external/libchrome/base/files/ |
file_util.h | 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 88 // Renames file |from_path| to |to_path|. Both paths must be on the same 95 const FilePath& to_path, 100 // This function also fails if |to_path| is a directory. 102 // On POSIX, if |to_path| is a symlink, CopyFile() will follow the symlink. This 105 // If |to_path| already exists and is a regular file, it will be overwritten, 108 // If |to_path| does not exist, it will be created. The new file's permissions 112 // - On Mac and iOS, |to_path| retains |from_path|'s permissions, except user 114 // - On Linux and Android, |to_path| has user read/write permissions only. i.e. 116 // - On ChromeOS, |to_path| has user read/write permissions and group/other [all...] |
file_util_posix.cc | 181 const FilePath& to_path, 188 DCHECK(to_path.value().find('*') == std::string::npos); 196 FilePath real_to_path = to_path; 215 // We have to mimic windows behavior here. |to_path| may not exist yet, 216 // start the loop with |to_path|. 225 if (recursive && DirectoryExists(to_path)) { 238 // the suffix after from_path to to_path to create the target_path. 239 FilePath target_path(to_path); 385 const FilePath& to_path, 388 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0 [all...] |
file_util.cc | 46 bool Move(const FilePath& from_path, const FilePath& to_path) { 47 if (from_path.ReferencesParent() || to_path.ReferencesParent()) 49 return internal::MoveUnsafe(from_path, to_path);
|
/external/toolchain-utils/automation/common/ |
command.py | 188 def RemoteCopyFrom(from_machine, from_path, to_path, username=None): 190 to_path = os.path.expanduser(to_path) + '/' 198 MakeDir(to_path), Shell('rsync', '-a', '%s:%s' % 199 (login, from_path), to_path)) 202 def MakeSymlink(to_path, link_name): 203 return Shell('ln', '-f', '-s', '-T', to_path, link_name)
|
/external/autotest/client/cros/faft/utils/ |
os_interface.py | 175 def copy_file(self, from_path, to_path): 177 cmd = 'cp -f %s %s' % (from_path, to_path) 180 def copy_dir(self, from_path, to_path): 182 cmd = 'cp -rf %s %s' % (from_path, to_path)
|
/external/google-breakpad/src/common/linux/tests/ |
crash_generator.cc | 257 char from_path[PATH_MAX], to_path[PATH_MAX]; local 264 num_chars = snprintf(to_path, PATH_MAX, "%s/%s", 269 if (!CopyFile(from_path, to_path))
|
/development/vndk/tools/definition-tool/tests/ |
test_tagged_dict.py | 253 for to_path in all_paths: 254 self.assertEqual(d.is_path_visible(from_path, to_path), 255 to_path in visible_paths)
|
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 66 static SkPath to_path(const SkRect& r) { function 211 return Op(to_path(bounds), invPath, kIntersect_SkPathOp, outPath); 268 if (Op(clipPath, to_path(outsetBounds), kIntersect_SkPathOp, &clipPath)) { 518 SkPath path = to_path(rect); 682 this->drawPath(to_path(r), paint, true); [all...] |
/external/skqp/src/pdf/ |
SkPDFDevice.cpp | 66 static SkPath to_path(const SkRect& r) { function 211 return Op(to_path(bounds), invPath, kIntersect_SkPathOp, outPath); 268 if (Op(clipPath, to_path(outsetBounds), kIntersect_SkPathOp, &clipPath)) { 518 SkPath path = to_path(rect); 682 this->drawPath(to_path(r), paint, true); [all...] |
/external/tensorflow/tensorflow/tools/docs/ |
generate_lib.py | 152 to_path = os.path.join(site_api_path, full_name.replace('.', '/')) 155 os.path.join('/', to_path)))
|