candidate 103 ash/ime/candidate_window_view_unittest.cc const std::string& candidate, candidate 107 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(candidate, base::UTF16ToUTF8(row->candidate_label_->text())); candidate 328 base/process/process_metrics.h BASE_EXPORT bool IsValidDiskName(const std::string& candidate); candidate 734 base/process/process_metrics_linux.cc bool IsValidDiskName(const std::string& candidate) { candidate 735 base/process/process_metrics_linux.cc if (candidate.length() < 3) candidate 737 base/process/process_metrics_linux.cc if (candidate.substr(0,2) == "sd" || candidate.substr(0,2) == "hd") { candidate 739 base/process/process_metrics_linux.cc for (size_t i = 2; i < candidate.length(); i++) { candidate 740 base/process/process_metrics_linux.cc if (!islower(candidate[i])) candidate 744 base/process/process_metrics_linux.cc if (candidate.length() < 7) { candidate 747 base/process/process_metrics_linux.cc if (candidate.substr(0,6) == "mmcblk") { candidate 749 base/process/process_metrics_linux.cc for (size_t i = 6; i < candidate.length(); i++) { candidate 750 base/process/process_metrics_linux.cc if (!isdigit(candidate[i])) candidate 58 cc/output/overlay_strategy_single_on_top.cc OverlayCandidate candidate; candidate 59 cc/output/overlay_strategy_single_on_top.cc candidate.transform = overlay_transform; candidate 60 cc/output/overlay_strategy_single_on_top.cc candidate.display_rect = candidate 62 cc/output/overlay_strategy_single_on_top.cc candidate.uv_rect = BoundingRect(quad.uv_top_left, quad.uv_bottom_right); candidate 63 cc/output/overlay_strategy_single_on_top.cc candidate.format = RGBA_8888; candidate 64 cc/output/overlay_strategy_single_on_top.cc candidate.resource_id = quad.resource_id; candidate 65 cc/output/overlay_strategy_single_on_top.cc candidate.plane_z_order = 1; candidate 66 cc/output/overlay_strategy_single_on_top.cc candidates.push_back(candidate); candidate 45 cc/output/overlay_unittest.cc OverlayCandidate& candidate = surfaces->back(); candidate 46 cc/output/overlay_unittest.cc EXPECT_EQ(kOverlayRect.ToString(), candidate.display_rect.ToString()); candidate 48 cc/output/overlay_unittest.cc candidate.uv_rect.ToString()); candidate 49 cc/output/overlay_unittest.cc candidate.overlay_handled = true; candidate 268 chrome/browser/chromeos/drive/search_metadata.cc const ResultCandidate& candidate = *result_candidates.top(); candidate 272 chrome/browser/chromeos/drive/search_metadata.cc base::FilePath path = resource_metadata->GetFilePath(candidate.local_id); candidate 275 chrome/browser/chromeos/drive/search_metadata.cc bool is_directory = candidate.entry.file_info().is_directory(); candidate 277 chrome/browser/chromeos/drive/search_metadata.cc path, is_directory, candidate.highlighted_base_name)); candidate 213 chrome/browser/chromeos/input_method/input_method_manager_impl.cc const std::string& candidate = candidates[i]; candidate 216 chrome/browser/chromeos/input_method/input_method_manager_impl.cc if (!Contains(layouts, candidate) && IsLoginKeyboard(candidate)) candidate 217 chrome/browser/chromeos/input_method/input_method_manager_impl.cc layouts.push_back(candidate); candidate 756 chrome/browser/chromeos/login/login_utils.cc const std::string& candidate = candidates[i]; candidate 759 chrome/browser/chromeos/login/login_utils.cc candidate) == 0) { candidate 760 chrome/browser/chromeos/login/login_utils.cc language_codes.push_back(candidate); candidate 662 chrome/browser/extensions/api/input_ime/input_ime_api.cc candidates_out.back().value = candidates_in[i]->candidate; candidate 454 chrome/browser/internal_auth.cc int candidate = kVerificationWindowTicks; candidate 456 chrome/browser/internal_auth.cc candidate = verification_window_seconds_ * candidate 458 chrome/browser/internal_auth.cc return std::max(1, std::min(candidate, kVerificationWindowTicks)); candidate 665 chrome/browser/prerender/prerender_local_predictor.cc base::DictionaryValue* candidate; candidate 668 chrome/browser/prerender/prerender_local_predictor.cc candidate = new base::DictionaryValue(); candidate 669 chrome/browser/prerender/prerender_local_predictor.cc candidate->SetString("url", info->candidate_urls_[i].url.spec()); candidate 670 chrome/browser/prerender/prerender_local_predictor.cc candidates->Append(candidate); candidate 430 chrome/browser/profiles/profile_manager.cc Profile* candidate = iter->second->profile.get(); candidate 431 chrome/browser/profiles/profile_manager.cc if (candidate == profile || candidate 432 chrome/browser/profiles/profile_manager.cc (candidate->HasOffTheRecordProfile() && candidate 433 chrome/browser/profiles/profile_manager.cc candidate->GetOffTheRecordProfile() == profile)) { candidate 795 chrome/browser/sync/glue/favicon_cache.cc linked_ptr<SyncedFaviconInfo> candidate = *recent_favicons_.begin(); candidate 796 chrome/browser/sync/glue/favicon_cache.cc DVLOG(1) << "Expiring favicon " << candidate->favicon_url.spec(); candidate 797 chrome/browser/sync/glue/favicon_cache.cc DeleteSyncedFavicon(synced_favicons_.find(candidate->favicon_url), candidate 69 chrome/browser/sync_file_system/drive_backend/register_app_task.cc FileTracker candidate; candidate 70 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (!FilterCandidates(trackers, &candidate)) { candidate 75 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (candidate.active()) { candidate 76 chrome/browser/sync_file_system/drive_backend/register_app_task.cc DCHECK(candidate.tracker_kind() == TRACKER_KIND_APP_ROOT || candidate 77 chrome/browser/sync_file_system/drive_backend/register_app_task.cc candidate.tracker_kind() == TRACKER_KIND_DISABLED_APP_ROOT); candidate 82 chrome/browser/sync_file_system/drive_backend/register_app_task.cc RegisterAppIntoDatabase(candidate, callback); candidate 116 chrome/browser/sync_file_system/drive_backend/register_app_task.cc FileTracker* candidate) { candidate 117 chrome/browser/sync_file_system/drive_backend/register_app_task.cc DCHECK(candidate); candidate 120 chrome/browser/sync_file_system/drive_backend/register_app_task.cc trackers.active_tracker(), candidate)) { candidate 164 chrome/browser/sync_file_system/drive_backend/register_app_task.cc *candidate = *oldest_tracker; candidate 48 chrome/browser/sync_file_system/drive_backend/register_app_task.h FileTracker* candidate); candidate 68 chrome/browser/thumbnails/content_analysis_unittest.cc float AspectDifference(const gfx::Size& reference, const gfx::Size& candidate) { candidate 69 chrome/browser/thumbnails/content_analysis_unittest.cc return std::abs(static_cast<float>(candidate.width()) / candidate.height() - candidate 623 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc StateTransitionInfo candidate = NextTransitionInShortestPath( candidate 626 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc if (candidate.distance + 1 < result.distance) { candidate 629 chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc result.distance = candidate.distance + 1; candidate 97 chrome/common/extensions/extension_file_util.cc base::FilePath candidate = extension_dir.AppendASCII( candidate 99 chrome/common/extensions/extension_file_util.cc if (!base::PathExists(candidate)) { candidate 100 chrome/common/extensions/extension_file_util.cc version_dir = candidate; candidate 260 chrome/installer/util/language_selector.cc std::wstring candidate; candidate 263 chrome/installer/util/language_selector.cc candidate.assign(*scan); candidate 264 chrome/installer/util/language_selector.cc StringToLowerASCII(&candidate); candidate 265 chrome/installer/util/language_selector.cc if (select_predicate(candidate, matched_offset)) { candidate 43 chrome/renderer/extensions/chrome_v8_context_set.cc ChromeV8Context* candidate = *iter; candidate 44 chrome/renderer/extensions/chrome_v8_context_set.cc if (candidate != context) candidate 45 chrome/renderer/extensions/chrome_v8_context_set.cc DCHECK(candidate->v8_context() != context->v8_context()); candidate 630 components/password_manager/core/browser/password_form_manager.cc int PasswordFormManager::ScoreResult(const PasswordForm& candidate) const { candidate 645 components/password_manager/core/browser/password_form_manager.cc if (candidate.origin == observed_form_.origin) { candidate 655 components/password_manager/core/browser/password_form_manager.cc base::SplitString(candidate.origin.path(), '/', &candidate_path_tokens); candidate 668 components/password_manager/core/browser/password_form_manager.cc if (!candidate.IsPublicSuffixMatch()) candidate 670 components/password_manager/core/browser/password_form_manager.cc if (candidate.action == observed_form_.action) candidate 672 components/password_manager/core/browser/password_form_manager.cc if (candidate.password_element == observed_form_.password_element) candidate 674 components/password_manager/core/browser/password_form_manager.cc if (candidate.submit_element == observed_form_.submit_element) candidate 676 components/password_manager/core/browser/password_form_manager.cc if (candidate.username_element == observed_form_.username_element) candidate 294 content/child/npapi/webplugin_ime_win.cc CANDIDATEFORM* candidate) { candidate 297 content/child/npapi/webplugin_ime_win.cc return ::ImmSetCandidateWindow(context, candidate); candidate 299 content/child/npapi/webplugin_ime_win.cc gfx::Rect caret_rect(candidate->rcArea); candidate 300 content/child/npapi/webplugin_ime_win.cc if ((candidate->dwStyle & CFS_EXCLUDE) && candidate 136 content/child/npapi/webplugin_ime_win.h CANDIDATEFORM* candidate); candidate 370 content/renderer/media/mock_media_stream_dependency_factory.cc virtual bool AddCandidate(const IceCandidateInterface* candidate) OVERRIDE { candidate 414 content/renderer/media/mock_media_stream_dependency_factory.cc cricket::Candidate* candidate = NULL; candidate 415 content/renderer/media/mock_media_stream_dependency_factory.cc return *candidate; candidate 352 content/renderer/media/mock_peer_connection_impl.cc const IceCandidateInterface* candidate) { candidate 353 content/renderer/media/mock_peer_connection_impl.cc sdp_mid_ = candidate->sdp_mid(); candidate 354 content/renderer/media/mock_peer_connection_impl.cc sdp_mline_index_ = candidate->sdp_mline_index(); candidate 355 content/renderer/media/mock_peer_connection_impl.cc return candidate->ToString(&ice_sdp_); candidate 100 content/renderer/media/mock_peer_connection_impl.h const webrtc::IceCandidateInterface* candidate) OVERRIDE; candidate 33 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc const blink::WebRTCICECandidate& candidate) { candidate 34 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc if (!candidate.isNull()) { candidate 35 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc candidate_sdp_ = base::UTF16ToUTF8(candidate.candidate()); candidate 36 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc candidate_mline_index_ = candidate.sdpMLineIndex(); candidate 37 content/renderer/media/mock_web_rtc_peer_connection_handler_client.cc candidate_mid_ = base::UTF16ToUTF8(candidate.sdpMid()); candidate 28 content/renderer/media/mock_web_rtc_peer_connection_handler_client.h void(const blink::WebRTCICECandidate& candidate)); candidate 40 content/renderer/media/mock_web_rtc_peer_connection_handler_client.h const blink::WebRTCICECandidate& candidate); candidate 338 content/renderer/media/peer_connection_tracker.cc const blink::WebRTCICECandidate& candidate, candidate 340 content/renderer/media/peer_connection_tracker.cc string value = "mid: " + base::UTF16ToUTF8(candidate.sdpMid()) + ", " + candidate 341 content/renderer/media/peer_connection_tracker.cc "candidate: " + base::UTF16ToUTF8(candidate.candidate()); candidate 101 content/renderer/media/peer_connection_tracker.h const blink::WebRTCICECandidate& candidate, Source source); candidate 501 content/renderer/media/rtc_peer_connection_handler.cc const blink::WebRTCICECandidate& candidate) { candidate 504 content/renderer/media/rtc_peer_connection_handler.cc bool result = addICECandidate(candidate); candidate 514 content/renderer/media/rtc_peer_connection_handler.cc const blink::WebRTCICECandidate& candidate) { candidate 517 content/renderer/media/rtc_peer_connection_handler.cc base::UTF16ToUTF8(candidate.sdpMid()), candidate 518 content/renderer/media/rtc_peer_connection_handler.cc candidate.sdpMLineIndex(), candidate 519 content/renderer/media/rtc_peer_connection_handler.cc base::UTF16ToUTF8(candidate.candidate()))); candidate 531 content/renderer/media/rtc_peer_connection_handler.cc this, candidate, PeerConnectionTracker::SOURCE_REMOTE); candidate 808 content/renderer/media/rtc_peer_connection_handler.cc const webrtc::IceCandidateInterface* candidate) { candidate 809 content/renderer/media/rtc_peer_connection_handler.cc DCHECK(candidate); candidate 811 content/renderer/media/rtc_peer_connection_handler.cc if (!candidate->ToString(&sdp)) { candidate 817 content/renderer/media/rtc_peer_connection_handler.cc base::UTF8ToUTF16(candidate->sdp_mid()), candidate 818 content/renderer/media/rtc_peer_connection_handler.cc candidate->sdp_mline_index()); candidate 121 content/renderer/media/rtc_peer_connection_handler.h const blink::WebRTCICECandidate& candidate) OVERRIDE; candidate 124 content/renderer/media/rtc_peer_connection_handler.h const blink::WebRTCICECandidate& candidate) OVERRIDE; candidate 150 content/renderer/media/rtc_peer_connection_handler.h const webrtc::IceCandidateInterface* candidate) OVERRIDE; candidate 149 content/renderer/media/rtc_peer_connection_handler_unittest.cc const blink::WebRTCICECandidate& candidate, candidate 390 content/renderer/media/rtc_peer_connection_handler_unittest.cc blink::WebRTCICECandidate candidate; candidate 391 content/renderer/media/rtc_peer_connection_handler_unittest.cc candidate.initialize(kDummySdp, "mid", 1); candidate 395 content/renderer/media/rtc_peer_connection_handler_unittest.cc testing::Ref(candidate), candidate 397 content/renderer/media/rtc_peer_connection_handler_unittest.cc EXPECT_TRUE(pc_handler_->addICECandidate(candidate)); candidate 36 jingle/glue/utils.cc std::string SerializeP2PCandidate(const cricket::Candidate& candidate) { candidate 39 jingle/glue/utils.cc value.SetString("ip", candidate.address().ipaddr().ToString()); candidate 40 jingle/glue/utils.cc value.SetInteger("port", candidate.address().port()); candidate 41 jingle/glue/utils.cc value.SetString("type", candidate.type()); candidate 42 jingle/glue/utils.cc value.SetString("protocol", candidate.protocol()); candidate 43 jingle/glue/utils.cc value.SetString("username", candidate.username()); candidate 44 jingle/glue/utils.cc value.SetString("password", candidate.password()); candidate 45 jingle/glue/utils.cc value.SetDouble("preference", candidate.preference()); candidate 46 jingle/glue/utils.cc value.SetInteger("generation", candidate.generation()); candidate 54 jingle/glue/utils.cc cricket::Candidate* candidate) { candidate 84 jingle/glue/utils.cc candidate->set_address(talk_base::SocketAddress(ip, port)); candidate 85 jingle/glue/utils.cc candidate->set_type(type); candidate 86 jingle/glue/utils.cc candidate->set_protocol(protocol); candidate 87 jingle/glue/utils.cc candidate->set_username(username); candidate 88 jingle/glue/utils.cc candidate->set_password(password); candidate 89 jingle/glue/utils.cc candidate->set_preference(static_cast<float>(preference)); candidate 90 jingle/glue/utils.cc candidate->set_generation(generation); candidate 33 jingle/glue/utils.h std::string SerializeP2PCandidate(const cricket::Candidate& candidate); candidate 35 jingle/glue/utils.h cricket::Candidate* candidate); candidate 25 remoting/host/resizing_host_observer.cc CandidateResolution(const ScreenResolution& candidate, candidate 27 remoting/host/resizing_host_observer.cc : resolution_(candidate) { candidate 29 remoting/host/resizing_host_observer.cc CHECK(!candidate.IsEmpty()); candidate 34 remoting/host/resizing_host_observer.cc if ((candidate.dimensions().width() > preferred.dimensions().width()) || candidate 35 remoting/host/resizing_host_observer.cc (candidate.dimensions().height() > preferred.dimensions().height())) { candidate 38 remoting/host/resizing_host_observer.cc candidate.dimensions().width(); candidate 41 remoting/host/resizing_host_observer.cc candidate.dimensions().height(); candidate 55 remoting/host/resizing_host_observer.cc static_cast<float>(candidate.dimensions().width()) / candidate 56 remoting/host/resizing_host_observer.cc candidate.dimensions().height(); candidate 163 remoting/host/resizing_host_observer.cc CandidateResolution candidate(*i, resolution); candidate 164 remoting/host/resizing_host_observer.cc if (candidate.IsBetterThan(best_candidate)) { candidate 165 remoting/host/resizing_host_observer.cc best_candidate = candidate; candidate 49 remoting/protocol/jingle_messages.cc JingleMessage::NamedCandidate* candidate) { candidate 78 remoting/protocol/jingle_messages.cc candidate->name = name; candidate 80 remoting/protocol/jingle_messages.cc candidate->candidate.set_address(talk_base::SocketAddress(address, port)); candidate 81 remoting/protocol/jingle_messages.cc candidate->candidate.set_type(type); candidate 82 remoting/protocol/jingle_messages.cc candidate->candidate.set_protocol(protocol); candidate 83 remoting/protocol/jingle_messages.cc candidate->candidate.set_username(username); candidate 84 remoting/protocol/jingle_messages.cc candidate->candidate.set_password(password); candidate 85 remoting/protocol/jingle_messages.cc candidate->candidate.set_preference(static_cast<float>(preference)); candidate 86 remoting/protocol/jingle_messages.cc candidate->candidate.set_generation(generation); candidate 91 remoting/protocol/jingle_messages.cc XmlElement* FormatCandidate(const JingleMessage::NamedCandidate& candidate) { candidate 94 remoting/protocol/jingle_messages.cc result->SetAttr(QName(kEmptyNamespace, "name"), candidate.name); candidate 96 remoting/protocol/jingle_messages.cc candidate.candidate.address().ipaddr().ToString()); candidate 98 remoting/protocol/jingle_messages.cc base::IntToString(candidate.candidate.address().port())); candidate 99 remoting/protocol/jingle_messages.cc result->SetAttr(QName(kEmptyNamespace, "type"), candidate.candidate.type()); candidate 101 remoting/protocol/jingle_messages.cc candidate.candidate.protocol()); candidate 103 remoting/protocol/jingle_messages.cc candidate.candidate.username()); candidate 105 remoting/protocol/jingle_messages.cc candidate.candidate.password()); candidate 107 remoting/protocol/jingle_messages.cc base::DoubleToString(candidate.candidate.preference())); candidate 109 remoting/protocol/jingle_messages.cc base::IntToString(candidate.candidate.generation())); candidate 120 remoting/protocol/jingle_messages.cc const cricket::Candidate& candidate) candidate 122 remoting/protocol/jingle_messages.cc candidate(candidate) { candidate 252 remoting/protocol/jingle_messages.cc NamedCandidate candidate; candidate 253 remoting/protocol/jingle_messages.cc if (!ParseCandidate(candidate_tag, &candidate)) { candidate 257 remoting/protocol/jingle_messages.cc candidates.push_back(candidate); candidate 47 remoting/protocol/jingle_messages.h const cricket::Candidate& candidate); candidate 50 remoting/protocol/jingle_messages.h cricket::Candidate candidate; candidate 235 remoting/protocol/jingle_session.cc channel->AddRemoteCandidate(it->candidate); candidate 282 remoting/protocol/jingle_session.cc const cricket::Candidate& candidate) { candidate 284 remoting/protocol/jingle_session.cc transport->name(), candidate)); candidate 509 remoting/protocol/jingle_session.cc channel->second->AddRemoteCandidate(it->candidate); candidate 68 remoting/protocol/jingle_session.h const cricket::Candidate& candidate) OVERRIDE; candidate 66 remoting/protocol/libjingle_transport_factory.cc virtual void AddRemoteCandidate(const cricket::Candidate& candidate) OVERRIDE; candidate 76 remoting/protocol/libjingle_transport_factory.cc const cricket::Candidate& candidate); candidate 78 remoting/protocol/libjingle_transport_factory.cc const cricket::Candidate& candidate); candidate 251 remoting/protocol/libjingle_transport_factory.cc const cricket::Candidate& candidate) { candidate 254 remoting/protocol/libjingle_transport_factory.cc channel_->OnCandidate(candidate); candidate 256 remoting/protocol/libjingle_transport_factory.cc pending_candidates_.push_back(candidate); candidate 278 remoting/protocol/libjingle_transport_factory.cc const cricket::Candidate& candidate) { candidate 280 remoting/protocol/libjingle_transport_factory.cc event_handler_->OnTransportCandidate(this, candidate); candidate 285 remoting/protocol/libjingle_transport_factory.cc const cricket::Candidate& candidate) { candidate 288 remoting/protocol/libjingle_transport_factory.cc if (candidate.type() == "local") { candidate 290 remoting/protocol/libjingle_transport_factory.cc } else if (candidate.type() == "stun") { candidate 292 remoting/protocol/libjingle_transport_factory.cc } else if (candidate.type() == "relay") { candidate 295 remoting/protocol/libjingle_transport_factory.cc LOG(FATAL) << "Unknown candidate type: " << candidate.type(); candidate 299 remoting/protocol/libjingle_transport_factory.cc candidate.address(), &route.remote_address)) { candidate 76 remoting/protocol/transport.h const cricket::Candidate& candidate) = 0; candidate 108 remoting/protocol/transport.h virtual void AddRemoteCandidate(const cricket::Candidate& candidate) = 0; candidate 443 third_party/libwebp/enc/histogram.c const VP8LHistogram* const candidate, candidate 445 third_party/libwebp/enc/histogram.c return HistogramAddThresh(candidate, square_histogram, cost_threshold); candidate 228 tools/clang/plugins/ChromeClassTester.cpp const std::string& candidate) { candidate 231 tools/clang/plugins/ChromeClassTester.cpp return candidate; candidate 245 tools/clang/plugins/ChromeClassTester.cpp return GetNamespaceImpl(context->getParent(), candidate); candidate 66 tools/clang/plugins/ChromeClassTester.h const std::string& candidate); candidate 12 tools/gn/pattern_unittest.cc const char* candidate; candidate 57 tools/gn/pattern_unittest.cc bool result = pattern.MatchesString(c.candidate); candidate 59 tools/gn/pattern_unittest.cc << "\", \"" << c.candidate << "\"";