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

1 2

  /external/chromium_org/chrome/installer/util/
duplicate_tree_detector.h 18 // Returns true if |dest_path| contains all the files from |src_path| in the
24 bool IsIdenticalFileHierarchy(const base::FilePath& src_path,
duplicate_tree_detector.cc 14 bool IsIdenticalFileHierarchy(const base::FilePath& src_path,
20 if (file_util::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/chromeos/drive/file_system/
move_operation_unittest.cc 25 const base::FilePath src_path(
31 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
36 operation_->Move(src_path,
44 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry));
47 EXPECT_TRUE(observer()->get_changed_paths().count(src_path.DirName()));
51 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt"));
56 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
61 operation_->Move(src_path,
69 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry));
72 EXPECT_TRUE(observer()->get_changed_paths().count(src_path.DirName()))
    [all...]
move_operation.h 57 const base::FilePath& src_path);
67 const base::FilePath& src_path);
76 // Renames a resource |src_id| at |src_path| to |new_name| in the same
82 const base::FilePath& src_path,
88 void RenameLocally(const base::FilePath& src_path,
94 // Moves a resource |src_id| at |src_path| to another directory |dest_dir_id|
99 const base::FilePath& src_path,
104 void AddToDirectoryLocally(const base::FilePath& src_path,
move_operation.cc 69 const base::FilePath& src_path = src_dest_info->first.path; local
77 Rename(src_id, src_path, new_name, new_name_has_hosted_extension,
88 const base::FilePath& src_path) {
101 if (src_path.DirName() == dest_dir_path) {
107 AddToDirectory(src_id, dest_dir_id, src_path, dest_dir_path,
126 const base::FilePath& src_path = src_dest_info->first.path; local
127 observer_->OnDirectoryChangedByOperation(src_path.DirName());
136 const base::FilePath& src_path,
143 if (src_path.BaseName() == new_name) {
144 callback.Run(FILE_ERROR_OK, src_path);
    [all...]
copy_operation_unittest.cc 209 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt"));
213 ASSERT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry));
216 operation_->Copy(src_path,
222 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry));
228 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt"));
232 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry));
237 operation_->Copy(src_path,
243 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry));
251 base::FilePath src_path(FILE_PATH_LITERAL(
257 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry))
    [all...]
  /bionic/libc/kernel/tools/
clean_header.py 15 src_path = path
17 if not os.path.exists(src_path):
23 if not os.path.isfile(src_path):
29 if os.path.commonprefix( [ src_path, original_path ] ) != original_path:
35 src_path = src_path[len(original_path):]
36 if len(src_path) > 0 and src_path[0] == '/':
37 src_path = src_path[1:
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
media_file_validator_factory.cc 51 base::FilePath src_path = src.virtual_path(); local
52 if (SupportedImageTypeValidator::SupportsFileType(src_path))
54 if (SupportedAudioVideoChecker::SupportsFileType(src_path))
media_file_validator_browsertest.cc 109 base::FilePath src_path = base.AppendASCII("src_fs"); local
110 ASSERT_TRUE(file_util::CreateDirectory(src_path));
114 base::MessageLoopProxy::current().get(), src_path));
126 base::FilePath test_file = src_path.AppendASCII(filename);
  /external/chromium_org/tools/telemetry_tools/
