Searched defs:candidate (Results 76 - 100 of 188) sorted by relevance

12345678

/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
H A Dconductor.cc42 const char kCandidateSdpName[] = "candidate";
161 void Conductor::OnIceCandidate(const webrtc::IceCandidateInterface* candidate) { argument
162 LOG(INFO) << __FUNCTION__ << " " << candidate->sdp_mline_index();
166 jmessage[kCandidateSdpMidName] = candidate->sdp_mid();
167 jmessage[kCandidateSdpMlineIndexName] = candidate->sdp_mline_index();
169 if (!candidate->ToString(&sdp)) {
170 LOG(LS_ERROR) << "Failed to serialize candidate";
275 rtc::scoped_ptr<webrtc::IceCandidateInterface> candidate(
277 if (!candidate.get()) {
278 LOG(WARNING) << "Can't parse received candidate messag
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Ddtlstransportchannel.cc630 TransportChannel* channel, const Candidate& candidate) {
632 SignalRouteChange(this, candidate);
629 OnRouteChange( TransportChannel* channel, const Candidate& candidate) argument
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
H A Dpseudotcpchannel.cc30 #include "talk/p2p/base/candidate.h"
363 const Candidate& candidate) {
378 int family = candidate.address().family();
385 if (mtu_socket->Connect(candidate.address()) < 0 ||
362 OnChannelConnectionChanged(TransportChannel* channel, const Candidate& candidate) argument
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontMgr_android.cpp244 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { argument
246 score += abs((pattern.width() - candidate.width()) * 100);
247 score += abs((pattern.isItalic() == candidate.isItalic()) ? 0 : 1000);
248 score += abs(pattern.weight() - candidate.weight());
H A DSkFontConfigParser_android.cpp147 FontFamily* candidate = familyData->families[i]; local
148 for (int j = 0; j < candidate->fNames.count(); j++) {
149 if (!strncmp(candidate->fNames[j].c_str(), familyName, nameLen) &&
150 nameLen == strlen(candidate->fNames[j].c_str())) {
151 return candidate;
/external/chromium_org/v8/src/ia32/
H A Dcode-stubs-ia32.h324 Register candidate = Register::FromAllocationIndex(i); local
325 if (candidate.is(ecx)) continue;
326 if (candidate.is(r1)) continue;
327 if (candidate.is(r2)) continue;
328 if (candidate.is(r3)) continue;
329 return candidate;
/external/chromium_org/v8/src/x64/
H A Dcode-stubs-x64.h298 Register candidate = Register::FromAllocationIndex(i); local
299 if (candidate.is(rcx)) continue;
300 if (candidate.is(r1)) continue;
301 if (candidate.is(r2)) continue;
302 if (candidate.is(r3)) continue;
303 return candidate;
/external/chromium_org/v8/src/x87/
H A Dcode-stubs-x87.h313 Register candidate = Register::FromAllocationIndex(i); local
314 if (candidate.is(ecx)) continue;
315 if (candidate.is(r1)) continue;
316 if (candidate.is(r2)) continue;
317 if (candidate.is(r3)) continue;
318 return candidate;
/external/clang/include/clang/Sema/
H A DTypoCorrection.h261 /// candidate is viable, without ranking potentially viable candidates.
264 /// The default predicate always returns true if the candidate is not a type
268 virtual bool ValidateCandidate(const TypoCorrection &candidate);
271 /// to a candidate (where a lower value represents a better candidate), or
272 /// returning InvalidDistance if the candidate is not at all viable. For
273 /// validation callbacks that only need to determine if a candidate is viable,
276 virtual unsigned RankCandidate(const TypoCorrection &candidate) { argument
277 return ValidateCandidate(candidate) ? 0 : InvalidDistance;
298 bool ValidateCandidate(const TypoCorrection &candidate) overrid
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_mvref_common.c127 static INLINE int_mv get_sub_block_mv(const MODE_INFO *candidate, int which_mv, argument
129 return block_idx >= 0 && candidate->mbmi.sb_type < BLOCK_8X8
130 ? candidate->bmi[idx_n_column_to_subblock[block_idx][search_col == 0]]
132 : candidate->mbmi.mv[which_mv];
190 // to try and find candidate reference vectors.
220 const MB_MODE_INFO *const candidate = &candidate_mi->mbmi; local
222 context_counter += mode_2_counter[candidate->mode];
225 if (candidate->ref_frame[0] == ref_frame)
227 else if (candidate->ref_frame[1] == ref_frame)
238 const MB_MODE_INFO *const candidate local
264 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row local
[all...]
/external/bison/lib/
H A Dhash.c444 is_prime (size_t candidate) argument
449 while (square < candidate && (candidate % divisor))
456 return (candidate % divisor ? true : false);
463 next_prime (size_t candidate) argument
466 if (candidate < 10)
467 candidate = 10;
470 candidate |= 1;
472 while (SIZE_MAX != candidate && !is_prime (candidate))
544 compute_bucket_size(size_t candidate, const Hash_tuning *tuning) argument
594 hash_initialize(size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer) argument
943 hash_rehash(Hash_table *table, size_t candidate) argument
1073 float candidate = local
1175 size_t candidate = local
[all...]
/external/chromium_org/cc/output/
H A Doverlay_unittest.cc50 OverlayCandidate& candidate = surfaces->back(); local
51 if (candidate.display_rect.width() == 64)
52 EXPECT_EQ(kOverlayBottomRightRect, candidate.display_rect);
54 EXPECT_EQ(kOverlayRect, candidate.display_rect);
56 candidate.uv_rect.ToString());
57 candidate.overlay_handled = true;
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_reporting_service.cc481 Profile* candidate = NULL; local
492 if (!candidate)
493 candidate = scan->first;
495 candidate = scan->first;
500 return candidate;
/external/chromium_org/content/renderer/media/
H A Dpeer_connection_tracker.cc401 const blink::WebRTCICECandidate& candidate,
405 "sdpMid: " + base::UTF16ToUTF8(candidate.sdpMid()) + ", " +
406 "sdpMLineIndex: " + base::IntToString(candidate.sdpMLineIndex()) + ", " +
407 "candidate: " + base::UTF16ToUTF8(candidate.candidate());
399 TrackAddIceCandidate( RTCPeerConnectionHandler* pc_handler, const blink::WebRTCICECandidate& candidate, Source source, bool succeeded) argument
/external/chromium_org/remoting/host/
H A Dcast_extension_session.cc42 const char kWebRtcCandidate[] = "candidate";
397 rtc::scoped_ptr<webrtc::IceCandidateInterface> candidate(
399 if (!candidate.get()) {
401 << "Invalid Cast Extension Message (could not create candidate).";
405 if (!peer_connection_->AddIceCandidate(candidate.get())) {
654 const webrtc::IceCandidateInterface* candidate) {
656 if (!candidate->ToString(&candidate_str)) {
657 LOG(ERROR) << "PeerConnectionObserver: failed to serialize candidate.";
661 json->SetString(kWebRtcSDPMid, candidate->sdp_mid());
662 json->SetInteger(kWebRtcSDPMLineIndex, candidate
653 OnIceCandidate( const webrtc::IceCandidateInterface* candidate) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DPosition.cpp526 // that map to the VisiblePosition between 'b' and the space. This function will return the left candidate
528 // Also, upstream() will return [boundary, 0] for any of the positions from [boundary, 0] to the first candidate
648 // that map to the VisiblePosition between 'b' and the space. This function will return the right candidate
651 // in boundary after the last candidate, where endsOfNodeAreVisuallyDistinctPositions(boundary).
1092 InlineTextBox* candidate = 0; local
1111 candidate = box;
1113 if (candidate && candidate == textRenderer->lastTextBox() && affinity == DOWNSTREAM) {
1118 inlineBox = box ? box : candidate;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLImageElement.cpp221 void HTMLImageElement::setBestFitURLAndDPRFromImageCandidate(const ImageCandidate& candidate) argument
223 m_bestFitImageURL = candidate.url();
224 float candidateDensity = candidate.density();
227 if (candidate.resourceWidth() > 0) {
230 } else if (!candidate.srcOrigin()) {
307 ImageCandidate candidate = bestFitSourceForSrcsetAttribute(document().devicePixelRatio(), effectiveSize, source->fastGetAttribute(srcsetAttr)); local
308 if (candidate.isEmpty())
310 return candidate;
363 ImageCandidate candidate = findBestFitImageFromPictureParent(); local
364 if (!candidate
625 ImageCandidate candidate = findBestFitImageFromPictureParent(); local
642 ImageCandidate candidate = bestFitSourceForImageAttributes(document().devicePixelRatio(), effectiveSize, fastGetAttribute(srcAttr), fastGetAttribute(srcsetAttr)); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DFocusController.cpp736 static void updateFocusCandidateIfNeeded(FocusType type, const FocusCandidate& current, FocusCandidate& candidate, FocusCandidate& closest) argument
738 ASSERT(candidate.visibleNode->isElementNode());
739 ASSERT(candidate.visibleNode->renderer());
742 if (frameOwnerElement(candidate) && (!frameOwnerElement(candidate)->contentFrame() || candidate.rect.isEmpty()))
746 if (candidate.isOffscreen && !canBeScrolledIntoView(type, candidate))
749 distanceDataForNode(type, current, candidate);
750 if (candidate
807 FocusCandidate candidate = FocusCandidate(element, type); local
[all...]
H A DTouchAdjustment.cpp263 // Check if we already have a result for a common ancestor from another candidate.
291 Node* candidate = candidates[i]; local
295 Node* respondingNode = responderMap.get(candidate);
300 if (editableAncestors.contains(candidate))
302 if (candidate->isContentEditable()) {
303 Node* replacement = candidate;
304 Node* parent = candidate->parentOrShadowHostNode();
314 candidate = replacement;
316 if (candidate)
317 appendSubtargetsForNode(candidate, subtarget
325 Node* candidate = intersectedNodes[i].get(); local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/javatests/src/org/webrtc/
H A DPeerConnectionTest.java108 public synchronized void onIceCandidate(IceCandidate candidate) { argument
113 gotIceCandidates.add(candidate);
670 for (IceCandidate candidate : offeringExpectations.gotIceCandidates) {
671 answeringPC.addIceCandidate(candidate);
674 for (IceCandidate candidate : answeringExpectations.gotIceCandidates) {
675 offeringPC.addIceCandidate(candidate);
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
H A DAppRTCDemoActivity.java463 @Override public void onIceCandidate(final IceCandidate candidate){ argument
467 jsonPut(json, "type", "candidate");
468 jsonPut(json, "label", candidate.sdpMLineIndex);
469 jsonPut(json, "id", candidate.sdpMid);
470 jsonPut(json, "candidate", candidate.sdp);
609 for (IceCandidate candidate : queuedRemoteCandidates) {
610 pc.addIceCandidate(candidate);
631 if (type.equals("candidate")) {
632 IceCandidate candidate
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dphonenumbermatcher.cc80 bool ContainsOnlyValidXChars(const PhoneNumber& number, const string& candidate, argument
89 found = candidate.find_first_of("xX");
92 while (found != string::npos && found < candidate.length() - 1) {
94 char next_char = candidate[found + 1];
100 number, candidate.substr(found, candidate.length() - found))
105 string normalized_extension(candidate.substr(found,
106 candidate.length() - found));
112 found = candidate.find_first_of("xX", found + 1);
406 bool PhoneNumberMatcher::ParseAndVerify(const string& candidate, in argument
523 ExtractInnerMatch(const string& candidate, int offset, PhoneNumberMatch* match) argument
579 ExtractMatch(const string& candidate, int offset, PhoneNumberMatch* match) argument
640 string candidate; local
657 CheckNumberGroupingIsValid( const PhoneNumber& phone_number, const string& candidate, ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, const string&, const vector<string>&>* checker) const argument
829 ContainsMoreThanOneSlashInNationalNumber( const PhoneNumber& number, const string& candidate, const PhoneNumberUtil& util) argument
[all...]
/external/chromium_org/v8/src/arm/
H A Dassembler-arm-inl.h223 // evacuation candidate.
457 Address candidate = pc - 2 * Assembler::kInstrSize; local
458 Instr candidate_instr(Memory::int32_at(candidate));
461 return candidate;
464 candidate -= Assembler::kInstrSize;
467 candidate -= 1 * Assembler::kInstrSize;
468 DCHECK(IsMovW(Memory::int32_at(candidate)) &&
469 IsMovT(Memory::int32_at(candidate + Assembler::kInstrSize)));
471 candidate -= 3 * Assembler::kInstrSize;
473 IsMovImmed(Memory::int32_at(candidate))
[all...]
/external/dnsmasq/src/
H A Ddhcp.c669 struct dhcp_config *config, *candidate; local
703 for (candidate = NULL, count = 0, config = configs; config; config = config->next)
712 candidate = config;
715 return candidate;
/external/ltrace/
H A Dread_config_file.c93 enum arg_type candidate; local
99 candidate = TYPE; \
131 *ret = candidate;

Completed in 9694 milliseconds

12345678