/external/chromium_org/net/dns/ |
D | dns_config_service_win_unittest.cc | 62 const AdapterInfo* infos) { in CreateAdapterAddresses() argument 65 for (size_t i = 0; infos[i].if_type; ++i) { in CreateAdapterAddresses() 67 for (size_t j = 0; !infos[i].dns_server_addresses[j].empty(); ++j) { in CreateAdapterAddresses() 87 const AdapterInfo& info = infos[i]; in CreateAdapterAddresses() 206 AdapterInfo infos[2] = { in TEST() local 217 CreateAdapterAddresses(infos), in TEST() 227 CreateAdapterAddresses(infos), in TEST() 237 CreateAdapterAddresses(infos), in TEST() 247 CreateAdapterAddresses(infos), in TEST() 257 CreateAdapterAddresses(infos), in TEST() [all …]
|
/external/chromium_org/gpu/command_buffer/client/ |
D | query_tracker_unittest.cc | 55 QuerySyncManager::QueryInfo infos[4]; in TEST_F() local 56 memset(&infos, 0xBD, sizeof(infos)); in TEST_F() 58 for (size_t ii = 0; ii < arraysize(infos); ++ii) { in TEST_F() 59 EXPECT_TRUE(sync_manager_->Alloc(&infos[ii])); in TEST_F() 60 EXPECT_NE(0, infos[ii].shm_id); in TEST_F() 61 ASSERT_TRUE(infos[ii].sync != NULL); in TEST_F() 62 EXPECT_EQ(0, infos[ii].sync->process_count); in TEST_F() 63 EXPECT_EQ(0u, infos[ii].sync->result); in TEST_F() 66 for (size_t ii = 0; ii < arraysize(infos); ++ii) { in TEST_F() 67 sync_manager_->Free(infos[ii]); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/resources/ |
D | gcm_internals.js | 124 function setGcmInternalsInfo(infos) { argument 125 isRecording = infos.isRecording; 131 if (infos.deviceInfo !== undefined) { 132 displayDeviceInfo(infos.deviceInfo); 135 refreshLogTable('checkin-info', infos.checkinInfo); 136 refreshLogTable('connection-info', infos.connectionInfo); 137 refreshLogTable('registration-info', infos.registrationInfo); 138 refreshLogTable('receive-info', infos.receiveInfo); 139 refreshLogTable('send-info', infos.sendInfo);
|
/external/chromium_org/extensions/browser/api/system_cpu/ |
D | cpu_info_provider_linux.cc | 22 std::vector<linked_ptr<core_api::system_cpu::ProcessorInfo> >* infos) { in QueryCpuTimePerProcessor() 23 DCHECK(infos); in QueryCpuTimePerProcessor() 60 if (vals != 5 || pindex >= infos->size()) { in QueryCpuTimePerProcessor() 65 infos->at(pindex)->usage.kernel = static_cast<double>(sys); in QueryCpuTimePerProcessor() 66 infos->at(pindex)->usage.user = static_cast<double>(user + nice); in QueryCpuTimePerProcessor() 67 infos->at(pindex)->usage.idle = static_cast<double>(idle); in QueryCpuTimePerProcessor() 68 infos->at(pindex)->usage.total = in QueryCpuTimePerProcessor()
|
D | cpu_info_provider_mac.cc | 15 std::vector<linked_ptr<core_api::system_cpu::ProcessorInfo> >* infos) { in QueryCpuTimePerProcessor() 16 DCHECK(infos); in QueryCpuTimePerProcessor() 30 DCHECK_EQ(num_of_processors, static_cast<natural_t>(infos->size())); in QueryCpuTimePerProcessor() 39 infos->at(i)->usage.kernel = sys; in QueryCpuTimePerProcessor() 40 infos->at(i)->usage.user = user + nice; in QueryCpuTimePerProcessor() 41 infos->at(i)->usage.idle = idle; in QueryCpuTimePerProcessor() 42 infos->at(i)->usage.total = sys + user + nice + idle; in QueryCpuTimePerProcessor()
|
D | cpu_info_provider_win.cc | 28 std::vector<linked_ptr<core_api::system_cpu::ProcessorInfo> >* infos) { in QueryCpuTimePerProcessor() 29 DCHECK(infos); in QueryCpuTimePerProcessor() 59 DCHECK_EQ(num_of_processors, static_cast<int>(infos->size())); in QueryCpuTimePerProcessor() 67 infos->at(i)->usage.kernel = kernel - idle; in QueryCpuTimePerProcessor() 68 infos->at(i)->usage.user = user; in QueryCpuTimePerProcessor() 69 infos->at(i)->usage.idle = idle; in QueryCpuTimePerProcessor() 70 infos->at(i)->usage.total = kernel + user; in QueryCpuTimePerProcessor()
|
/external/chromium_org/content/browser/dom_storage/ |
D | dom_storage_context_impl_unittest.cc | 63 std::vector<LocalStorageUsageInfo> infos; in VerifySingleOriginRemains() local 64 context->GetLocalStorageUsage(&infos, kDontIncludeFileInfo); in VerifySingleOriginRemains() 65 ASSERT_EQ(1u, infos.size()); in VerifySingleOriginRemains() 66 EXPECT_EQ(origin, infos[0].origin); in VerifySingleOriginRemains() 90 std::vector<LocalStorageUsageInfo> infos; in TEST_F() local 91 context_->GetLocalStorageUsage(&infos, kDontIncludeFileInfo); in TEST_F() 92 EXPECT_TRUE(infos.empty()); in TEST_F() 98 std::vector<LocalStorageUsageInfo> infos; in TEST_F() local 99 context_->GetLocalStorageUsage(&infos, kDontIncludeFileInfo); in TEST_F() 100 EXPECT_TRUE(infos.empty()); in TEST_F() [all …]
|
D | dom_storage_context_wrapper.cc | 27 const std::vector<LocalStorageUsageInfo>* infos) { in InvokeLocalStorageUsageCallbackHelper() argument 28 callback.Run(*infos); in InvokeLocalStorageUsageCallbackHelper() 35 std::vector<LocalStorageUsageInfo>* infos = in GetLocalStorageUsageHelper() local 37 context->GetLocalStorageUsage(infos, true); in GetLocalStorageUsageHelper() 41 callback, base::Owned(infos))); in GetLocalStorageUsageHelper() 46 const std::vector<SessionStorageUsageInfo>* infos) { in InvokeSessionStorageUsageCallbackHelper() argument 47 callback.Run(*infos); in InvokeSessionStorageUsageCallbackHelper() 54 std::vector<SessionStorageUsageInfo>* infos = in GetSessionStorageUsageHelper() local 56 context->GetSessionStorageUsage(infos); in GetSessionStorageUsageHelper() 60 callback, base::Owned(infos))); in GetSessionStorageUsageHelper()
|
D | dom_storage_context_impl.cc | 88 std::vector<LocalStorageUsageInfo>* infos, in GetLocalStorageUsage() argument 104 infos->push_back(info); in GetLocalStorageUsage() 110 std::vector<SessionStorageUsageInfo>* infos) { in GetSessionStorageUsage() argument 124 infos->push_back(info); in GetSessionStorageUsage() 345 std::vector<LocalStorageUsageInfo> infos; in ClearSessionOnlyOrigins() local 347 GetLocalStorageUsage(&infos, kDontIncludeFileInfo); in ClearSessionOnlyOrigins() 348 for (size_t i = 0; i < infos.size(); ++i) { in ClearSessionOnlyOrigins() 349 const GURL& origin = infos[i].origin; in ClearSessionOnlyOrigins() 361 std::vector<SessionStorageUsageInfo> infos; in ClearSessionOnlyOrigins() local 362 GetSessionStorageUsage(&infos); in ClearSessionOnlyOrigins() [all …]
|
/external/chromium_org/components/signin/core/browser/ |
D | account_tracker_service_unittest.cc | 371 std::vector<AccountTrackerService::AccountInfo> infos = in TEST_F() local 374 EXPECT_EQ(3u, infos.size()); in TEST_F() 375 EXPECT_EQ("alpha", infos[0].account_id); in TEST_F() 376 EXPECT_EQ(AccountIdToGaiaId("alpha"), infos[0].gaia); in TEST_F() 377 EXPECT_EQ(AccountIdToEmail("alpha"), infos[0].email); in TEST_F() 378 EXPECT_EQ("beta", infos[1].account_id); in TEST_F() 379 EXPECT_EQ(AccountIdToGaiaId("beta"), infos[1].gaia); in TEST_F() 380 EXPECT_EQ(AccountIdToEmail("beta"), infos[1].email); in TEST_F() 381 EXPECT_EQ("gamma", infos[2].account_id); in TEST_F() 382 EXPECT_EQ(AccountIdToGaiaId("gamma"), infos[2].gaia); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/download/ |
D | download_history_unittest.cc | 125 void ExpectWillQueryDownloads(scoped_ptr<InfoVector> infos) { in ExpectWillQueryDownloads() argument 127 expect_query_downloads_ = infos.Pass(); in ExpectWillQueryDownloads() 228 void CreateDownloadHistory(scoped_ptr<InfoVector> infos) { in CreateDownloadHistory() argument 230 CHECK(infos.get()); in CreateDownloadHistory() 235 for (size_t index = 0; index < infos->size(); ++index) { in CreateDownloadHistory() 237 infos->at(index).id, in CreateDownloadHistory() 238 infos->at(index).current_path, in CreateDownloadHistory() 239 infos->at(index).target_path, in CreateDownloadHistory() 240 infos->at(index).url_chain, in CreateDownloadHistory() 241 infos->at(index).referrer_url, in CreateDownloadHistory() [all …]
|
/external/openfst/src/include/fst/extensions/far/ |
D | info.h | 60 vector<KeyInfo> *infos = list_fsts ? new vector<KeyInfo>() : 0; in FarInfo() local 70 if (infos) { in FarInfo() 75 infos->push_back(info); in FarInfo() 81 if (!infos) { in FarInfo() 100 for (size_t i = 0; i < infos->size(); ++i) { in FarInfo() 101 const KeyInfo &info = (*infos)[i]; in FarInfo() 116 for (size_t i = 0; i < infos->size(); ++i) { in FarInfo() 117 const KeyInfo &info = (*infos)[i]; in FarInfo()
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | ErrorQueue.java | 38 List infos = new LinkedList(); field in ErrorQueue 43 infos.add(msg); in info() 59 return infos.size() + errors.size() + warnings.size(); in size() 63 return "infos: "+infos+ in toString()
|
/external/chromium_org/v8/src/ |
D | type-info.cc | 393 ZoneList<RelocInfo> infos(16, zone()); in BuildDictionary() local 395 GetRelocInfos(code, &infos); in BuildDictionary() 396 CreateDictionary(code, &infos); in BuildDictionary() 397 ProcessRelocInfos(&infos); in BuildDictionary() 404 ZoneList<RelocInfo>* infos) { in GetRelocInfos() argument 407 infos->Add(*it.rinfo(), zone()); in GetRelocInfos() 413 ZoneList<RelocInfo>* infos) { in CreateDictionary() argument 416 dictionary_ = UnseededNumberDictionary::New(isolate(), infos->length()); in CreateDictionary() 417 RelocateRelocInfos(infos, old_code, *code); in CreateDictionary() 421 void TypeFeedbackOracle::RelocateRelocInfos(ZoneList<RelocInfo>* infos, in RelocateRelocInfos() argument [all …]
|
D | type-info.h | 103 void GetRelocInfos(Handle<Code> code, ZoneList<RelocInfo>* infos); 104 void CreateDictionary(Handle<Code> code, ZoneList<RelocInfo>* infos); 105 void RelocateRelocInfos(ZoneList<RelocInfo>* infos, 108 void ProcessRelocInfos(ZoneList<RelocInfo>* infos);
|
/external/chromium_org/net/base/ |
D | net_util_posix.cc | 55 std::vector<NetworkInterfaceInfo>* infos) { in RemovePermanentIPv6AddressesWhereTemporaryExists() argument 56 if (!infos || infos->empty()) in RemovePermanentIPv6AddressesWhereTemporaryExists() 62 for (i = infos->begin(); i != infos->end(); ++i) { in RemovePermanentIPv6AddressesWhereTemporaryExists() 73 for (i = infos->begin(); i != infos->end(); ) { in RemovePermanentIPv6AddressesWhereTemporaryExists() 79 i = infos->erase(i); in RemovePermanentIPv6AddressesWhereTemporaryExists()
|
/external/lldb/test/unittest2/ |
D | runner.py | 181 infos = [] 186 infos.append("failures=%d" % failed) 188 infos.append("errors=%d" % errored) 192 infos.append("skipped=%d" % skipped) 194 infos.append("expected failures=%d" % expectedFails) 196 infos.append("unexpected successes=%d" % unexpectedSuccesses) 197 if infos: 198 self.stream.writeln(" (%s)" % (", ".join(infos),))
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
D | nacl-mono-buildbot.py | 110 def update_mono_sdk_json(infos): argument 112 if len(infos) == 0: 119 for info in infos: 182 infos = get_sdk_build_info() 183 for info in infos: 188 update_mono_sdk_json(infos)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ConnectivityManagerTest.java | 97 NetworkInfo[] infos = connectivityManager.getAllNetworkInfo(); in shouldGetAllNetworkInfo() local 98 assertNotNull(infos); in shouldGetAllNetworkInfo() 99 assertEquals(1, infos.length); in shouldGetAllNetworkInfo() 100 assertSame(connectivityManager.getActiveNetworkInfo(), infos[0]); in shouldGetAllNetworkInfo() local
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | SPenSupport.java | 39 final FeatureInfo[] infos = context.getPackageManager().getSystemAvailableFeatures(); in detectSPenSupport() local 40 for (FeatureInfo info : infos) { in detectSPenSupport()
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | browsing_data_local_storage_helper.cc | 55 const std::vector<content::LocalStorageUsageInfo>& infos) { in GetUsageInfoCallback() argument 58 for (size_t i = 0; i < infos.size(); ++i) { in GetUsageInfoCallback() 60 const content::LocalStorageUsageInfo& info = infos[i]; in GetUsageInfoCallback()
|
/external/chromium_org/third_party/webrtc/base/ |
D | systeminfo.cc | 60 scoped_ptr<SYSTEM_LOGICAL_PROCESSOR_INFORMATION[]> infos; in GetProcessorInformation() local 61 while (!glpi(infos.get(), &return_length)) { in GetProcessorInformation() 63 infos.reset(new SYSTEM_LOGICAL_PROCESSOR_INFORMATION[ in GetProcessorInformation() 73 if (infos[i].Relationship == RelationProcessorCore) { in GetProcessorInformation() 75 } else if (infos[i].Relationship == RelationCache) { in GetProcessorInformation() 76 int next_cache_size = static_cast<int>(infos[i].Cache.Size); in GetProcessorInformation()
|
/external/chromium_org/content/browser/service_worker/ |
D | service_worker_context_core.cc | 293 std::vector<ServiceWorkerRegistrationInfo> infos; in GetAllLiveRegistrationInfo() local 298 infos.push_back(iter->second->GetInfo()); in GetAllLiveRegistrationInfo() 300 return infos; in GetAllLiveRegistrationInfo() 305 std::vector<ServiceWorkerVersionInfo> infos; in GetAllLiveVersionInfo() local 310 infos.push_back(iter->second->GetInfo()); in GetAllLiveVersionInfo() 312 return infos; in GetAllLiveVersionInfo()
|
/external/chromium_org/content/browser/ |
D | storage_partition_impl.cc | 116 const std::vector<LocalStorageUsageInfo>& infos) { in OnLocalStorageUsageInfo() argument 119 for (size_t i = 0; i < infos.size(); ++i) { in OnLocalStorageUsageInfo() 121 !origin_matcher.Run(infos[i].origin, special_storage_policy.get())) { in OnLocalStorageUsageInfo() 125 if (infos[i].last_modified >= delete_begin && in OnLocalStorageUsageInfo() 126 infos[i].last_modified <= delete_end) { in OnLocalStorageUsageInfo() 127 dom_storage_context->DeleteLocalStorage(infos[i].origin); in OnLocalStorageUsageInfo() 138 const std::vector<SessionStorageUsageInfo>& infos) { in OnSessionStorageUsageInfo() argument 141 for (size_t i = 0; i < infos.size(); ++i) { in OnSessionStorageUsageInfo() 143 !origin_matcher.Run(infos[i].origin, special_storage_policy.get())) { in OnSessionStorageUsageInfo() 146 dom_storage_context->DeleteSessionStorage(infos[i]); in OnSessionStorageUsageInfo()
|
D | database_tracker_unittest.cc | 725 std::vector<OriginInfo> infos; in EmptyDatabaseNameIsValid() local 726 EXPECT_TRUE(tracker->GetAllOriginsInfo(&infos)); in EmptyDatabaseNameIsValid() 727 EXPECT_TRUE(infos.empty()); in EmptyDatabaseNameIsValid() 735 EXPECT_TRUE(tracker->GetAllOriginsInfo(&infos)); in EmptyDatabaseNameIsValid() 736 EXPECT_EQ(1u, infos.size()); in EmptyDatabaseNameIsValid() 737 EXPECT_EQ(kDescription, infos[0].GetDatabaseDescription(kEmptyName)); in EmptyDatabaseNameIsValid() 741 infos.clear(); in EmptyDatabaseNameIsValid() 742 EXPECT_TRUE(tracker->GetAllOriginsInfo(&infos)); in EmptyDatabaseNameIsValid() 743 EXPECT_EQ(1u, infos.size()); in EmptyDatabaseNameIsValid() 744 EXPECT_EQ(kChangedDescription, infos[0].GetDatabaseDescription(kEmptyName)); in EmptyDatabaseNameIsValid() [all …]
|