Searched defs:candidate (Results 26 - 50 of 188) sorted by relevance

12345678

/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_pair.c42 int candidate = -1; local
88 candidate = i;
93 candidate = RC_PAIR_PRESUB_SRC;
94 } else if (candidate < 0 || (rgb && rgb_used > 2)
99 /* candidate >= 0 */
102 pair->RGB.Src[candidate].Used = 1;
103 pair->RGB.Src[candidate].File = file;
104 pair->RGB.Src[candidate].Index = index;
105 if (candidate == RC_PAIR_PRESUB_SRC) {
115 pair->Alpha.Src[candidate]
[all...]
/external/mockito/src/org/mockito/internal/invocation/
H A DInvocationMatcher.java77 public boolean hasSimilarMethod(Invocation candidate) { argument
79 String currentMethodName = candidate.getMethod().getName();
82 final boolean isUnverified = !candidate.isVerified();
83 final boolean mockIsTheSame = getInvocation().getMock() == candidate.getMock();
84 final boolean methodEquals = hasSameMethod(candidate);
90 final boolean overloadedButSameArgs = !methodEquals && safelyArgumentsMatch(candidate.getArguments());
95 public boolean hasSameMethod(Invocation candidate) { argument
99 Method m2 = candidate.getMethod();
/external/skia/src/core/
H A DSkTileGrid.h115 T* candidate = (T*)(*tileData[tile])[pos]; local
116 if (NULL == minVal || (*candidate) < (*minVal)) {
117 minVal = candidate;
120 } else if (!((*minVal) < (*candidate))) {
121 // We don't require operator==; if !(candidate<minVal) && !(minVal<candidate),
122 // candidate==minVal and we have to add this tile to the range searched.
/external/ceres-solver/internal/ceres/
H A Dcanonical_views_clustering.cc70 double ComputeClusteringQualityDifference(const int candidate,
159 // Computes the difference in the quality score if 'candidate' were
162 const int candidate,
166 options_.view_score_weight * graph_->VertexWeight(candidate);
168 // Compute how much the quality score changes if the candidate view
171 const IntSet& neighbors = graph_->Neighbors(candidate);
177 const double new_similarity = graph_->EdgeWeight(*neighbor, candidate);
189 graph_->EdgeWeight(centers[i], candidate);
161 ComputeClusteringQualityDifference( const int candidate, const vector<int>& centers) const argument
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dregister_app_task.cc69 FileTracker candidate; local
70 if (!FilterCandidates(trackers, &candidate)) {
75 if (candidate.active()) {
76 DCHECK(candidate.tracker_kind() == TRACKER_KIND_APP_ROOT ||
77 candidate.tracker_kind() == TRACKER_KIND_DISABLED_APP_ROOT);
82 RegisterAppIntoDatabase(candidate, callback);
116 FileTracker* candidate) {
117 DCHECK(candidate);
120 trackers.active_tracker(), candidate)) {
164 *candidate
115 FilterCandidates(const TrackerIDSet& trackers, FileTracker* candidate) argument
[all...]
/external/chromium_org/chrome/installer/util/
H A Dlanguage_selector.cc253 // candidate, in which case |matched_name| is assigned the value of the
254 // candidate and |matched_offset| is assigned the language offset of the
261 std::wstring candidate; local
264 candidate.assign(*scan);
265 base::StringToLowerASCII(&candidate);
266 if (select_predicate(candidate, matched_offset)) {
277 // are set to the name of the selected candidate and the offset of the matched
/external/chromium_org/remoting/host/
H A Dresizing_host_observer.cc25 CandidateResolution(const ScreenResolution& candidate, argument
27 : resolution_(candidate) {
29 CHECK(!candidate.IsEmpty());
32 // The client scale factor is the smaller of the candidate:preferred ratios
34 if ((candidate.dimensions().width() > preferred.dimensions().width()) ||
35 (candidate.dimensions().height() > preferred.dimensions().height())) {
38 candidate.dimensions().width();
41 candidate.dimensions().height();
49 // of the two aspect ratios (candidate and preferred) to the larger. The
55 static_cast<float>(candidate
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositingLayerAssigner.cpp74 bool CompositingLayerAssigner::squashingWouldExceedSparsityTolerance(const RenderLayer* candidate, const CompositingLayerAssigner::SquashingState& squashingState) argument
76 IntRect bounds = candidate->clippedAbsoluteBoundingBox();
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Djsepsessiondescription.cc121 const IceCandidateInterface* candidate) {
122 if (!candidate || candidate->sdp_mline_index() < 0)
125 if (!GetMediasectionIndex(candidate, &mediasection_index)) {
138 cricket::Candidate updated_candidate = candidate->candidate();
147 new JsepIceCandidate(candidate->sdp_mid(),
179 const IceCandidateInterface* candidate,
181 if (!candidate || !index) {
184 *index = static_cast<size_t>(candidate
120 AddCandidate( const IceCandidateInterface* candidate) argument
178 GetMediasectionIndex( const IceCandidateInterface* candidate, size_t* index) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dp2ptransport.cc97 Candidate candidate; local
99 &candidate, error)) {
103 desc->candidates.push_back(candidate);
142 Candidate* candidate,
144 return ParseCandidate(ICEPROTO_GOOGLE, elem, translator, candidate, error);
148 const Candidate& candidate,
154 bool ret = WriteCandidate(ICEPROTO_GOOGLE, candidate, translator, elem.get(),
167 return BadParse("candidate username is too long", error);
169 return BadParse("candidate username has non-base64 encoded characters",
173 return BadParse("candidate usernam
139 ParseGingleCandidate( const buzz::XmlElement* elem, const CandidateTranslator* translator, Candidate* candidate, ParseError* error) argument
147 WriteGingleCandidate( const Candidate& candidate, const CandidateTranslator* translator, buzz::XmlElement** out_elem, WriteError* error) argument
178 ParseCandidate(TransportProtocol proto, const buzz::XmlElement* elem, const CandidateTranslator* translator, Candidate* candidate, ParseError* error) argument
231 WriteCandidate(TransportProtocol proto, const Candidate& candidate, const CandidateTranslator* translator, buzz::XmlElement* elem, WriteError* error) argument
[all...]
H A Drawtransportchannel.cc136 void RawTransportChannel::OnCandidate(const Candidate& candidate) { argument
137 remote_address_ = candidate.address();
182 // The most recent candidate is the one we haven't seen yet.
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_mvref_common.c15 // to try and find candidate reference vectors.
45 const MB_MODE_INFO *const candidate = &candidate_mi->mbmi; local
47 context_counter += mode_2_counter[candidate->mode];
50 if (candidate->ref_frame[0] == ref_frame)
52 else if (candidate->ref_frame[1] == ref_frame)
63 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row * local
67 if (candidate->ref_frame[0] == ref_frame)
68 ADD_MV_REF_LIST(candidate->mv[0]);
69 else if (candidate->ref_frame[1] == ref_frame)
70 ADD_MV_REF_LIST(candidate
89 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row local
[all...]
/external/chromium_org/v8/src/heap/
H A Dobjects-visiting.cc198 // Check whether to keep the candidate in the list.
199 T* candidate = reinterpret_cast<T*>(list); local
217 candidate = reinterpret_cast<T*>(retained);
218 tail = candidate;
224 WeakListVisitor<T>::VisitPhantomObject(heap, candidate);
228 list = WeakListVisitor<T>::WeakNext(candidate);
243 T* candidate = reinterpret_cast<T*>(list); local
244 list = WeakListVisitor<T>::WeakNext(candidate);
245 WeakListVisitor<T>::SetWeakNext(candidate, undefined);
/external/chromium_org/ash/ime/
H A Dcandidate_window_view_unittest.cc103 const std::string& candidate,
107 EXPECT_EQ(candidate, base::UTF16ToUTF8(row->candidate_label_->text()));
152 // Select the last candidate.
161 // Make sure the test doesn't crash if the candidate window reduced
344 // Initialize with a shortcut mode candidate window.
355 // Initialize with a no shortcut mode candidate window.
366 // Initialize with a no shortcut mode candidate window.
376 // Initialize with a shortcut mode candidate window.
102 ExpectLabels(const std::string& shortcut, const std::string& candidate, const std::string& annotation, const CandidateView* row) argument
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_tab_helper.cc251 const content::FaviconURL& candidate = candidates[i]; local
253 favicon::FaviconURL(candidate.icon_url,
254 ToChromeIconType(candidate.icon_type),
255 candidate.icon_sizes));
/external/chromium_org/chrome/browser/thumbnails/
H A Dcontent_analysis_unittest.cc68 float AspectDifference(const gfx::Size& reference, const gfx::Size& candidate) { argument
69 return std::abs(static_cast<float>(candidate.width()) / candidate.height() -
/external/chromium_org/chrome/browser/ui/fullscreen/
H A Dfullscreen_controller_state_test.cc623 StateTransitionInfo candidate = NextTransitionInShortestPath( local
626 if (candidate.distance + 1 < result.distance) {
629 result.distance = candidate.distance + 1;
/external/chromium_org/content/browser/media/capture/
H A Dvideo_capture_oracle.cc314 // pixel in a candidate gets one vote, as opposed to each candidate getting
316 const gfx::Rect* candidate = NULL; local
322 candidate = &(i->damage_rect);
323 votes = candidate->size().GetArea();
324 } else if (i->damage_rect == *candidate) {
329 candidate = &(i->damage_rect);
334 return (votes > 0) ? *candidate : gfx::Rect();
/external/chromium_org/content/child/npapi/
H A Dwebplugin_ime_win.cc294 CANDIDATEFORM* candidate) {
297 return ::ImmSetCandidateWindow(context, candidate);
299 gfx::Rect caret_rect(candidate->rcArea);
300 if ((candidate->dwStyle & CFS_EXCLUDE) &&
293 ImmSetCandidateWindow(HIMC context, CANDIDATEFORM* candidate) argument
/external/chromium_org/content/renderer/media/
H A Dmock_peer_connection_impl.cc357 const IceCandidateInterface* candidate) {
358 sdp_mid_ = candidate->sdp_mid();
359 sdp_mline_index_ = candidate->sdp_mline_index();
360 return candidate->ToString(&ice_sdp_);
356 AddIceCandidate( const IceCandidateInterface* candidate) argument
/external/chromium_org/extensions/common/
H A Dfile_util.cc91 base::FilePath candidate = extension_dir.AppendASCII( local
93 if (!base::PathExists(candidate)) {
94 version_dir = candidate;
/external/chromium_org/remoting/protocol/
H A Djingle_messages.cc49 JingleMessage::NamedCandidate* candidate) {
50 DCHECK(element->Name() == QName(kP2PTransportNamespace, "candidate"));
78 candidate->name = name;
80 candidate->candidate.set_address(rtc::SocketAddress(address, port));
81 candidate->candidate.set_type(type);
82 candidate->candidate.set_protocol(protocol);
83 candidate
48 ParseCandidate(const buzz::XmlElement* element, JingleMessage::NamedCandidate* candidate) argument
91 FormatCandidate(const JingleMessage::NamedCandidate& candidate) argument
118 NamedCandidate( const std::string& name, const cricket::Candidate& candidate) argument
252 NamedCandidate candidate; local
[all...]
H A Djingle_messages.h12 #include "third_party/libjingle/source/talk/p2p/base/candidate.h"
47 const cricket::Candidate& candidate);
50 cricket::Candidate candidate; member in struct:remoting::protocol::JingleMessage::NamedCandidate
H A Dlibjingle_transport_factory.cc52 virtual void AddRemoteCandidate(const cricket::Candidate& candidate) OVERRIDE;
63 const cricket::Candidate& candidate);
65 const cricket::Candidate& candidate);
201 const cricket::Candidate& candidate) {
208 if (!relay_allowed && candidate.type() == cricket::RELAY_PORT_TYPE)
212 channel_->OnCandidate(candidate);
214 pending_candidates_.push_back(candidate);
236 const cricket::Candidate& candidate) {
238 event_handler_->OnTransportCandidate(this, candidate);
243 const cricket::Candidate& candidate) {
200 AddRemoteCandidate( const cricket::Candidate& candidate) argument
234 OnCandidateReady( cricket::TransportChannelImpl* channel, const cricket::Candidate& candidate) argument
241 OnRouteChange( cricket::TransportChannel* channel, const cricket::Candidate& candidate) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DFontFaceCache.cpp216 CSSSegmentedFontFace* candidate = i->value.get(); local
217 FontTraits candidateTraits = candidate->traits();
222 if (!faceResult.storedValue->value || compareFontFaces(candidate, faceResult.storedValue->value.get(), traits))
223 faceResult.storedValue->value = candidate;

Completed in 492 milliseconds

12345678