Home
last modified time | relevance | path

Searched refs:Candidates (Results 1 – 25 of 55) sorted by relevance

123

/external/webrtc/webrtc/p2p/base/
Dstunport_unittest.cc159 EXPECT_EQ(0U, port()->Candidates().size()); in TEST_F()
167 ASSERT_EQ(1U, port()->Candidates().size()); in TEST_F()
168 EXPECT_TRUE(kLocalAddr.EqualIPs(port()->Candidates()[0].address())); in TEST_F()
180 EXPECT_EQ(0U, port()->Candidates().size()); in TEST_F()
188 ASSERT_EQ(1U, port()->Candidates().size()); in TEST_F()
189 EXPECT_TRUE(kLocalAddr.EqualIPs(port()->Candidates()[0].address())); in TEST_F()
190 EXPECT_EQ(kStunCandidatePriority, port()->Candidates()[0].priority()); in TEST_F()
199 EXPECT_EQ(0U, port()->Candidates().size()); in TEST_F()
209 ASSERT_EQ(1U, port()->Candidates().size()); in TEST_F()
210 EXPECT_TRUE(kLocalAddr.EqualIPs(port()->Candidates()[0].address())); in TEST_F()
[all …]
Dturnport_unittest.cc338 ASSERT_EQ(1U, turn_port_->Candidates().size()); in TestTurnAlternateServer()
340 turn_port_->Candidates()[0].address().ipaddr()); in TestTurnAlternateServer()
341 EXPECT_NE(0, turn_port_->Candidates()[0].address().port()); in TestTurnAlternateServer()
372 ASSERT_EQ(0U, turn_port_->Candidates().size()); in TestTurnAlternateServerPingPong()
395 ASSERT_EQ(0U, turn_port_->Candidates().size()); in TestTurnAlternateServerDetectRepetition()
404 turn_port_->Candidates()[0], Port::ORIGIN_MESSAGE); in TestTurnConnection()
414 udp_port_->Candidates()[0], Port::ORIGIN_MESSAGE); in TestTurnConnection()
434 Connection* conn1 = udp_port_->CreateConnection(turn_port_->Candidates()[0], in TestDestroyTurnConnection()
436 Connection* conn2 = turn_port_->CreateConnection(udp_port_->Candidates()[0], in TestDestroyTurnConnection()
460 conn2 = turn_port_->CreateConnection(udp_port_->Candidates()[0], in TestDestroyTurnConnection()
[all …]
Dport_unittest.cc76 assert(port->Candidates().size() >= 1); in GetCandidate()
77 return port->Candidates()[0]; in GetCandidate()
1322 ASSERT_FALSE(lport->Candidates().empty()); in TEST_F()
1323 Connection* conn = lport->CreateConnection(lport->Candidates()[0], in TEST_F()
1342 Connection* conn1 = lport->CreateConnection(lport->Candidates()[1], in TEST_F()
1388 ASSERT_FALSE(lport->Candidates().empty()); in TEST_F()
1389 ASSERT_FALSE(rport->Candidates().empty()); in TEST_F()
1390 Connection* lconn = lport->CreateConnection(rport->Candidates()[0], in TEST_F()
1392 Connection* rconn = rport->CreateConnection(lport->Candidates()[0], in TEST_F()
1431 EXPECT_EQ(0U, port->Candidates().size()); in TEST_F()
[all …]
Dtransportdescription.h72 typedef std::vector<Candidate> Candidates; typedef
85 const Candidates& candidates) in TransportDescription()
149 Candidates candidates;
Dtransportcontroller_unittest.cc33 using cricket::Candidates;
116 cricket::CONNECTIONROLE_ACTPASS, nullptr, Candidates()); in CreateChannelsAndCompleteConnection_w()
171 const Candidates& candidates) { in OnCandidatesGathered()
188 std::map<std::string, Candidates> candidates_;
327 cricket::CONNECTIONROLE_ACTPASS, nullptr, Candidates()); in TEST_F()
346 cricket::CONNECTIONROLE_ACTPASS, nullptr, Candidates()); in TEST_F()
358 Candidates candidates; in TEST_F()
376 cricket::CONNECTIONROLE_ACTPASS, nullptr, Candidates()); in TEST_F()
383 cricket::CONNECTIONROLE_ACTPASS, nullptr, Candidates()); in TEST_F()
655 cricket::CONNECTIONROLE_ACTPASS, nullptr, Candidates()); in TEST_F()
Dtransport_unittest.cc18 using cricket::Candidates;
160 cricket::CONNECTIONROLE_NONE, NULL, cricket::Candidates()); in TEST_F()
181 cricket::CONNECTIONROLE_ACTPASS, NULL, cricket::Candidates()); in TEST_F()
210 cricket::CONNECTIONROLE_NONE, NULL, cricket::Candidates()); in TEST_F()
Dtransportcontroller.h75 const Candidates& candidates,
108 sigslot::signal2<const std::string&, const Candidates&>
177 const Candidates& candidates,
Dtransportcontroller.cc33 const Candidates& candidates) in CandidatesData()
37 Candidates candidates;
123 const Candidates& candidates, in AddRemoteCandidates()
449 const Candidates& candidates, in AddRemoteCandidates_w()
Dportinterface.h79 virtual const std::vector<Candidate>& Candidates() const = 0;
Dstunport.cc265 if (SharedSocket() && Candidates()[0].type() != LOCAL_PORT_TYPE) { in CreateConnection()
505 const std::vector<Candidate>& existing_candidates = Candidates(); in HasCandidateWithAddress()
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp127 std::forward_list<StoreToLoadForwardingCandidate> Candidates; in findStoreToLoadDependences() local
131 return Candidates; in findStoreToLoadDependences()
165 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
169 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &C) { in findStoreToLoadDependences()
173 return Candidates; in findStoreToLoadDependences()
203 std::forward_list<StoreToLoadForwardingCandidate> &Candidates) { in removeDependencesFromMultipleStores() argument
210 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores()
236 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores()
268 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in findPointersWrittenOnForwardingPath() argument
287 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
[all …]
DStraightLineStrengthReduce.cpp203 ilist<Candidate> Candidates; member in __anonaa4ec62a0111::StraightLineStrengthReduce
351 for (auto Basis = Candidates.rbegin(); in allocateCandidatesAndFindBasis()
352 Basis != Candidates.rend() && NumIterations < MaxNumIterations; in allocateCandidatesAndFindBasis()
362 Candidates.push_back(C); in allocateCandidatesAndFindBasis()
704 while (!Candidates.empty()) { in runOnFunction()
705 const Candidate &C = Candidates.back(); in runOnFunction()
709 Candidates.pop_back(); in runOnFunction()
DNaryReassociate.cpp561 auto &Candidates = Pos->second; in findClosestMatchingDominator() local
566 while (!Candidates.empty()) { in findClosestMatchingDominator()
569 if (Value *Candidate = Candidates.back()) { in findClosestMatchingDominator()
574 Candidates.pop_back(); in findClosestMatchingDominator()
DSeparateConstOffsetFromGEP.cpp1100 auto &Candidates = Pos->second; in findClosestMatchingDominator() local
1105 while (!Candidates.empty()) { in findClosestMatchingDominator()
1106 Instruction *Candidate = Candidates.back(); in findClosestMatchingDominator()
1109 Candidates.pop_back(); in findClosestMatchingDominator()
/external/clang/include/clang/Sema/
DTemplateDeduction.h247 SmallVector<TemplateSpecCandidate, 16> Candidates; variable
272 iterator begin() { return Candidates.begin(); } in begin()
273 iterator end() { return Candidates.end(); } in end()
275 size_t size() const { return Candidates.size(); } in size()
276 bool empty() const { return Candidates.empty(); } in empty()
281 Candidates.emplace_back(); in addCandidate()
282 return Candidates.back(); in addCandidate()
DOverload.h710 SmallVector<OverloadCandidate, 16> Candidates;
747 iterator begin() { return Candidates.begin(); } in begin()
748 iterator end() { return Candidates.end(); } in end()
750 size_t size() const { return Candidates.size(); } in size()
751 bool empty() const { return Candidates.empty(); } in empty()
756 Candidates.push_back(OverloadCandidate());
757 OverloadCandidate &C = Candidates.back();
/external/llvm/lib/CodeGen/
DRegisterScavenging.cpp292 BitVector &Candidates, in findSurvivorReg() argument
295 int Survivor = Candidates.find_first(); in findSurvivorReg()
315 Candidates.clearBitsNotInMask(MO.getRegMask()); in findSurvivorReg()
326 Candidates.reset(*AI); in findSurvivorReg()
337 if (Candidates.test(Survivor)) in findSurvivorReg()
341 if (Candidates.none()) in findSurvivorReg()
344 Survivor = Candidates.find_first(); in findSurvivorReg()
370 BitVector Candidates = in scavengeRegister() local
378 Candidates.reset(MO.getReg()); in scavengeRegister()
384 Available &= Candidates; in scavengeRegister()
[all …]
DMachineLICM.cpp171 SmallVectorImpl<CandidateInfo> &Candidates);
352 SmallVectorImpl<CandidateInfo> &Candidates) { in ProcessMI() argument
430 Candidates.push_back(CandidateInfo(MI, Def, FI)); in ProcessMI()
445 SmallVector<CandidateInfo, 32> Candidates; in HoistRegionPostRA() local
471 ProcessMI(MI, PhysRegDefs, PhysRegClobbers, StoredFIs, Candidates); in HoistRegionPostRA()
499 for (unsigned i = 0, e = Candidates.size(); i != e; ++i) { in HoistRegionPostRA()
500 if (Candidates[i].FI != INT_MIN && in HoistRegionPostRA()
501 StoredFIs.count(Candidates[i].FI)) in HoistRegionPostRA()
504 unsigned Def = Candidates[i].Def; in HoistRegionPostRA()
507 MachineInstr *MI = Candidates[i].MI; in HoistRegionPostRA()
[all …]
/external/v8/src/compiler/
Djs-inlining-heuristic.h45 typedef ZoneSet<Candidate, CandidateCompare> Candidates; typedef
52 Candidates candidates_;
/external/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp336 BitVector Candidates = in loadImmediate() local
344 Candidates.reset(MO.getReg()); in loadImmediate()
365 Available &= Candidates; in loadImmediate()
376 Reg = Candidates.find_first(); in loadImmediate()
377 Candidates.reset(Reg); in loadImmediate()
391 SpReg = Candidates.find_first(); in loadImmediate()
/external/webrtc/webrtc/p2p/client/
Dportallocator_unittest.cc1148 EXPECT_EQ(2U, ports_[0]->Candidates().size()); in TEST_F()
1149 EXPECT_EQ(1U, ports_[1]->Candidates().size()); in TEST_F()
1187 EXPECT_EQ(2U, ports_[0]->Candidates().size()); in TEST_F()
1188 EXPECT_EQ(1U, ports_[1]->Candidates().size()); in TEST_F()
1217 EXPECT_EQ(1U, ports_[0]->Candidates().size()); in TEST_F()
1218 EXPECT_EQ(1U, ports_[1]->Candidates().size()); in TEST_F()
1255 EXPECT_EQ(1U, ports_[0]->Candidates().size()); in TEST_F()
1256 EXPECT_EQ(1U, ports_[1]->Candidates().size()); in TEST_F()
1257 EXPECT_EQ(1U, ports_[2]->Candidates().size()); in TEST_F()
/external/webrtc/talk/app/webrtc/
Djsepsessiondescription_unittest.cc84 NULL, cricket::Candidates())))); in CreateCricketSessionDescription()
92 NULL, cricket::Candidates())))); in CreateCricketSessionDescription()
/external/llvm/include/llvm/CodeGen/
DRegisterScavenging.h175 BitVector &Candidates,
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp513 OverloadCandidate *Candidates, in ProcessOverloadCandidates() argument
517 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef, in ProcessOverloadCandidates()
/external/mesa3d/bin/
D.cherry-ignore23 # Candidates for 9.1

123