/external/chromium_org/ash/display/ |
resolution_notification_controller_unittest.cc | 67 const DisplayInfo& info = display_manager->GetDisplayInfo(display.id()); local 70 info.size_in_pixel(), 80 DisplayInfo info = display_manager->GetDisplayInfo(id); local 82 gfx::Rect bounds = info.bounds_in_native(); 84 info.SetBounds(bounds); 86 info_list.push_back(info);
|
root_window_transformers.cc | 54 DisplayInfo info = local 63 if (info.rotation() == root_window->GetProperty(kRotationPropertyKey)) 65 root_window->SetProperty(kRotationPropertyKey, info.rotation()); 72 switch (info.rotation()) { 131 DisplayInfo info = Shell::GetInstance()->display_manager()-> local 133 host_insets_ = info.GetOverscanInsetsInPixel(); 134 root_window_ui_scale_ = info.GetEffectiveUIScale(); 191 // for more info.
|
/external/chromium_org/base/ |
file_util.cc | 191 File::Info info; local 192 if (!GetFileInfo(file_path, &info)) 194 *file_size = info.size;
|
platform_file_unittest.cc | 363 // Get info for a newly created file. 364 PlatformFileInfo info; local 365 EXPECT_TRUE(GetPlatformFileInfo(file, &info)); 370 EXPECT_EQ(0, info.size); 371 EXPECT_FALSE(info.is_directory); 372 EXPECT_FALSE(info.is_symbolic_link); 373 EXPECT_LE(info.last_accessed.ToInternalValue(), now.ToInternalValue()); 374 EXPECT_LE(info.last_modified.ToInternalValue(), now.ToInternalValue()); 375 EXPECT_LE(info.creation_time.ToInternalValue(), now.ToInternalValue()); 376 Time creation_time = info.creation_time [all...] |
/external/chromium_org/base/files/ |
file_proxy_unittest.cc | 50 const File::Info& file_info) { 93 File::Info file_info_; 224 File::Info expected_info; 305 File::Info info; local 306 GetFileInfo(test_path(), &info); local 311 static_cast<int>(info.last_modified.ToDoubleT())); 313 static_cast<int>(info.last_accessed.ToDoubleT())); 320 File::Info info; local 321 GetFileInfo(test_path(), &info); local 332 GetFileInfo(test_path(), &info); local 346 File::Info info; local 347 GetFileInfo(test_path(), &info); local 358 GetFileInfo(test_path(), &info); local [all...] |
file_unittest.cc | 326 // Get info for a newly created file. 327 base::File::Info info; local 328 EXPECT_TRUE(file.GetInfo(&info)); 333 EXPECT_EQ(0, info.size); 334 EXPECT_FALSE(info.is_directory); 335 EXPECT_FALSE(info.is_symbolic_link); 336 EXPECT_LE(info.last_accessed.ToInternalValue(), now.ToInternalValue()); 337 EXPECT_LE(info.last_modified.ToInternalValue(), now.ToInternalValue()); 338 EXPECT_LE(info.creation_time.ToInternalValue(), now.ToInternalValue()) 445 base::File::Info info; local [all...] |
/external/chromium_org/base/memory/ |
discardable_memory_manager.cc | 95 const AllocationInfo& info = it->second; local 97 if (info.purgable) { 98 size_t bytes_purgable = info.bytes; 113 AllocationInfo* info = &it->second; local 115 if (!info->bytes) 119 size_t bytes_required = info->purgable ? 0u : info->bytes; 135 info->purgable = false; 136 info->last_usage = now; 150 AllocationInfo* info = &it->second local 228 AllocationInfo* info = &it->second; local [all...] |
/external/chromium_org/base/process/ |
process_metrics_unittest.cc | 275 base::SystemMemoryInfoKB info; local 276 EXPECT_TRUE(base::GetSystemMemoryInfo(&info)); 279 EXPECT_GT(info.total, 0); 280 EXPECT_GT(info.free, 0); 281 EXPECT_GT(info.buffers, 0); 282 EXPECT_GT(info.cached, 0); 283 EXPECT_GT(info.active_anon, 0); 284 EXPECT_GT(info.inactive_anon, 0); 285 EXPECT_GT(info.active_file, 0); 286 EXPECT_GT(info.inactive_file, 0) [all...] |
/external/chromium_org/base/test/ |
test_file_util_win.cc | 84 PermissionInfo* info = reinterpret_cast<PermissionInfo*>(new char[*length]); local 85 info->security_descriptor = security_descriptor; 86 memcpy(&info->dacl, dacl, dacl->AclSize); 88 return info; 93 // |info| is the pointer to the blob. 95 // Either |info| or |length| may be NULL/0, in which case nothing happens. 96 bool RestorePermissionInfo(const FilePath& path, void* info, size_t length) { 97 if (!info || !length) 100 PermissionInfo* perm = reinterpret_cast<PermissionInfo*>(info); 107 char* char_array = reinterpret_cast<char*>(info); [all...] |
/external/chromium_org/base/threading/ |
platform_thread_win.cc | 33 THREADNAME_INFO info; local 34 info.dwType = 0x1000; 35 info.szName = name; 36 info.dwThreadID = thread_id; 37 info.dwFlags = 0; 40 RaiseException(kVCThreadNameException, 0, sizeof(info)/sizeof(DWORD), 41 reinterpret_cast<DWORD_PTR*>(&info)); 224 // Debug info for bug 127931.
|
/external/chromium_org/chrome/browser/autocomplete/ |
extension_app_provider.cc | 222 history::URLRow info; local 223 url_db->GetRowForURL(url, &info); 225 400 * (1.0 - (std::pow(static_cast<double>(2), -info.typed_count())));
|
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_file_system_helper_unittest.cc | 212 for (std::list<BrowsingDataFileSystemHelper::FileSystemInfo>::iterator info = 213 file_system_info_list_->begin(); info != file_system_info_list_->end(); 214 ++info) { 215 if (info->origin == kOrigin1) { 218 EXPECT_FALSE(ContainsKey(info->usage_map, kPersistent)); 219 EXPECT_TRUE(ContainsKey(info->usage_map, kTemporary)); 221 info->usage_map[fileapi::kFileSystemTypeTemporary]); 222 } else if (info->origin == kOrigin2) { 225 EXPECT_TRUE(ContainsKey(info->usage_map, kPersistent)); 226 EXPECT_FALSE(ContainsKey(info->usage_map, kTemporary)) 255 BrowsingDataFileSystemHelper::FileSystemInfo info = local 283 std::list<BrowsingDataFileSystemHelper::FileSystemInfo>::iterator info = local [all...] |
/external/chromium_org/chrome/browser/chromeos/display/ |
overscan_calibrator.cc | 73 ash::DisplayInfo info = local
|
/external/chromium_org/chrome/browser/extensions/ |
permissions_updater_unittest.cc | 69 UpdatedExtensionPermissionsInfo* info = variable 72 extension_ = info->extension; 73 permissions_ = info->permissions; 74 reason_ = info->reason;
|
/external/chromium_org/chrome/browser/history/ |
url_database_unittest.cc | 92 URLRow info; local 93 EXPECT_TRUE(GetRowForURL(url1, &info)); 94 EXPECT_TRUE(IsURLRowEqual(url_info1, info)); 95 URLID id2 = GetRowForURL(url2, &info); 97 EXPECT_TRUE(IsURLRowEqual(url_info2, info)); 132 URLID id1 = GetRowForURL(url1, &info); 134 EXPECT_TRUE(IsURLRowEqual(url_info1, info)); 135 URLID id3 = GetRowForURL(url3, &info); 137 EXPECT_TRUE(IsURLRowEqual(url_info3, info)); 140 EXPECT_EQ(0, GetRowForURL(GURL("http://news.google.com/"), &info)); [all...] |
/external/chromium_org/chrome/browser/local_discovery/storage/ |
privet_filesystem_operations.cc | 233 const base::File::Info* info = attribute_cache_->GetFileInfo(full_path_); local 234 if (info) { 235 TriggerCallbackAndDestroy(base::File::FILE_OK, *info); 264 const base::File::Info* info = attribute_cache_->GetFileInfo(full_path_); local 266 if (info) { 267 TriggerCallbackAndDestroy(base::File::FILE_OK, *info); 275 TriggerCallbackAndDestroy(base::File::FILE_ERROR_FAILED, base::File::Info()); 280 const base::File::Info& info) [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
iphoto_file_util.cc | 32 base::File::Error MakeDirectoryFileInfo(base::File::Info* file_info) { 33 base::File::Info result; 141 base::Bind(callback, base::File::FILE_ERROR_IO, base::File::Info())); 174 base::File::Info file_info; 194 base::File::Info* file_info, 283 base::File::Info info; local 284 if (!base::GetFileInfo(it->second, &info)) 287 info.size, info.last_modified)) 298 base::File::Info info; local [all...] |
picasa_file_util.cc | 130 base::File::Info* file_info, base::FilePath* platform_path) { 194 base::File::Info file_info; 260 base::File::Info info; local 262 // Simply skip files that we can't get info on. 263 if (fileapi::NativeFileUtil::GetFileInfo(it->second, &info) != 269 it->first, DirectoryEntry::FILE, info.size, info.last_modified)); 380 base::Bind(callback, base::File::FILE_ERROR_IO, base::File::Info()));
|
/external/chromium_org/chrome/browser/ |
memory_details_mac.cc | 149 ProcessMemoryInformation info; local 150 info.pid = *it; 151 info.process_type = content::PROCESS_TYPE_UNKNOWN; 159 if (process_info.GetProcInfo(info.pid, &proc_info)) { 170 info.product_name = version_info->product_name(); 171 info.version = version_info->product_version(); 173 info.product_name = process_data_[index].name; 174 info.version = base::string16(); 177 // Memory info. 178 process_info.GetCommittedKBytesOfPID(info.pid, &info.committed) 209 ProcessMemoryInformation info; local [all...] |
process_singleton_posix_unittest.cc | 419 base::File::Info info; local 420 EXPECT_TRUE(base::GetFileInfo(lock_path_, &info)); 421 EXPECT_FALSE(info.is_directory); 422 EXPECT_FALSE(info.is_symbolic_link);
|
/external/chromium_org/chrome/browser/net/ |
chrome_extensions_network_delegate.cc | 64 const ResourceRequestInfo* info = ResourceRequestInfo::ForRequest(request); local 65 if (!info) 69 if (info->GetAssociatedRenderFrame(&process_id, &render_frame_id)) {
|
/external/chromium_org/chrome/browser/password_manager/ |
password_store_win.cc | 53 // Holds info associated with in-flight GetIE7Login requests. 92 IE7PasswordInfo info; local 93 info.url_hash = 95 WebDataService::Handle handle = web_data_service_->GetIE7Login(info, this); 108 IE7PasswordInfo info = r->GetValue(); local 110 if (!info.encrypted_data.empty()) { 114 web_data_service_->RemoveIE7Login(info); 118 info.encrypted_data, 128 autofill->date_created = info.date_created;
|
/external/chromium_org/chrome/common/extensions/api/input_ime/ |
input_components_handler.cc | 38 InputComponents* info = static_cast<InputComponents*>( local 40 return info ? &info->input_components : NULL; 51 scoped_ptr<InputComponents> info(new InputComponents); 214 info->input_components.push_back(InputComponentInfo()); 215 info->input_components.back().name = name_str; 216 info->input_components.back().type = type; 217 info->input_components.back().id = id_str; 218 info->input_components.back().description = description_str; 219 info->input_components.back().languages = languages [all...] |
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
app_launch_info.cc | 55 AppLaunchInfo* info = static_cast<AppLaunchInfo*>( local 57 return info ? *info : g_empty_app_launch_info.Get(); 101 const AppLaunchInfo& info = GetAppLaunchInfo(extension); local 102 if (info.launch_local_path_.empty()) 103 return info.launch_web_url_; 105 return extension->url().Resolve(info.launch_local_path_); 296 scoped_ptr<AppLaunchInfo> info(new AppLaunchInfo); 297 if (!info->Parse(extension, error)) 299 extension->SetManifestData(keys::kLaunch, info.release()) [all...] |
/external/chromium_org/chrome/renderer/ |
chrome_content_renderer_client_unittest.cc | 70 void AddContentTypeHandler(content::WebPluginInfo* info, 78 info->mime_types.push_back(mime_type_info); 125 WebPluginInfo info; local 128 "application/x-foo", info)); 132 WebPluginInfo info; local 133 AddContentTypeHandler(&info, "application/x-foo", "www.foo.com"); 136 "application/x-foo", info));
|