HomeSort by relevance Sort by last modified time
    Searched refs:to_path (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/net/disk_cache/
cache_util_posix.cc 14 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) {
22 if (!base::CreateDirectory(to_path)) {
30 base::FilePath destination = to_path.Append(name.BaseName());
38 return base::Move(from_path, to_path);
cache_util_win.cc 16 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) {
19 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
cache_util.h 25 const base::FilePath& to_path);
  /external/chromium_org/tools/git/
move_source_file.py 43 def MakeDestinationPath(from_path, to_path):
53 if os.path.isdir(to_path):
54 to_path = os.path.join(to_path, os.path.basename(from_path))
56 dest_extension = os.path.splitext(to_path)[1]
60 return to_path
63 def MoveFile(from_path, to_path):
64 """Performs a git mv command to move a file from |from_path| to |to_path|.
66 if not os.system('git mv %s %s' % (from_path, to_path)) == 0:
70 def UpdatePostMove(from_path, to_path)
    [all...]
  /external/libmtp/examples/
getfile.c 42 getfile_function(char * from_path,char * to_path)
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 ) {
sendfile.c 49 int sendfile_function(char * from_path, char *to_path)
51 printf("Sending %s to %s\n",from_path,to_path);
67 parent_id = parse_path (to_path,files,folders);
sendtr.c 164 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)
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/chromium_org/chromeos/dbus/
fake_image_burner_client.cc 22 const std::string& to_path,
fake_image_burner_client.h 23 const std::string& to_path,
image_burner_client.h 37 // Burns the image |from_path| to the disk |to_path|.
39 const std::string& to_path,
image_burner_client.cc 28 const std::string& to_path,
34 writer.AppendString(to_path);
  /external/chromium_org/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,
103 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
108 // If there are files existing under to_path, always overwrite. Returns true
116 const FilePath& to_path,
420 const FilePath& to_path);
425 const FilePath& to_path);
428 // Copy from_path to to_path recursively and then delete from_path recursively.
433 const FilePath& to_path);
    [all...]
file_util_win.cc 116 const FilePath& to_path,
119 // Try a simple move first. It will only succeed when |to_path| doesn't
121 if (::MoveFile(from_path.value().c_str(), to_path.value().c_str()))
124 // succeed when |to_path| does exist. When writing to a network share, we may
127 if (::ReplaceFile(to_path.value().c_str(), from_path.value().c_str(), NULL,
136 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
148 to_path.value().length() >= MAX_PATH) {
153 FilePath real_to_path = to_path;
189 if (recursive && DirectoryExists(to_path)) {
197 // the suffix after from_path to to_path to create the target_path
    [all...]
file_util.cc 44 bool Move(const FilePath& from_path, const FilePath& to_path) {
45 if (from_path.ReferencesParent() || to_path.ReferencesParent())
47 return internal::MoveUnsafe(from_path, to_path);
50 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
51 if (from_path.ReferencesParent() || to_path.ReferencesParent())
53 return internal::CopyFileUnsafe(from_path, to_path);
file_util_posix.cc 239 const FilePath& to_path,
242 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
250 const FilePath& to_path,
256 DCHECK(to_path.value().find('*') == std::string::npos);
264 FilePath real_to_path = to_path;
288 // We have to mimic windows behavior here. |to_path| may not exist yet,
289 // start the loop with |to_path|.
299 if (recursive && stat(to_path.value().c_str(), &to_path_stat) == 0 &&
314 // the suffix after from_path to to_path to create the target_path.
315 FilePath target_path(to_path);
    [all...]
  /external/chromium_org/storage/browser/fileapi/
sandbox_prioritized_origin_database.cc 180 base::FilePath to_path = file_system_directory_.Append(kPrimaryDirectory); local
182 if (base::PathExists(to_path))
183 base::DeleteFile(to_path, true /* recursive */);
184 base::Move(from_path, to_path);
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
test_utils.cc 32 const std::string& to_path,
35 base::Bind(burn_progress_update_handler_, to_path, 0, 100));
37 base::Bind(burn_progress_update_handler_, to_path, 50, 100));
39 base::Bind(burn_progress_update_handler_, to_path, 100, 100));
41 base::Bind(burn_finished_handler_, to_path, true, ""));
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_flash_file_message_filter.h 60 const ppapi::PepperFilePath& to_path);
pepper_flash_file_message_filter.cc 149 const ppapi::PepperFilePath& to_path) {
153 to_path, base::Bind(&CanCreateReadWrite));
  /external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
wallpaper_manager.cc 121 base::FilePath to_path = base_path.Append(user_id_hash); local
124 return base::Move(from_path, to_path);
    [all...]

Completed in 344 milliseconds