/external/chromium_org/base/files/ |
H A D | file_path.cc | 122 // extension components of '.tar.gz' and '.tar.Z' respectively. 221 void FilePath::GetComponents(std::vector<StringType>* components) const { 222 DCHECK(components); 223 if (!components) 225 components->clear(); 233 // Capture path components. 253 *components = std::vector<StringType>(ret_val.rbegin(), ret_val.rend()); 562 std::vector<StringType> components; local 563 GetComponents(&components); 565 std::vector<StringType>::const_iterator it = components [all...] |
H A D | file_path_watcher_kqueue.cc | 41 std::vector<FilePath::StringType> components; local 42 path.GetComponents(&components); 44 if (components.size() < 1) { 51 for (std::vector<FilePath::StringType>::iterator i = components.begin(); 52 i != components.end(); ++i) { 53 if (i == components.begin()) { 67 FilePath::StringType subdir = (i != (components.end() - 1)) ? *(i + 1) : ""; 192 // Then check to see if new components in the path have been created. 193 // Repeat until no new components in the path are detected.
|
/external/chromium_org/base/ |
H A D | version.h | 60 const std::vector<uint16>& components() const { return components_; } function in class:base::Version
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
H A D | create_directory_operation.cc | 27 std::vector<base::FilePath::StringType> components; local 28 relative_file_path.GetComponents(&components); 29 DCHECK(!components.empty()); 30 base::FilePath title(components[0]); 74 std::vector<base::FilePath::StringType> components; local 75 directory_path.GetComponents(&components); 77 if (components.empty() || components[0] != util::kDriveGrandRootDirName) 80 base::FilePath existing_deepest_path(components[0]); 82 for (size_t i = 1; i < components [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | file_system_util.cc | 39 #include "components/user_manager/user_manager.h" 177 std::vector<base::FilePath::StringType> components; local 178 path.GetComponents(&components); 179 if (components.size() < 3) 181 if (components[0] != FILE_PATH_LITERAL("/")) 183 if (components[1] != FILE_PATH_LITERAL("special")) 185 if (!StartsWithASCII(components[2], "drive", true)) 189 for (size_t i = 3; i < components.size(); ++i) 190 drive_path = drive_path.Append(components[i]);
|
H A D | resource_metadata.cc | 475 std::vector<base::FilePath::StringType> components; local 476 file_path.GetComponents(&components); 477 if (components.empty() || components[0] != util::kDriveGrandRootDirName) 480 // Iterate over the remaining components. 482 for (size_t i = 1; i < components.size(); ++i) { 483 const std::string component = base::FilePath(components[i]).AsUTF8Unsafe();
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
H A D | mount_path_util.cc | 17 #include "components/user_manager/user.h" 18 #include "components/user_manager/user_manager.h" 65 std::vector<base::FilePath::StringType> components; local 66 local_path.GetComponents(&components); 68 if (components.size() < 3) 71 if (components[0] != FILE_PATH_LITERAL("/")) 74 if (components[1] != kProvidedMountPointRoot + 1 /* no leading slash */) 117 std::vector<base::FilePath::StringType> components; local 118 url_.path().GetComponents(&components); 119 if (components [all...] |
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
H A D | file_system_backend.cc | 124 std::vector<std::string> components; local 125 url.virtual_path().GetComponents(&components); 126 DCHECK_EQ(id, components.at(0)); 127 if (components.size() < 2) { 134 std::string inner_mount_name = components[1];
|
/external/chromium_org/chrome/browser/component_updater/ |
H A D | pepper_flash_component_installer.cc | 32 #include "components/component_updater/component_updater_service.h" 169 std::vector<std::string> components; local 170 base::SplitString(file_name, '_', &components); 172 if (components.size() <= 1) 174 // Meld version components back into a string, now separated by periods, so 176 std::string version_string(components[1]); 177 for (size_t i = 2; i < components.size(); ++i) { 178 version_string += "." + components[i]; 218 const std::vector<uint16_t> ver_nums = flash_version.components();
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
H A D | push_messaging_invalidation_handler.cc | 13 #include "components/crx_file/id_util.h" 14 #include "components/invalidation/invalidation_service.h" 15 #include "components/invalidation/object_id_invalidation_map.h" 54 std::vector<std::string> components; local 55 base::SplitStringDontTrim(name, '/', &components); 56 if (components.size() < 3) { 60 if (components[0] != "U") { 64 if (!crx_file::id_util::IdIsValid(components[1])) { 68 *extension_id = components[1]; 69 if (!base::StringToInt(components[ [all...] |
/external/chromium_org/chrome/browser/extensions/api/storage/ |
H A D | managed_value_store_cache.cc | 21 #include "components/policy/core/common/policy_namespace.h" 22 #include "components/policy/core/common/schema.h" 23 #include "components/policy/core/common/schema_map.h" 24 #include "components/policy/core/common/schema_registry.h" 98 void Register(const policy::ComponentMap* components); 193 scoped_ptr<policy::ComponentMap> components(new policy::ComponentMap); 201 (*components)[(*it)->id()] = policy::Schema(); 213 (*components)[(*it)->id()] = schema; 218 base::Owned(components.release()))); 222 const policy::ComponentMap* components) { 221 Register( const policy::ComponentMap* components) argument [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_creator_filter.cc | 25 // The file path that contains one of following special components should be 37 std::vector<base::FilePath::StringType> components; local 38 file_path.GetComponents(&components); 39 for (size_t i = 0; i < components.size(); i++) { 40 if (names_to_exclude_set.count(components[i]))
|
H A D | path_util.cc | 60 // Break down the incoming path into components, and grab the display name 65 std::vector<base::FilePath::StringType> components; local 66 source_path.GetComponents(&components); 67 display_path = base::FilePath(components[0]); 70 components.begin() + 1; i != components.end(); ++i) {
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | iphoto_file_util.cc | 196 std::vector<std::string> components = GetVirtualPathComponents(url); local 198 if (components.size() == 0) { 203 if (components[0] == kIPhotoAlbumsDir) { 204 if (components.size() == 1) { 206 } else if (components.size() == 2) { 209 if (ContainsElement(albums, components[1])) 211 } else if (components.size() == 3) { 212 if (components[2] == kIPhotoOriginalsDir) { 213 if (GetDataProvider()->HasOriginals(components[1])) 220 components[ 245 std::vector<std::string> components = GetVirtualPathComponents(url); local 327 std::vector<std::string> components = GetVirtualPathComponents(url); local [all...] |
H A D | itunes_file_util.cc | 131 std::vector<std::string> components = GetVirtualPathComponents(url); local 133 if (components.size() == 0) 136 if (components.size() == 1 && components[0] == kITunesLibraryXML) { 146 if (components[0] != kITunesMediaDir) 149 if (components[1] == kITunesAutoAddDir) { 156 if (components[1] == kITunesMusicDir) { 157 switch (components.size()) { 162 if (GetDataProvider()->KnownArtist(components[2])) 167 if (GetDataProvider()->KnownAlbum(components[ 192 std::vector<std::string> components = GetVirtualPathComponents(url); local 302 std::vector<std::string> components = GetVirtualPathComponents(url); local 322 std::vector<std::string> components = GetVirtualPathComponents(url); local [all...] |
H A D | picasa_file_util.cc | 69 std::vector<std::string> components = GetVirtualPathComponents(url); local 70 if (components.size() >= 2 && components[0] == kPicasaDirAlbums) 137 std::vector<std::string> components = GetVirtualPathComponents(url); local 139 switch (components.size()) { 145 if (components[0] == kPicasaDirAlbums || 146 components[0] == kPicasaDirFolders) { 153 if (components[0] == kPicasaDirAlbums) { 156 FindAlbumInfo(components[1], album_map.get(), NULL); 164 if (components[ 310 std::vector<std::string> components = GetVirtualPathComponents(url); local [all...] |
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_downloader.cc | 22 #include "components/signin/core/browser/profile_oauth2_token_service.h" 23 #include "components/signin/core/browser/signin_manager.h" 65 // Separator of URL path components. 74 // The minimum number of path components in profile picture URL. 92 std::vector<std::string> components; local 93 base::SplitString(old_url.path(), kURLPathSeparator, &components); 94 if (components.size() == 0)
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | path_sanitizer_unittest.cc | 21 std::vector<base::FilePath::StringType> components; local 22 dir_temp.GetComponents(&components); 24 return base::FilePath(components[0]).AsEndingWithSeparator();
|
/external/chromium_org/chrome/browser/ |
H A D | shell_integration_win.cc | 397 std::vector<base::string16> components; local 398 components.push_back(app_name); 401 components.push_back(profile_id); 402 return ShellUtil::BuildAppModelId(components);
|
/external/chromium_org/chrome/browser/sync/ |
H A D | profile_sync_service_autofill_unittest.cc | 43 #include "components/autofill/core/browser/autofill_test_utils.h" 44 #include "components/autofill/core/browser/personal_data_manager.h" 45 #include "components/autofill/core/browser/webdata/autofill_change.h" 46 #include "components/autofill/core/browser/webdata/autofill_entry.h" 47 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_service.h" 48 #include "components/autofill/core/browser/webdata/autofill_table.h" 49 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 50 #include "components/signin/core/browser/signin_manager.h" 51 #include "components/sync_driver/data_type_controller.h" 52 #include "components/webdat 550 ProfileSyncComponentsFactoryMock* components = local [all...] |
H A D | profile_sync_service_typed_url_unittest.cc | 47 #include "components/history/core/browser/history_types.h" 48 #include "components/invalidation/invalidation_service.h" 49 #include "components/invalidation/profile_invalidation_provider.h" 50 #include "components/keyed_service/content/refcounted_browser_context_keyed_service.h" 51 #include "components/signin/core/browser/signin_manager.h" 52 #include "components/sync_driver/data_type_error_handler_mock.h" 264 ProfileSyncComponentsFactoryMock* components = local 267 new TypedUrlDataTypeController(components, profile_, sync_service_); 269 EXPECT_CALL(*components, CreateTypedUrlSyncComponents(_, _, _)). 276 EXPECT_CALL(*components, CreateDataTypeManage [all...] |
H A D | test_profile_sync_service.cc | 19 #include "components/invalidation/profile_invalidation_provider.h" 20 #include "components/signin/core/browser/signin_manager.h" 148 ProfileSyncComponentsFactoryMock* components = local 151 EXPECT_CALL(*components,
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
H A D | metadata_database.cc | 65 const std::vector<base::FilePath>& components) { 66 if (components.empty()) 71 for (PathComponents::const_iterator itr = components.begin(); 72 itr != components.end(); ++itr) 77 for (PathComponents::const_reverse_iterator itr = components.rbegin(); 78 itr != components.rend(); ++itr) { 798 std::vector<base::FilePath> components; 803 components.push_back(base::FilePath::FromUTF8Unsafe(title)); 810 *path = ReverseConcatPathComponents(components); 846 std::vector<base::FilePath::StringType> components; local 64 ReverseConcatPathComponents( const std::vector<base::FilePath>& components) argument [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | country_combobox_model_unittest.cc | 10 #include "components/autofill/core/browser/autofill_country.h" 11 #include "components/autofill/core/browser/test_personal_data_manager.h" 55 std::vector< ::i18n::addressinput::AddressUiComponent> components = local 58 EXPECT_FALSE(components.empty());
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | gtk2_ui.cc | 256 // all color components) should be interpreted as this color being gray and 781 int components[3] = { 0 }; local 789 components[c] += data[3 * (kWidth / 3 + y * kWidth) + c]; 803 color->red = components[0] * 65535 / (255 * (kHeight - 4)); 804 color->green = components[1] * 65535 / (255 * (kHeight - 4)); 805 color->blue = components[2] * 65535 / (255 * (kHeight - 4));
|