Home
last modified time | relevance | path

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

1234

/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,
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp141 std::forward_list<StoreToLoadForwardingCandidate> Candidates; in findStoreToLoadDependences() local
145 return Candidates; in findStoreToLoadDependences()
185 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
189 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &C) { in findStoreToLoadDependences()
193 return Candidates; in findStoreToLoadDependences()
223 std::forward_list<StoreToLoadForwardingCandidate> &Candidates) { in removeDependencesFromMultipleStores() argument
230 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores()
256 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores()
288 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in findPointersWrittenOnForwardingPath() argument
307 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
[all …]
DStraightLineStrengthReduce.cpp203 ilist<Candidate> Candidates; member in __anondda995750111::StraightLineStrengthReduce
322 for (auto Basis = Candidates.rbegin(); in allocateCandidatesAndFindBasis()
323 Basis != Candidates.rend() && NumIterations < MaxNumIterations; in allocateCandidatesAndFindBasis()
333 Candidates.push_back(C); in allocateCandidatesAndFindBasis()
685 while (!Candidates.empty()) { in runOnFunction()
686 const Candidate &C = Candidates.back(); in runOnFunction()
690 Candidates.pop_back(); in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCodeExtractor.cpp50 SmallVector<BasicBlock *, 3> Candidates; in TEST() local
53 Candidates.push_back(&BB); in TEST()
55 Candidates.push_back(&BB); in TEST()
59 Candidates.insert(Candidates.begin(), &Func->getEntryBlock()); in TEST()
62 CodeExtractor CE(Candidates, &DT); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp172 std::forward_list<StoreToLoadForwardingCandidate> Candidates; in findStoreToLoadDependences() local
176 return Candidates; in findStoreToLoadDependences()
215 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
219 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &C) { in findStoreToLoadDependences()
223 return Candidates; in findStoreToLoadDependences()
253 std::forward_list<StoreToLoadForwardingCandidate> &Candidates) { in removeDependencesFromMultipleStores() argument
260 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores()
286 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores()
320 const SmallVectorImpl<StoreToLoadForwardingCandidate> &Candidates) { in findPointersWrittenOnForwardingPath() argument
339 std::max_element(Candidates.begin(), Candidates.end(), in findPointersWrittenOnForwardingPath()
[all …]
DStraightLineStrengthReduce.cpp236 std::list<Candidate> Candidates; member in __anon3f71350d0111::StraightLineStrengthReduce
358 for (auto Basis = Candidates.rbegin(); in allocateCandidatesAndFindBasis()
359 Basis != Candidates.rend() && NumIterations < MaxNumIterations; in allocateCandidatesAndFindBasis()
369 Candidates.push_back(C); in allocateCandidatesAndFindBasis()
717 while (!Candidates.empty()) { in runOnFunction()
718 const Candidate &C = Candidates.back(); in runOnFunction()
722 Candidates.pop_back(); in runOnFunction()
DGVNSink.cpp777 SmallVector<SinkingInstructionCandidate, 4> Candidates; in sinkBB() local
790 Candidates.emplace_back(*Cand); in sinkBB()
795 Candidates.begin(), Candidates.end(), in sinkBB()
799 : Candidates) dbgs() in sinkBB()
803 if (Candidates.empty() || Candidates.front().Cost <= 0) in sinkBB()
805 auto C = Candidates.front(); in sinkBB()
/external/clang/include/clang/Sema/
DTemplateDeduction.h273 SmallVector<TemplateSpecCandidate, 16> Candidates; variable
298 iterator begin() { return Candidates.begin(); } in begin()
299 iterator end() { return Candidates.end(); } in end()
301 size_t size() const { return Candidates.size(); } in size()
302 bool empty() const { return Candidates.empty(); } in empty()
307 Candidates.emplace_back(); in addCandidate()
308 return Candidates.back(); in addCandidate()
DOverload.h714 SmallVector<OverloadCandidate, 16> Candidates;
751 iterator begin() { return Candidates.begin(); } in begin()
752 iterator end() { return Candidates.end(); } in end()
754 size_t size() const { return Candidates.size(); } in size()
755 bool empty() const { return Candidates.empty(); } in empty()
760 Candidates.push_back(OverloadCandidate());
761 OverloadCandidate &C = Candidates.back();
/external/llvm/lib/CodeGen/
DRegisterScavenging.cpp277 BitVector &Candidates, in findSurvivorReg() argument
280 int Survivor = Candidates.find_first(); in findSurvivorReg()
299 Candidates.clearBitsNotInMask(MO.getRegMask()); in findSurvivorReg()
310 Candidates.reset(*AI); in findSurvivorReg()
321 if (Candidates.test(Survivor)) in findSurvivorReg()
325 if (Candidates.none()) in findSurvivorReg()
328 Survivor = Candidates.find_first(); in findSurvivorReg()
355 BitVector Candidates = TRI->getAllocatableSet(MF, RC); in scavengeRegister() local
361 Candidates.reset(MO.getReg()); in scavengeRegister()
367 Available &= Candidates; in scavengeRegister()
[all …]
DMachineLICM.cpp171 SmallVectorImpl<CandidateInfo> &Candidates);
355 SmallVectorImpl<CandidateInfo> &Candidates) { in ProcessMI() argument
432 Candidates.push_back(CandidateInfo(MI, Def, FI)); in ProcessMI()
447 SmallVector<CandidateInfo, 32> Candidates; in HoistRegionPostRA() local
469 ProcessMI(&MI, PhysRegDefs, PhysRegClobbers, StoredFIs, Candidates); in HoistRegionPostRA()
495 for (CandidateInfo &Candidate : Candidates) { in HoistRegionPostRA()
708 SmallVector<MachineInstr *, 8> Candidates; in SinkIntoLoop() local
714 Candidates.push_back(&*I); in SinkIntoLoop()
717 for (MachineInstr *I : Candidates) { in SinkIntoLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp122 PMACPairList CreateParallelMACPairs(OpChainList &Candidates);
325 ARMParallelDSP::CreateParallelMACPairs(OpChainList &Candidates) { in CreateParallelMACPairs() argument
326 const unsigned Elems = Candidates.size(); in CreateParallelMACPairs()
336 BinOpChain *PMul0 = static_cast<BinOpChain*>(Candidates[i].get()); in CreateParallelMACPairs()
337 BinOpChain *PMul1 = static_cast<BinOpChain*>(Candidates[i+1].get()); in CreateParallelMACPairs()
449 static void AddMACCandidate(OpChainList &Candidates, in AddMACCandidate() argument
459 Candidates.push_back(make_unique<BinOpChain>(Mul, LHS, RHS)); in AddMACCandidate()
464 OpChainList &Candidates) { in MatchParallelMACSequences() argument
472 AddMACCandidate(Candidates, Acc, MulOp0, MulOp1, 0); in MatchParallelMACSequences()
478 AddMACCandidate(Candidates, Acc, MulOp0, MulOp1, 1); in MatchParallelMACSequences()
[all …]
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/ECDSA/FIPS_186-3/
DKeyPair.rsp9 [B.4.2 Key Pair Generation by Testing Candidates]
55 [B.4.2 Key Pair Generation by Testing Candidates]
101 [B.4.2 Key Pair Generation by Testing Candidates]
147 [B.4.2 Key Pair Generation by Testing Candidates]
193 [B.4.2 Key Pair Generation by Testing Candidates]
239 [B.4.2 Key Pair Generation by Testing Candidates]
285 [B.4.2 Key Pair Generation by Testing Candidates]
331 [B.4.2 Key Pair Generation by Testing Candidates]
377 [B.4.2 Key Pair Generation by Testing Candidates]
423 [B.4.2 Key Pair Generation by Testing Candidates]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineOutliner.h166 std::vector<std::shared_ptr<Candidate>> Candidates;
204 for (std::shared_ptr<Candidate> &C : Candidates) in getOutliningCost()
228 Candidates.push_back(std::make_shared<outliner::Candidate>(C)); in OutlinedFunction()
231 for (std::shared_ptr<Candidate> &C : Candidates) in OutlinedFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegisterScavenging.cpp308 BitVector &Candidates, in findSurvivorReg() argument
311 int Survivor = Candidates.find_first(); in findSurvivorReg()
330 Candidates.clearBitsNotInMask(MO.getRegMask()); in findSurvivorReg()
341 Candidates.reset(*AI); in findSurvivorReg()
352 if (Candidates.test(Survivor)) in findSurvivorReg()
356 if (Candidates.none()) in findSurvivorReg()
359 Survivor = Candidates.find_first(); in findSurvivorReg()
541 BitVector Candidates = TRI->getAllocatableSet(MF, RC); in scavengeRegister() local
548 Candidates.reset(*AI); in scavengeRegister()
554 Available &= Candidates; in scavengeRegister()
[all …]
DMIRCanonicalizerPass.cpp367 std::vector<MachineInstr *> Candidates; in populateCandidates() local
390 Candidates.push_back(MI); in populateCandidates()
393 return Candidates; in populateCandidates()
678 std::vector<MachineInstr *> Candidates = populateCandidates(MBB); in runOnBasicBlock() local
680 std::copy(Candidates.begin(), Candidates.end(), in runOnBasicBlock()
684 for (auto candidate : Candidates) { in runOnBasicBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp355 BitVector Candidates = in loadImmediate() local
363 Candidates.reset(MO.getReg()); in loadImmediate()
384 Available &= Candidates; in loadImmediate()
395 Reg = Candidates.find_first(); in loadImmediate()
396 Candidates.reset(Reg); in loadImmediate()
410 SpReg = Candidates.find_first(); in loadImmediate()
/external/v8/src/compiler/
Djs-inlining-heuristic.h70 using Candidates = ZoneSet<Candidate, CandidateCompare>; variable
96 Candidates candidates_;
/external/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp335 BitVector Candidates = in loadImmediate() local
343 Candidates.reset(MO.getReg()); in loadImmediate()
364 Available &= Candidates; in loadImmediate()
375 Reg = Candidates.find_first(); in loadImmediate()
376 Candidates.reset(Reg); in loadImmediate()
390 SpReg = Candidates.find_first(); in loadImmediate()

1234