/external/libchrome/base/files/ |
D | file_util.h | 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 95 const FilePath& to_path, 103 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path); 116 const FilePath& to_path, 427 const FilePath& to_path); 435 const FilePath& to_path);
|
D | file_util_posix.cc | 240 const FilePath& to_path, in ReplaceFile() argument 243 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) in ReplaceFile() 251 const FilePath& to_path, in CopyDirectory() argument 257 DCHECK(to_path.value().find('*') == std::string::npos); in CopyDirectory() 265 FilePath real_to_path = to_path; in CopyDirectory() 300 if (recursive && stat(to_path.value().c_str(), &to_path_stat) == 0 && in CopyDirectory() 316 FilePath target_path(to_path); in CopyDirectory() 860 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { in CopyFile() argument 875 File outfile(to_path, File::FLAG_WRITE | File::FLAG_CREATE_ALWAYS); in CopyFile() 912 bool MoveUnsafe(const FilePath& from_path, const FilePath& to_path) { in MoveUnsafe() argument [all …]
|
D | file_util_mac.mm | 17 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { 19 if (from_path.ReferencesParent() || to_path.ReferencesParent()) 22 to_path.value().c_str(), NULL, COPYFILE_DATA) == 0);
|
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/libmtp/examples/ |
D | getfile.c | 42 getfile_function(char * from_path,char * to_path) in getfile_function() argument 46 printf("Getting %s to %s\n",from_path,to_path); in getfile_function() 47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) { in getfile_function()
|
D | sendfile.c | 49 int sendfile_function(char * from_path, char *to_path) in sendfile_function() argument 51 printf("Sending %s to %s\n",from_path,to_path); in sendfile_function() 67 parent_id = parse_path (to_path,files,folders); in sendfile_function()
|
D | sendtr.c | 164 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *p… in sendtrack_function() argument 176 printf("Sending track %s to %s\n",from_path,to_path); in sendtrack_function() 181 parent = dirname(strdup(to_path)); in sendtrack_function() 182 filename = basename(strdup(to_path)); in sendtrack_function()
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 257 char from_path[PATH_MAX], to_path[PATH_MAX]; in CopyProcFiles() local 264 num_chars = snprintf(to_path, PATH_MAX, "%s/%s", in CopyProcFiles() 269 if (!CopyFile(from_path, to_path)) in CopyProcFiles()
|
/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/tests/ |
D | file_utils.cc | 44 bool CopyFile(const char* from_path, const char* to_path) { in CopyFile() argument 51 int outfile = HANDLE_EINTR(creat(to_path, 0666)); in CopyFile()
|
D | file_utils.h | 39 bool CopyFile(const char* from_path, const char* to_path);
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ |
D | models.py | 260 barrier_index_path = barrier_index_key.to_path()
|
D | pipeline.py | 1784 *slot.key.to_path(), **dict(parent=pipeline._pipeline_key)) 2384 barrier_index_path.extend(slot_key.to_path()) 2385 barrier_index_path.extend(child_pipeline_key.to_path())
|