/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 (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/chromeos/drive/file_system/ |
move_operation_unittest.cc | 37 const base::FilePath src_path( 43 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); 48 operation_->Move(src_path, 58 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry)); 61 EXPECT_TRUE(observer()->get_changed_paths().count(src_path.DirName())); 68 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); 73 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); 78 operation_->Move(src_path, 88 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry)); 91 EXPECT_TRUE(observer()->get_changed_paths().count(src_path.DirName())) [all...] |
copy_operation_unittest.cc | 153 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/Dummy file.txt")); 157 ASSERT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry)); 160 operation_->Copy(src_path, 167 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &entry)); 173 base::FilePath src_path(FILE_PATH_LITERAL("drive/root/File 1.txt")); 177 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); 182 operation_->Copy(src_path, 189 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)); 197 base::FilePath src_path(FILE_PATH_LITERAL( 203 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &entry)) [all...] |
move_operation.cc | 21 const base::FilePath& src_path, 27 FileError error = metadata->GetResourceEntryByPath(src_path, &entry); 66 changed_directories->insert(src_path.DirName());
|
/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 | 49 base::FilePath src_path = src.virtual_path(); local 50 if (SupportedImageTypeValidator::SupportsFileType(src_path)) 52 if (SupportedAudioVideoChecker::SupportsFileType(src_path))
|
media_file_validator_browsertest.cc | 107 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);
|
/external/chromium_org/tools/telemetry_tools/ |
telemetry_bootstrap.py | 71 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 in 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/gpu/gles2_conform_support/ |
gles2_conform_test.cc | 27 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/ |
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 | 166 // src_path: the path that contains a complete and unpacked Chrome package 185 const base::FilePath& src_path, 200 src_path, 306 bool CreateVisualElementsManifest(const base::FilePath& src_path, 315 if (!base::PathExists(src_path.Append(elements_dir))) { 317 << installer::kVisualElementsManifest << " to " << src_path.value(); 351 // Write the manifest to |src_path|. 355 src_path.Append(installer::kVisualElementsManifest), 358 << " to " << src_path.value(); 362 << " to " << src_path.value() [all...] |
/external/chromium_org/chrome/common/extensions/ |
extension_file_util_unittest.cc | 141 base::FilePath src_path = temp.path().AppendASCII("some_dir"); local 142 ASSERT_TRUE(base::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(base::CreateDirectory(src_path)); 173 base::FilePath src_path = temp.path().Append(extensions::kLocaleFolder); local 174 ASSERT_TRUE(base::CreateDirectory(src_path)); 176 src_path = temp.path().AppendASCII("_some_dir"); 177 ASSERT_TRUE(base::CreateDirectory(src_path)); 359 base::FilePath src_path = temp.path().AppendASCII("some_dir") local [all...] |
extension_l10n_util_unittest.cc | 36 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)); 63 EXPECT_FALSE(extension_l10n_util::GetValidLocales(src_path, 74 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 75 ASSERT_TRUE(base::CreateDirectory(src_path)); 76 ASSERT_TRUE(base::CreateDirectory(src_path.AppendASCII("sr"))); 80 EXPECT_FALSE(extension_l10n_util::GetValidLocales(src_path, 91 base::FilePath src_path = temp.path().Append(kLocaleFolder) local 163 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 182 base::FilePath src_path = temp.path().Append(kLocaleFolder); local 213 base::FilePath src_path = temp.path().Append(kLocaleFolder); local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
mount_mem.cc | 187 Error MountMem::Rename(const Path& src_path, const Path& target_path) { 192 int error = FindNode(src_path, 0, &src_node); 197 error = FindNode(src_path.Parent(), S_IFDIR, &src_parent); 224 target_name = src_path.Basename(); 239 error = src_parent->RemoveChild(src_path.Basename());
|
/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/chrome/browser/chromeos/drive/sync/ |
entry_update_performer_unittest.cc | 33 base::FilePath src_path( 39 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
|
/external/chromium_org/content/child/fileapi/ |
webfilesystem_impl.h | 64 const blink::WebURL& src_path, 68 const blink::WebURL& src_path,
|
file_system_dispatcher.h | 80 void Move(const GURL& src_path, 83 void Copy(const GURL& src_path,
|
/external/chromium_org/webkit/browser/fileapi/ |
native_file_util.h | 65 const base::FilePath& src_path,
|
native_file_util.cc | 256 const base::FilePath& src_path, 261 base::PlatformFileError error = NativeFileUtil::GetFileInfo(src_path, &info); 284 if (!base::CopyFile(src_path, dest_path)) 288 if (!CopyFileAndSync(src_path, dest_path)) 292 if (!base::Move(src_path, dest_path))
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
async_file_util.cc | 285 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); local 287 if (src_path.empty() || dest_path.empty()) { 296 src_path, dest_path, 310 base::FilePath src_path = util::ExtractDrivePathFromFileSystemUrl(src_url); local 312 if (src_path.empty() || dest_path.empty()) { 321 src_path, dest_path,
|