Searched defs:src_path (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/chrome/installer/util/
H A Dduplicate_tree_detector.cc14 bool IsIdenticalFileHierarchy(const base::FilePath& src_path, argument
20 if (base::GetFileInfo(src_path, &src_info) &&
35 // "identical" to all the entries in src_path.
38 base::FileEnumerator path_enum(src_path, false /* not recursive */,
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmedia_file_validator_factory.cc48 base::FilePath src_path = src.virtual_path(); local
49 if (SupportedImageTypeValidator::SupportsFileType(src_path))
51 if (SupportedAudioVideoChecker::SupportsFileType(src_path))
H A Dmedia_file_validator_browsertest.cc107 base::FilePath src_path = base.AppendASCII("src_fs"); local
108 ASSERT_TRUE(base::CreateDirectory(src_path));
112 base::MessageLoopProxy::current().get(), src_path));
124 base::FilePath test_file = src_path.AppendASCII(filename);
H A Dnative_media_file_util_unittest.cc331 base::FilePath src_path = root_path().AppendASCII("foo.jpg"); local
334 ASSERT_TRUE(base::WriteFile(src_path, kDummyData, strlen(kDummyData)));
441 base::FilePath src_path = root_path().AppendASCII("foo.jpg"); local
445 base::WriteFile(src_path, kDummyData, strlen(kDummyData)));
/external/chromium_org/gpu/gles2_conform_support/
H A Dgles2_conform_test.cc27 base::FilePath src_path; local
28 PathService::Get(base::DIR_SOURCE_ROOT, &src_path);
30 src_path.Append(FILE_PATH_LITERAL("gpu")).
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/
H A Dbuild_compiler_runner_jar.py23 src_path = rel_to_abs(src_dir) variable
37 for root, dirs, files in sorted(os.walk(src_path)):
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dmove_operation.cc21 const base::FilePath& src_path,
26 FileError error = metadata->GetResourceEntryByPath(src_path, &entry);
60 changed_directories->insert(src_path.DirName());
20 UpdateLocalState(internal::ResourceMetadata* metadata, const base::FilePath& src_path, const base::FilePath& dest_path, std::set<base::FilePath>* changed_directories, std::string* local_id) argument
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_cache_unittest.cc76 const base::FilePath src_path = local
83 EXPECT_EQ(FILE_ERROR_OK, cache_->Store("id_foo", "md5", src_path,
89 ASSERT_TRUE(base::CopyFile(src_path, file_directory.AppendASCII("id_bar")));
90 ASSERT_TRUE(base::CopyFile(src_path, file_directory.AppendASCII("id_baz")));
108 src_path,
111 src_path,
115 src_path,
118 src_path,
/external/chromium_org/extensions/common/
H A Dextension_l10n_util_unittest.cc36 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
37 base::FilePath locale = src_path.AppendASCII("ms");
58 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
59 ASSERT_TRUE(base::CreateDirectory(src_path));
64 extension_l10n_util::GetValidLocales(src_path, &locales, &error));
73 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
74 ASSERT_TRUE(base::CreateDirectory(src_path));
75 ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("sr")));
80 extension_l10n_util::GetValidLocales(src_path, &locales, &error));
89 base::FilePath src_path local
156 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
172 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
199 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
[all...]
H A Dfile_util_unittest.cc153 base::FilePath src_path = temp.path().AppendASCII("some_dir"); local
154 ASSERT_TRUE(base::CreateDirectory(src_path));
158 src_path.AppendASCII("some_file.txt"), data.c_str(), data.length()));
171 base::FilePath src_path = temp.path().Append(folders[i]); local
172 ASSERT_TRUE(base::CreateDirectory(src_path));
183 base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); local
184 ASSERT_TRUE(base::CreateDirectory(src_path));
186 src_path = temp.path().AppendASCII("_some_dir");
187 ASSERT_TRUE(base::CreateDirectory(src_path));
341 base::FilePath src_path local
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/
H A Dmem_fs.cc184 Error MemFs::Rename(const Path& src_path, const Path& target_path) { argument
189 int error = FindNode(src_path, 0, &src_node);
194 error = FindNode(src_path.Parent(), S_IFDIR, &src_parent);
221 target_name = src_path.Basename();
236 error = src_parent->RemoveChild(src_path.Basename());
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/
H A Dbuild_jsdoc_validator_jar.py27 src_path = rel_to_abs(src_dir) variable
94 for root, dirs, files in sorted(os.walk(src_path)):
/external/lldb/source/API/
H A DSBFileSpec.cpp87 SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len) argument
89 return lldb_private::FileSpec::Resolve (src_path, dst_path, dst_len);
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dasync_file_util.cc292 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); local
294 if (src_path.empty() || dest_path.empty()) {
309 src_path, dest_path,
323 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); local
325 if (src_path.empty() || dest_path.empty()) {
336 src_path, dest_path,
/external/chromium_org/webkit/browser/fileapi/
H A Dnative_file_util.cc244 const base::FilePath& src_path,
249 base::File::Error error = NativeFileUtil::GetFileInfo(src_path, &info);
272 if (!base::CopyFile(src_path, dest_path))
276 if (!CopyFileAndSync(src_path, dest_path))
280 if (!base::Move(src_path, dest_path))
243 CopyOrMoveFile( const base::FilePath& src_path, const base::FilePath& dest_path, FileSystemOperation::CopyOrMoveOption option, CopyOrMoveMode mode) argument
/external/chromium_org/chrome/installer/setup/
H A Dinstall.cc161 // src_path: the path that contains a complete and unpacked Chrome package
180 const base::FilePath& src_path,
195 src_path,
304 bool CreateVisualElementsManifest(const base::FilePath& src_path, argument
313 if (!base::PathExists(src_path.Append(elements_dir))) {
315 << installer::kVisualElementsManifest << " to " << src_path.value();
349 // Write the manifest to |src_path|.
353 src_path.Append(installer::kVisualElementsManifest),
356 << " to " << src_path.value();
360 << " to " << src_path
175 InstallNewVersion( const installer::InstallationState& original_state, const installer::InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version& new_version, scoped_ptr<Version>* current_version) argument
498 InstallOrUpdateProduct( const installer::InstallationState& original_state, const installer::InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& install_temp_path, const base::FilePath& src_path, const base::FilePath& prefs_path, const MasterPreferences& prefs, const Version& new_version) argument
[all...]
H A Dinstall_worker.cc480 const base::FilePath& src_path,
512 src_path.Append(installer::kChromeExe).value(),
518 src_path.Append(installer::kChromeExe).value(),
533 src_path.Append(installer::kWowHelperExe).value(),
539 // Install kVisualElementsManifest if it is present in |src_path|. No need to
543 src_path.Append(installer::kVisualElementsManifest))) {
545 src_path.Append(installer::kVisualElementsManifest).value(),
566 src_path.AppendASCII(new_version.GetString()).value(),
1257 const base::FilePath& src_path,
1276 src_path,
476 AddChromeWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version* current_version, const Version& new_version, WorkItemList* install_list) argument
1253 AddInstallWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version* current_version, const Version& new_version, WorkItemList* install_list) argument
[all...]
/external/chromium_org/cloud_print/virtual_driver/win/install/
H A Dsetup.cc241 base::FilePath src_path = driver_cache_path.Append(kDependencyList[i]); local
242 if (!base::PathExists(src_path))
243 src_path = GetSystemPath(kDependencyList[i]);
244 base::CopyFile(src_path, dst_path);
/external/chromium_org/content/browser/fileapi/
H A Dfileapi_message_filter.cc246 int request_id, const GURL& src_path, const GURL& dest_path) {
248 FileSystemURL src_url(context_->CrackURL(src_path));
269 int request_id, const GURL& src_path, const GURL& dest_path) {
271 FileSystemURL src_url(context_->CrackURL(src_path));
245 OnMove( int request_id, const GURL& src_path, const GURL& dest_path) argument
268 OnCopy( int request_id, const GURL& src_path, const GURL& dest_path) argument
H A Dobfuscated_file_util_unittest.cc1921 FileSystemURL src_path = FileSystemURLAppendUTF8( local
1925 ofu()->EnsureFileExists(context.get(), src_path, &created));
1930 ofu()->GetLocalFilePath(context.get(), src_path, &src_local_path));
/external/chromium_org/content/child/fileapi/
H A Dfile_system_dispatcher.cc207 const GURL& src_path,
212 request_id, src_path, dest_path));
216 const GURL& src_path,
221 request_id, src_path, dest_path));
206 Move( const GURL& src_path, const GURL& dest_path, const StatusCallback& callback) argument
215 Copy( const GURL& src_path, const GURL& dest_path, const StatusCallback& callback) argument
H A Dwebfilesystem_impl.cc417 const blink::WebURL& src_path,
426 MakeTuple(GURL(src_path), GURL(dest_path),
433 const blink::WebURL& src_path,
442 MakeTuple(GURL(src_path), GURL(dest_path),
416 move( const blink::WebURL& src_path, const blink::WebURL& dest_path, WebFileSystemCallbacks callbacks) argument
432 copy( const blink::WebURL& src_path, const blink::WebURL& dest_path, WebFileSystemCallbacks callbacks) argument
/external/chromium_org/third_party/android_crazy_linker/src/tests/
H A Dtest_util.h225 String src_path; local
226 src_path.Format("%s/%s", src_file_dir, src_file_name);
229 src_file.Open(src_path.c_str(), "rb");
/external/lldb/source/Host/common/
H A DFileSpec.cpp76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len) argument
78 if (src_path == NULL || src_path[0] == '\0')
87 // If there's no ~, then just copy src_path straight to dst_path (they may be the same string...)
88 if (src_path[0] != '~')
90 size_t len = strlen (src_path);
93 ::bcopy (src_path, dst_path, dst_len - 1);
97 ::bcopy (src_path, dst_path, len + 1);
102 const char *first_slash = ::strchr (src_path, '/');
108 user_name = src_path
185 Resolve(const char *src_path, char *dst_path, size_t dst_len) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/developer_private/
H A Ddeveloper_private_api.cc1224 const base::FilePath& src_path,
1235 src_path,
1240 const base::FilePath& src_path,
1248 base::CopyFile(src_path, target_path);
1220 SnapshotFileCallback( const base::FilePath& target_path, base::File::Error result, const base::File::Info& file_info, const base::FilePath& src_path, const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) argument
1239 CopyFile( const base::FilePath& src_path, const base::FilePath& target_path) argument

Completed in 678 milliseconds