Searched refs:dest_path (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dmove_operation_unittest.cc31 const base::FilePath dest_path(
37 GetLocalResourceEntry(dest_path, &dest_entry));
41 dest_path,
46 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path, &dest_entry));
53 EXPECT_TRUE(delegate()->get_changed_files().count(dest_path));
61 base::FilePath dest_path(
67 GetLocalResourceEntry(dest_path, &dest_entry));
71 dest_path,
76 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path, &dest_entry));
83 EXPECT_TRUE(delegate()->get_changed_files().count(dest_path));
[all...]
H A Dmove_operation.cc23 const base::FilePath& dest_path,
33 error = metadata->GetResourceEntryByPath(dest_path.DirName(), &parent_entry);
45 base::FilePath(dest_path.Extension()).AsUTF8Unsafe();
52 dest_path.BaseName().RemoveExtension().AsUTF8Unsafe() :
53 dest_path.BaseName().AsUTF8Unsafe();
63 changed_files->Update(dest_path, entry, FileChange::ADD_OR_UPDATE);
21 UpdateLocalState(internal::ResourceMetadata* metadata, const base::FilePath& src_path, const base::FilePath& dest_path, FileChange* changed_files, std::string* local_id) argument
H A Dcopy_operation_unittest.cc227 base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Test.log"));
234 dest_path,
241 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(dest_path, &entry));
247 base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Dummy/Test.log"));
252 GetLocalResourceEntry(dest_path.DirName(), &entry));
256 dest_path,
263 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(dest_path, &entry));
272 base::FilePath dest_path(FILE_PATH_LITERAL(
277 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path.DirName(), &entry));
282 dest_path,
443 base::FilePath dest_path = directory_path.AppendASCII("File 1.txt"); local
[all...]
/external/skia/tools/pyutils/
H A Durl_utils.py43 def copy_contents(source_url, dest_path, create_subdirs_if_needed=False):
45 filepath 'dest_path'.
49 dest_path: string; complete filepath to write to (may be absolute or
52 needed to create dest_path
55 Some subclass of Exception if unable to read source_url or write dest_path.
58 dest_dir = os.path.dirname(dest_path)
62 with open(dest_path, 'wb') as dest_handle:
H A Durl_utils_test.py48 dest_path = os.path.join(tempdir_path, 'new_subdir', 'dest')
53 dest_path=dest_path,
57 dest_path=dest_path,
59 self.assertEquals(open(dest_path).read(), contents)
H A Dgs_utils.py30 def download_file(source_bucket, source_path, dest_path,
37 dest_path: full path (local-OS-style) on local disk to copy the file to
39 needed to create dest_path
43 url_utils.copy_contents(source_url=source_http_url, dest_path=dest_path,
/external/chromium_org/chrome/installer/util/
H A Dduplicate_tree_detector.h18 // Returns true if |dest_path| contains all the files from |src_path| in the
20 // src_path_ and |dest_path| must either both be files or both be directories.
25 const base::FilePath& dest_path);
H A Dduplicate_tree_detector.cc15 const base::FilePath& dest_path) {
21 base::GetFileInfo(dest_path, &dest_info)) {
34 // Two directories are "identical" if dest_path contains entries that are
44 IsIdenticalFileHierarchy(path, dest_path.Append(path.BaseName()));
14 IsIdenticalFileHierarchy(const base::FilePath& src_path, const base::FilePath& dest_path) argument
H A Dmove_tree_work_item.h37 // specified by |dest_path|. To facilitate rollback, the caller needs to
39 // they exist under dest_path.
42 // dest_path and all files in source_path are present and of the same length
43 // in dest_path. If so, it will do nothing and return true, otherwise it will
44 // attempt to move source_path to dest_path as stated above.
46 const base::FilePath& dest_path,
H A Dwork_item.cc35 const base::FilePath& dest_path,
39 return new CopyTreeWorkItem(source_path, dest_path, temp_dir,
80 const base::FilePath& dest_path,
84 dest_path,
33 CreateCopyTreeWorkItem( const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, CopyOverWriteOption overwrite_option, const base::FilePath& alternative_path) argument
78 CreateMoveTreeWorkItem( const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, MoveTreeOption duplicate_option) argument
H A Dcopy_tree_work_item.h41 // dest_path.
43 const base::FilePath& dest_path,
H A Dmove_tree_work_item.cc18 const base::FilePath& dest_path,
22 dest_path_(dest_path),
17 MoveTreeWorkItem(const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, MoveTreeOption duplicate_option) argument
H A Dcopy_tree_work_item.cc17 const base::FilePath& dest_path,
22 dest_path_(dest_path),
16 CopyTreeWorkItem(const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, CopyOverWriteOption overwrite_option, const base::FilePath& alternative_path) argument
H A Dwork_item.h86 const base::FilePath& dest_path,
127 const base::FilePath& dest_path,
H A Dwork_item_list.h51 const std::wstring& dest_path,
92 const std::wstring& dest_path,
/external/chromium_org/chrome/installer/mini_installer/
H A Ddecompress_test.cc26 base::FilePath dest_path(
31 dest_path.value().c_str()));
35 EXPECT_TRUE(GetBinaryType(dest_path.value().c_str(), &type));
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/chrome_test/
H A Dsetup_test_links.sh41 dest_path="${src_path/pyauto_dep/chrome_test}"
42 mkdir -p "$(dirname "$dest_path")"
43 [ -e "$dest_path" ] || ln -f -s $src_path $dest_path
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dbuild_server.py35 dest_path = os.path.join(LOCAL_THIRD_PARTY_DIR, dest)
37 shutil.copytree(src, dest_path)
39 MakeInit(dest_path)
42 os.makedirs(dest_path)
46 MakeInit(dest_path)
48 shutil.copy(os.path.join(src, filename), os.path.join(dest_path, filename))
/external/owasp/sanitizer/tools/
H A Dcut_release.py101 dest_path = os.path.join(
105 os.mkdir(dest_path)
110 os.path.join(src_path, child), dest_path)
112 shutil.copyfile(src_path, dest_path)
113 mime_type = mime_type_from_path(dest_path)
115 files_to_rewrite.append(dest_path)
116 new_file_paths.append(dest_path)
117 return dest_path
/external/chromium_org/third_party/skia/tools/
H A Dsvndiff.py107 def _DownloadUrlToFile(source_url, dest_path):
108 """Download source_url, and save its contents to dest_path.
112 writer = open(dest_path, 'wb')
117 '%s: unable to download source_url %s to dest_path %s' % (
118 e, source_url, dest_path))
160 dest_path=os.path.join(old_flattened_dir,
171 dest_path=os.path.join(new_flattened_dir,
195 def _GitExportBaseVersionOfFile(file_within_repo, dest_path):
200 @param dest_path destination to which to write the base content
216 with open(dest_path, 'w
[all...]
/external/skia/tools/
H A Dsvndiff.py107 def _DownloadUrlToFile(source_url, dest_path):
108 """Download source_url, and save its contents to dest_path.
112 writer = open(dest_path, 'wb')
117 '%s: unable to download source_url %s to dest_path %s' % (
118 e, source_url, dest_path))
160 dest_path=os.path.join(old_flattened_dir,
171 dest_path=os.path.join(new_flattened_dir,
195 def _GitExportBaseVersionOfFile(file_within_repo, dest_path):
200 @param dest_path destination to which to write the base content
216 with open(dest_path, 'w
[all...]
/external/chromium_org/third_party/skia/gm/rebaseline_server/
H A Ddownload_actuals.py84 dest_path = os.path.join(dest_dir, config, test + '.png')
85 url_utils.copy_contents(source_url=source_url, dest_path=dest_path,
/external/skia/gm/rebaseline_server/
H A Ddownload_actuals.py82 dest_path = os.path.join(dest_dir, config, test + '.png')
83 url_utils.copy_contents(source_url=source_url, dest_path=dest_path,
/external/chromium_org/storage/browser/fileapi/
H A Dnative_file_util.cc245 const base::FilePath& dest_path,
256 error = NativeFileUtil::GetFileInfo(dest_path, &info);
263 error = NativeFileUtil::GetFileInfo(dest_path.DirName(), &info);
272 if (!base::CopyFile(src_path, dest_path))
276 if (!CopyFileAndSync(src_path, dest_path))
280 if (!base::Move(src_path, dest_path))
288 base::TouchFile(dest_path, last_modified, last_modified);
243 CopyOrMoveFile( const base::FilePath& src_path, const base::FilePath& dest_path, FileSystemOperation::CopyOrMoveOption option, CopyOrMoveMode mode) argument
/external/chromium_org/components/crash/browser/
H A Dcrash_dump_manager_android.cc109 base::FilePath dest_path = instance_->crash_dump_dir_.Append(filename); local
110 r = base::Move(minidump_path, dest_path);
113 << " to " << dest_path.value();

Completed in 422 milliseconds

123