IsParent 730 base/file_util_posix.cc if (base != path && !base.IsParent(path)) { IsParent 307 base/file_util_unittest.cc .IsParent(normalized_file_b_path.DirName())); IsParent 537 base/file_util_unittest.cc EXPECT_TRUE(short_test_dir.IsParent(temp_file.DirName())); IsParent 1690 base/file_util_unittest.cc EXPECT_TRUE(temp_dir_.path().IsParent(new_dir)); IsParent 467 base/file_util_win.cc device_path.IsParent(nt_device_path)) { IsParent 206 base/files/file_path.h bool IsParent(const FilePath& child) const; IsParent 560 base/files/file_path_unittest.cc EXPECT_EQ(parent.IsParent(child), cases[i].expected) << IsParent 76 base/files/scoped_temp_dir_unittest.cc EXPECT_TRUE(base_path.IsParent(test_path)); IsParent 271 chrome/browser/chromeos/drive/directory_loader.cc util::GetDriveGrandRootPath().IsParent(directory_path)) { IsParent 99 chrome/browser/chromeos/drive/download_handler.cc return drive_tmp_download_path.IsParent(download->GetTargetFilePath()) && IsParent 238 chrome/browser/chromeos/drive/download_handler.cc if (!drive_tmp_download_path_.IsParent(download->GetTargetFilePath()) || IsParent 110 chrome/browser/chromeos/drive/download_handler_unittest.cc EXPECT_TRUE(temp_dir_.path().IsParent(substituted_path)); IsParent 151 chrome/browser/chromeos/drive/download_handler_unittest.cc EXPECT_TRUE(temp_dir_.path().IsParent(substituted_path)); IsParent 71 chrome/browser/chromeos/drive/file_cache.cc return cache_file_directory_.IsParent(path); IsParent 251 chrome/browser/chromeos/drive/file_system_util.cc if (base == path || base.IsParent(path)) IsParent 185 chrome/browser/chromeos/file_manager/fileapi_util.cc root_virtual_path.IsParent(iterator->virtual_path)); IsParent 336 chrome/browser/chromeos/file_manager/volume_manager.cc archives[parent].mount_path.IsParent(chain.back().source_path)) { IsParent 668 chrome/browser/chromeos/file_manager/volume_manager.cc profile_->GetPath().IsParent(volume_info.source_path); IsParent 673 chrome/browser/chromeos/file_manager/volume_manager.cc if (iter->second.mount_path.IsParent(volume_info.source_path)) IsParent 507 chrome/browser/devtools/devtools_file_system_indexer.cc if (path.IsParent(*it)) IsParent 726 chrome/browser/extensions/api/file_system/file_system_api.cc (path == graylisted_path || path.IsParent(graylisted_path))) { IsParent 385 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(fake_base_path_.IsParent(path)); IsParent 25 chrome/browser/feedback/feedback_report.cc DCHECK(reports_path.IsParent(file)); IsParent 56 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc DCHECK(root.IsParent(url.path()) || root == url.path()); IsParent 43 chrome/browser/media_galleries/fileapi/itunes_file_util.cc DCHECK(root.IsParent(url.path()) || root == url.path()); IsParent 58 chrome/browser/media_galleries/fileapi/picasa_file_util.cc DCHECK(root.IsParent(url.path()) || root == url.path()); IsParent 98 chrome/browser/media_galleries/media_folder_finder.cc return mount_point.IsParent(path); IsParent 232 chrome/browser/media_galleries/media_folder_finder.cc abspath.IsParent(graylisted_folders_[i])) { IsParent 385 chrome/browser/media_galleries/media_folder_finder.cc if (it->IsParent(path)) { IsParent 390 chrome/browser/media_galleries/media_folder_finder.cc if (path.IsParent(other_path)) IsParent 76 chrome/browser/media_galleries/media_folder_finder_unittest.cc ASSERT_TRUE(fake_dir().IsParent(parent_dir)); IsParent 98 chrome/browser/media_galleries/media_scan_manager.cc bool is_child = previous_parent.path.IsParent(current.path); IsParent 117 chrome/browser/media_galleries/media_scan_manager.cc if (it->first == path || path.IsParent(it->first)) { IsParent 242 chrome/browser/media_galleries/media_scan_manager.cc abs_parent_directory.IsParent(abs_sensitive_locations[i])) { IsParent 782 chrome/browser/net/chrome_network_delegate.cc if (downloads == path.StripTrailingSeparators() || downloads.IsParent(path)) IsParent 789 chrome/browser/net/chrome_network_delegate.cc if (external_storage_path.IsParent(path)) IsParent 803 chrome/browser/net/chrome_network_delegate.cc white_listed_path.IsParent(path)) { IsParent 46 chrome/browser/plugins/plugin_prefs.cc component_updated_pepper_flash_dir.IsParent(plugin)) { IsParent 406 chrome/browser/plugins/plugin_prefs.cc while (last_internal_dir.IsParent(plugin_path)) { IsParent 77 chrome/browser/sync_file_system/local/local_file_sync_status.cc if (upper != writing_.end() && url.IsParent(upper->first)) IsParent 80 chrome/browser/sync_file_system/local/local_file_sync_status.cc (rupper->first == url || rupper->first.IsParent(url))) IsParent 90 chrome/browser/sync_file_system/local/local_file_sync_status.cc if (upper != syncing_.end() && url.IsParent(*upper)) IsParent 93 chrome/browser/sync_file_system/local/local_file_sync_status.cc (*rupper == url || rupper->IsParent(url))) IsParent 127 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc EXPECT_TRUE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 129 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc EXPECT_TRUE(CreateFileSystemURL(root2 + parent).IsParent( IsParent 133 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 135 chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root2 + parent).IsParent( IsParent 164 chrome/installer/setup/install_worker.cc if (temp_path.IsParent(archive_path)) { IsParent 601 chrome/installer/setup/install_worker.cc target_path.IsParent(base::FilePath(registered_server))) { IsParent 542 chrome/installer/setup/uninstall.cc if (target_path.IsParent(setup_exe)) IsParent 558 chrome/installer/setup/uninstall.cc installer_directory.IsParent(to_delete) || IsParent 559 chrome/installer/setup/uninstall.cc to_delete.IsParent(installer_directory))) { IsParent 1366 chrome/installer/setup/uninstall.cc if (!target_path.IsParent(base::MakeAbsoluteFilePath(setup_exe))) { IsParent 526 chrome/installer/util/installer_state.cc if (state != NULL && target_path_.IsParent(state->GetSetupPath())) { IsParent 93 chrome/test/mini_installer_test/installer_test_util.cc return parent.IsParent(*path); IsParent 216 cloud_print/common/win/install_utils.cc return program_files.IsParent(path); IsParent 108 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_TRUE(base_path().AppendASCII("000").AppendASCII(kPlugin1).IsParent( IsParent 72 content/browser/media/android/media_resource_getter_impl.cc if (data_storage_path.IsParent(platform_path)) IsParent 191 content/browser/storage_partition_impl_map.cc } else if (to_delete.IsParent(*to_keep)) { IsParent 238 content/browser/storage_partition_impl_map.cc CHECK(browser_context_root.IsParent(root) && browser_context_root != root); IsParent 245 content/browser/storage_partition_impl_map.cc if (root.IsParent(*it) && base::PathExists(*it)) IsParent 384 extensions/browser/extension_prefs.cc if (!parent.IsParent(child)) IsParent 93 extensions/common/extension_resource.cc clean_extension_root.IsParent(full_path))) { IsParent 55 extensions/common/file_util.cc if (path.empty() || !root.IsParent(path)) IsParent 709 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (same_file_system_ && src_root_.path().IsParent(dest_root_.path())) { IsParent 81 webkit/browser/fileapi/dragged_file_util.cc if (base::IsLink(url.path()) && !base::FilePath().IsParent(url.path())) { IsParent 331 webkit/browser/fileapi/external_mount_points.cc potential_parent->first.IsParent(path)) { IsParent 341 webkit/browser/fileapi/external_mount_points.cc !path.IsParent(potential_child->first); IsParent 115 webkit/browser/fileapi/file_system_url.cc path().IsParent(child.path()); IsParent 124 webkit/browser/fileapi/file_system_url.h bool IsParent(const FileSystemURL& child) const; IsParent 126 webkit/browser/fileapi/file_system_url_unittest.cc TEST(FileSystemURLTest, IsParent) { IsParent 139 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_TRUE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 141 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_TRUE(CreateFileSystemURL(root2 + parent).IsParent( IsParent 145 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 147 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 149 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root1 + child).IsParent( IsParent 153 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 157 webkit/browser/fileapi/file_system_url_unittest.cc EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( IsParent 396 webkit/browser/fileapi/sandbox_directory_database.cc if (data_path == kExcludes[i] || kExcludes[i].IsParent(data_path))