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

1 2

  /external/chromium/net/disk_cache/
cache_util.h 21 bool MoveCache(const FilePath& from_path, const FilePath& to_path);
cache_util_posix.cc 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
21 if (!file_util::CreateDirectory(to_path)) {
32 FilePath destination = to_path.Append(name.BaseName());
40 return file_util::Move(from_path, to_path);
cache_util_win.cc 44 bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
  /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 (!file_util::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/chrome/browser/chromeos/cros/
burn_library.cc 24 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path);
26 bool BurnImage(const FilePath& from_path, const FilePath& to_path);
50 void BurnImage(const FilePath& from_path, const FilePath& to_path);
85 const FilePath& to_path) {
88 task->BurnImage(from_path, to_path);
91 from_path, to_path));
96 const FilePath& to_path) {
102 target_path_ = to_path.value();
107 StartBurn(from_path.value().c_str(), to_path.value().c_str(),
151 const FilePath& to_path) {
    [all...]
burn_library.h 45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
  /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 19 const std::string& to_path,
fake_image_burner_client.h 22 const std::string& to_path,
image_burner_client.h 41 // Burns the image |from_path| to the disk |to_path|.
43 const std::string& to_path,
image_burner_client.cc 48 const std::string& to_path,
54 writer.AppendString(to_path);
  /external/chromium_org/webkit/browser/fileapi/
sandbox_isolated_origin_database.cc 95 base::FilePath to_path = file_system_directory_.Append(kOriginDirectory); local
97 if (base::PathExists(to_path))
98 base::DeleteFile(to_path, true /* recursive */);
99 base::Move(from_path, to_path);
  /external/chromium_org/base/
file_util_win.cc 38 const FilePath& to_path,
42 FilePath stripped_to = to_path.StripTrailingSeparators();
151 const FilePath& to_path,
154 // Try a simple move first. It will only succeed when |to_path| doesn't
156 if (::MoveFile(from_path.value().c_str(), to_path.value().c_str()))
159 // succeed when |to_path| does exist. When writing to a network share, we may
162 if (::ReplaceFile(to_path.value().c_str(), from_path.value().c_str(), NULL,
171 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
176 return ShellCopy(from_path, to_path, true);
183 if (!PathExists(to_path)) {
    [all...]
file_util.h 88 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
90 // Renames file |from_path| to |to_path|. Both paths must be on the same
97 const FilePath& to_path,
102 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
107 // If there are files existing under to_path, always overwrite. Returns true
112 const FilePath& to_path,
445 const FilePath& to_path);
450 const FilePath& to_path);
453 // Copy from_path to to_path recursively and then delete from_path recursively.
458 const FilePath& to_path);
    [all...]
file_util.cc 47 bool Move(const FilePath& from_path, const FilePath& to_path) {
48 if (from_path.ReferencesParent() || to_path.ReferencesParent())
50 return internal::MoveUnsafe(from_path, to_path);
53 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
54 if (from_path.ReferencesParent() || to_path.ReferencesParent())
56 return internal::CopyFileUnsafe(from_path, to_path);
file_util_posix.cc 201 const FilePath& to_path,
204 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
212 const FilePath& to_path,
219 DCHECK(to_path.value().find('*') == std::string::npos);
229 FilePath real_to_path = to_path;
253 // We have to mimic windows behavior here. |to_path| may not exist yet,
254 // start the loop with |to_path|.
264 if (recursive && stat(to_path.value().c_str(), &to_path_stat) == 0 &&
277 // the suffix after from_path to to_path to create the target_path.
278 FilePath target_path(to_path);
    [all...]
  /external/chromium/base/
file_util_deprecated.h 41 const std::wstring& to_path,
file_util_win.cc 178 bool Move(const FilePath& from_path, const FilePath& to_path) {
184 to_path.value().length() >= MAX_PATH) {
187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(),
199 // from_path and to_path are indeed in different volumes.
200 ret = CopyAndDeleteDirectory(from_path, to_path);
212 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) {
217 to_path.value().c_str(),
228 return ::ReplaceFile(to_path.value().c_str(),
233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
239 to_path.value().length() >= MAX_PATH)
    [all...]
file_util.h 119 BASE_API bool Move(const FilePath& from_path, const FilePath& to_path);
121 // Renames file |from_path| to |to_path|. Both paths must be on the same
126 BASE_API bool ReplaceFile(const FilePath& from_path, const FilePath& to_path);
129 BASE_API bool CopyFile(const FilePath& from_path, const FilePath& to_path);
133 // If there are files existing under to_path, always overwrite.
138 BASE_API bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
243 // Copy from_path to to_path recursively and then delete from_path recursively.
248 const FilePath& to_path);
file_util_posix.cc 186 bool Move(const FilePath& from_path, const FilePath& to_path) {
188 // Windows compatibility: if to_path exists, from_path and to_path
191 if (CallStat(to_path.value().c_str(), &to_file_info) == 0) {
201 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
204 if (!CopyDirectory(from_path, to_path, true))
211 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) {
213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0);
217 const FilePath& to_path,
224 DCHECK(to_path.value().find('*') == std::string::npos)
    [all...]
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_flash_file_message_filter.h 61 const ppapi::PepperFilePath& to_path);

Completed in 405 milliseconds

1 2