telemetry_bootstrap.py 69 def Traverse(self, src_path, dst_path):
70 """Walks the directory hierarchy pointed to by src_path download all files.
72 Recursively walks src_path and saves all files and subfolders into
76 src_path: string path on SVN server to save (absolute path on server).
79 if self.IsFile(src_path):
83 logging.info("Saving %s to %s", self.root_url + src_path, dst_path)
84 urllib.urlretrieve(self.root_url + src_path, dst_path)
87 for subdir in self.GetDirList(src_path):
88 self.Traverse(os.path.join(src_path, subdir),
151 for dst_path, src_path in deps.deps.iteritems()
    [all...]
  /external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/chrome_test/
setup_test_links.sh 40 for src_path in $@; do
41 [[ "$src_path" == "/usr/local/autotest/deps/pyauto_dep"/* ]] || return
42 dest_path="${src_path/pyauto_dep/chrome_test}"
44 [ -e "$dest_path" ] || ln -f -s $src_path $dest_path
  /external/chromium/chrome/common/extensions/
extension_l10n_util_unittest.cc 29 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
30 ASSERT_TRUE(file_util::CreateDirectory(src_path));
34 EXPECT_FALSE(extension_l10n_util::GetValidLocales(src_path,
45 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
46 ASSERT_TRUE(file_util::CreateDirectory(src_path));
47 ASSERT_TRUE(file_util::CreateDirectory(src_path.AppendASCII("sr")));
51 EXPECT_FALSE(extension_l10n_util::GetValidLocales(src_path,
62 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
63 ASSERT_TRUE(file_util::CreateDirectory(src_path));
65 FilePath locale_1 = src_path.AppendASCII("sr")
135 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
154 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
181 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
    [all...]
extension_file_util_unittest.cc 107 FilePath src_path = temp.path().AppendASCII("some_dir"); local
108 ASSERT_TRUE(file_util::CreateDirectory(src_path));
111 ASSERT_TRUE(file_util::WriteFile(src_path.AppendASCII("some_file.txt"),
122 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
123 ASSERT_TRUE(file_util::CreateDirectory(src_path));
134 FilePath src_path = temp.path().Append(Extension::kLocaleFolder); local
135 ASSERT_TRUE(file_util::CreateDirectory(src_path));
137 src_path = temp.path().AppendASCII("_some_dir");
138 ASSERT_TRUE(file_util::CreateDirectory(src_path));
  /external/chromium_org/chrome/common/extensions/
extension_l10n_util_unittest.cc 33 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
34 ASSERT_TRUE(file_util::CreateDirectory(src_path));
38 EXPECT_FALSE(extension_l10n_util::GetValidLocales(src_path,
49 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
50 ASSERT_TRUE(file_util::CreateDirectory(src_path));
51 ASSERT_TRUE(file_util::CreateDirectory(src_path.AppendASCII("sr")));
55 EXPECT_FALSE(extension_l10n_util::GetValidLocales(src_path,
66 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
67 ASSERT_TRUE(file_util::CreateDirectory(src_path));
69 base::FilePath locale_1 = src_path.AppendASCII("sr")
138 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
157 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
184 base::FilePath src_path = temp.path().Append(kLocaleFolder); local
    [all...]
extension_file_util_unittest.cc 141 base::FilePath src_path = temp.path().AppendASCII("some_dir"); local
142 ASSERT_TRUE(file_util::CreateDirectory(src_path));
145 ASSERT_TRUE(file_util::WriteFile(src_path.AppendASCII("some_file.txt"),
160 base::FilePath src_path = temp.path().Append(folders[i]); local
161 ASSERT_TRUE(file_util::CreateDirectory(src_path));
173 base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); local
174 ASSERT_TRUE(file_util::CreateDirectory(src_path));
176 src_path = temp.path().AppendASCII("_some_dir");
177 ASSERT_TRUE(file_util::CreateDirectory(src_path));
468 base::FilePath src_path = temp.path().AppendASCII("some_dir") local
    [all...]
  /external/chromium_org/chrome/installer/setup/
install.h 57 // 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,
install.cc 156 // src_path: the path that contains a complete and unpacked Chrome package
175 const base::FilePath& src_path,
190 src_path,
296 bool CreateVisualElementsManifest(const base::FilePath& src_path,
305 if (!base::PathExists(src_path.Append(elements_dir))) {
307 << installer::kVisualElementsManifest << " to " << src_path.value();
341 // Write the manifest to |src_path|.
344 src_path.Append(installer::kVisualElementsManifest),
347 << " to " << src_path.value();
351 << " to " << src_path.value()
    [all...]
  /external/chromium_org/content/child/fileapi/
webfilesystem_impl.h 32 const WebKit::WebURL& src_path,
36 const WebKit::WebURL& src_path,
file_system_dispatcher.h 74 void Move(const GURL& src_path,
77 void Copy(const GURL& src_path,
  /development/testrunner/
create_test.py 240 src_path = app_path + "/tests/src"
241 if not os.path.exists(src_path):
242 os.mkdir(src_path)
  /external/chromium_org/webkit/browser/fileapi/
file_system_operation.h 138 // Copies a file or directory from |src_path| to |dest_path|. If
139 // |src_path| is a directory, the contents of |src_path| are copied to
142 virtual void Copy(const FileSystemURL& src_path,
146 // Moves a file or directory from |src_path| to |dest_path|. A new file
148 virtual void Move(const FileSystemURL& src_path,
native_file_util.cc 206 const base::FilePath& src_path,
210 base::PlatformFileError error = NativeFileUtil::GetFileInfo(src_path, &info);
231 if (base::CopyFile(src_path, dest_path))
234 if (base::Move(src_path, dest_path))
native_file_util.h 56 static base::PlatformFileError CopyOrMoveFile(const base::FilePath& src_path,
  /external/chromium_org/tools/code_coverage/
coverage.py 84 src_path = None,
91 src_path: Location of the Chromium source base.
99 self.src_path = src_path
141 binary = os.path.join(self.src_path, 'chrome', 'Release', binary)
  /external/chromium_org/chrome/browser/chromeos/drive/
async_file_util.cc 284 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); local
286 if (src_path.empty() || dest_path.empty()) {
294 src_path, dest_path,
306 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); local
308 if (src_path.empty() || dest_path.empty()) {
316 src_path, dest_path,

Completed in 384 milliseconds

1 2