Searched defs:to_path (Results 1 - 7 of 7) sorted by relevance

/external/libmtp/examples/
H A Dgetfile.c42 getfile_function(char * from_path,char * to_path) argument
46 printf("Getting %s to %s\n",from_path,to_path);
47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
H A Dsendfile.c49 int sendfile_function(char * from_path, char *to_path) argument
51 printf("Sending %s to %s\n",from_path,to_path);
67 parent_id = parse_path (to_path,files,folders);
H A Dsendtr.c164 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) argument
176 printf("Sending track %s to %s\n",from_path,to_path);
181 parent = dirname(strdup(to_path));
182 filename = basename(strdup(to_path));
/external/google-breakpad/src/common/tests/
H A Dfile_utils.cc44 bool CopyFile(const char* from_path, const char* to_path) { argument
51 int outfile = HANDLE_EINTR(creat(to_path, 0666));
/external/google-breakpad/src/common/linux/tests/
H A Dcrash_generator.cc257 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))
/external/libchrome/base/files/
H A Dfile_util.cc46 bool Move(const FilePath& from_path, const FilePath& to_path) { argument
47 if (from_path.ReferencesParent() || to_path.ReferencesParent())
49 return internal::MoveUnsafe(from_path, to_path);
H A Dfile_util_posix.cc240 const FilePath& to_path,
243 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
251 const FilePath& to_path,
257 DCHECK(to_path.value().find('*') == std::string::npos);
265 FilePath real_to_path = to_path;
289 // We have to mimic windows behavior here. |to_path| may not exist yet,
290 // start the loop with |to_path|.
300 if (recursive && stat(to_path.value().c_str(), &to_path_stat) == 0 &&
315 // the suffix after from_path to to_path to create the target_path.
316 FilePath target_path(to_path);
239 ReplaceFile(const FilePath& from_path, const FilePath& to_path, File::Error* error) argument
250 CopyDirectory(const FilePath& from_path, const FilePath& to_path, bool recursive) argument
860 CopyFile(const FilePath& from_path, const FilePath& to_path) argument
912 MoveUnsafe(const FilePath& from_path, const FilePath& to_path) argument
[all...]

Completed in 481 milliseconds