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

123

/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dmove_operation_unittest.cc29 const base::FilePath src_path(
35 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
40 operation_->Move(src_path,
49 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry));
52 EXPECT_TRUE(delegate()->get_changed_files().count(src_path));
60 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt"));
65 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
70 operation_->Move(src_path,
79 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry));
82 EXPECT_TRUE(delegate()->get_changed_files().count(src_path));
[all...]
H A Dcopy_operation_unittest.cc226 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt"));
230 ASSERT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry));
233 operation_->Copy(src_path,
240 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry));
246 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt"));
250 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry));
255 operation_->Copy(src_path,
262 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry));
270 base::FilePath src_path(FILE_PATH_LITERAL(
276 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path,
[all...]
H A Dmove_operation.cc22 const base::FilePath& src_path,
27 FileError error = metadata->GetResourceEntryByPath(src_path, &entry);
41 changed_files->Update(src_path, entry, FileChange::DELETE);
21 UpdateLocalState(internal::ResourceMetadata* metadata, const base::FilePath& src_path, const base::FilePath& dest_path, FileChange* changed_files, std::string* local_id) argument
/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
24 bool IsIdenticalFileHierarchy(const base::FilePath& src_path,
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));
125 base::FilePath test_file = src_path.AppendASCII(filename);
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dbootstrap.py71 def Traverse(self, src_path, dst_path):
72 """Walks the directory hierarchy pointed to by src_path download all files.
74 Recursively walks src_path and saves all files and subfolders into
78 src_path: string path on SVN server to save (absolute path on server).
81 if self.IsFile(src_path):
88 logging.info('Saving %s to %s', self.root_url + src_path, dst_path)
89 urllib.urlretrieve(self.root_url + src_path, dst_path)
92 for subdir in self.GetDirList(src_path):
93 self.Traverse(os.path.join(src_path, subdir),
151 for dst_path, src_path i
[all...]
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/chrome_test/
H A Dsetup_test_links.sh39 for src_path in $@; do
40 [[ "$src_path" == "/usr/local/autotest/deps/pyauto_dep"/* ]] || return
41 dest_path="${src_path/pyauto_dep/chrome_test}"
43 [ -e "$dest_path" ] || ln -f -s $src_path $dest_path
/external/chromium_org/tools/json_schema_compiler/
H A Dcompiler.py69 src_path = None
83 if src_path is None:
84 src_path = namespace.source_file_dir
86 src_path = os.path.commonprefix((src_path, namespace.source_file_dir))
101 src_path,
137 output_dir = os.path.join(destdir, src_path)
/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/chrome/installer/setup/
H A Dinstall.h57 // Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if
58 // |src_path|\VisualElements exists.
60 bool CreateVisualElementsManifest(const base::FilePath& src_path,
100 // src_path: the unpacked Chrome package (inside |install_temp_path|).
114 const base::FilePath& src_path,
H A Dinstall.cc158 // src_path: the path that contains a complete and unpacked Chrome package
177 const base::FilePath& src_path,
192 src_path,
292 bool CreateVisualElementsManifest(const base::FilePath& src_path, argument
301 if (!base::PathExists(src_path.Append(elements_dir))) {
303 << installer::kVisualElementsManifest << " to " << src_path.value();
337 // Write the manifest to |src_path|.
341 src_path.Append(installer::kVisualElementsManifest),
344 << " to " << src_path.value();
348 << " to " << src_path
172 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
486 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...]
/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/extensions/common/
H A Dfile_util_unittest.cc145 base::FilePath src_path = temp.path().AppendASCII("some_dir"); local
146 ASSERT_TRUE(base::CreateDirectory(src_path));
150 src_path.AppendASCII("some_file.txt"), data.c_str(), data.length()));
163 base::FilePath src_path = temp.path().Append(folders[i]); local
164 ASSERT_TRUE(base::CreateDirectory(src_path));
175 base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); local
176 ASSERT_TRUE(base::CreateDirectory(src_path));
178 src_path = temp.path().AppendASCII("_some_dir");
179 ASSERT_TRUE(base::CreateDirectory(src_path));
310 base::FilePath src_path local
[all...]
H A Dextension_l10n_util_unittest.cc35 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
36 base::FilePath locale = src_path.AppendASCII("ms");
57 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
58 ASSERT_TRUE(base::CreateDirectory(src_path));
63 extension_l10n_util::GetValidLocales(src_path, &locales, &error));
72 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
73 ASSERT_TRUE(base::CreateDirectory(src_path));
74 ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("sr")));
79 extension_l10n_util::GetValidLocales(src_path, &locales, &error));
88 base::FilePath src_path local
147 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
163 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
190 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
[all...]
/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/third_party/closure_compiler/runner/
H A Dbuild_runner_jar.py26 src_path = rel_to_abs(src_dir) variable
41 for root, dirs, files in sorted(os.walk(src_path)):
/external/owasp/sanitizer/tools/
H A Dcut_release.py100 def copy_directory_structure_template(src_path, container_path):
103 replace_fields(os.path.basename(src_path)))
104 if os.path.isdir(src_path):
106 for child in os.listdir(src_path):
110 os.path.join(src_path, child), dest_path)
112 shutil.copyfile(src_path, dest_path)
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/
H A Dmem_fs.cc169 Error MemFs::Rename(const Path& src_path, const Path& target_path) { argument
174 int error = FindNode(src_path, 0, &src_node);
179 error = FindNode(src_path.Parent(), S_IFDIR, &src_parent);
206 target_name = src_path.Basename();
221 error = src_parent->RemoveChild(src_path.Basename());
/external/chromium_org/content/child/fileapi/
H A Dwebfilesystem_impl.h66 const blink::WebURL& src_path,
70 const blink::WebURL& src_path,
/external/lldb/include/lldb/Host/
H A DFileSpec.h605 /// Resolves user name and links in \a src_path, and writes the output
606 /// to \a dst_path. Note if the path pointed to by \a src_path does not
607 /// exist, the contents of \a src_path will be copied to \a dst_path
610 /// @param[in] src_path
625 Resolve (const char *src_path, char *dst_path, size_t dst_len);
628 /// Resolves the user name at the beginning of \a src_path, and writes the output
629 /// to \a dst_path. Note, \a src_path can contain other path components after the
633 /// @param[in] src_path
649 ResolveUsername (const char *src_path, char *dst_path, size_t dst_len);
/external/lldb/scripts/Python/interface/
H A DSBFileSpec.i65 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
/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/storage/browser/fileapi/
H A Dnative_file_util.h60 const base::FilePath& src_path,

Completed in 495 milliseconds

123