/external/libmtp/examples/ |
D | sendfile.c | 47 int sendfile_function(char * from_path, char *to_path) in sendfile_function() argument 49 printf("Sending %s to %s\n",from_path,to_path); in sendfile_function() 57 if ( stat(from_path, &sb) == -1 ) { in sendfile_function() 58 fprintf(stderr, "%s: ", from_path); in sendfile_function() 64 filename = basename(from_path); in sendfile_function() 79 ret = LIBMTP_Send_File_From_File(device, from_path, genfile, progress, NULL); in sendfile_function()
|
D | getfile.c | 40 getfile_function(char * from_path,char * to_path) in getfile_function() argument 42 int id = parse_path (from_path,files,folders); in getfile_function() 44 printf("Getting %s to %s\n",from_path,to_path); in getfile_function()
|
D | sendtr.c | 185 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *p… in sendtrack_function() argument 198 printf("Sending track %s to %s\n", from_path, to_path); in sendtrack_function() 211 if (stat(from_path, &sb) == -1) { in sendtrack_function() 212 fprintf(stderr, "%s: ", from_path); in sendtrack_function() 226 trackmeta->filetype = find_filetype (from_path); in sendtrack_function() 368 ret = LIBMTP_Send_Track_From_File(device, from_path, trackmeta, progress, NULL); in sendtrack_function()
|
/external/libchrome/base/files/ |
D | file_util_posix.cc | 180 bool DoCopyDirectory(const FilePath& from_path, in DoCopyDirectory() argument 189 DCHECK(from_path.value().find('*') == std::string::npos); in DoCopyDirectory() 191 if (from_path.value().size() >= PATH_MAX) { in DoCopyDirectory() 204 FilePath real_from_path = MakeAbsoluteFilePath(from_path); in DoCopyDirectory() 213 FileEnumerator traversal(from_path, recursive, traverse_type); in DoCopyDirectory() 218 FilePath current = from_path; in DoCopyDirectory() 219 if (stat(from_path.value().c_str(), &from_stat) < 0) { in DoCopyDirectory() 221 << from_path.value(); in DoCopyDirectory() 224 FilePath from_path_base = from_path; in DoCopyDirectory() 228 from_path_base = from_path.DirName(); in DoCopyDirectory() [all …]
|
D | file_util.h | 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path, 118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path); 129 BASE_EXPORT bool CopyDirectory(const FilePath& from_path, 135 BASE_EXPORT bool CopyDirectoryExcl(const FilePath& from_path, 483 BASE_EXPORT bool MoveUnsafe(const FilePath& from_path, 491 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_path,
|
D | file_util.cc | 46 bool Move(const FilePath& from_path, const FilePath& to_path) { in Move() argument 47 if (from_path.ReferencesParent() || to_path.ReferencesParent()) in Move() 49 return internal::MoveUnsafe(from_path, to_path); in Move()
|
/external/toolchain-utils/automation/common/ |
D | command.py | 188 def RemoteCopyFrom(from_machine, from_path, to_path, username=None): argument 189 from_path = os.path.expanduser(from_path) + '/' 199 (login, from_path), to_path))
|
/external/autotest/client/cros/faft/utils/ |
D | os_interface.py | 175 def copy_file(self, from_path, to_path): argument 177 cmd = 'cp -f %s %s' % (from_path, to_path) 180 def copy_dir(self, from_path, to_path): argument 182 cmd = 'cp -rf %s %s' % (from_path, to_path)
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 257 char from_path[PATH_MAX], to_path[PATH_MAX]; in CopyProcFiles() local 259 int num_chars = snprintf(from_path, PATH_MAX, "/proc/%d/%s", in CopyProcFiles() 269 if (!CopyFile(from_path, to_path)) in CopyProcFiles()
|
/external/google-breakpad/src/common/tests/ |
D | file_utils.cc | 44 bool CopyFile(const char* from_path, const char* to_path) { in CopyFile() argument 45 int infile = HANDLE_EINTR(open(from_path, O_RDONLY)); in CopyFile()
|
D | file_utils.h | 39 bool CopyFile(const char* from_path, const char* to_path);
|
/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 63 from_path = os.path.join(self._backup_dir, self._backup_basename) 64 logging.info('Reinstating backup from %s to %s' % (from_path, self._path)) 65 shutil.move(from_path, self._path)
|
/external/tensorflow/tensorflow/tools/docs/ |
D | generate_lib.py | 151 from_path = os.path.join(site_api_path, dup.replace('.', '/')) 154 os.path.join('/', from_path),
|
/external/python/oauth2client/oauth2client/contrib/ |
D | appengine.py | 378 entity_key = db.Key.from_path(self._model.kind(), self._key_name)
|