/external/webrtc/webrtc/p2p/base/ |
D | stunport_unittest.cc | 159 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 …]
|
D | turnport_unittest.cc | 338 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 …]
|
D | port_unittest.cc | 76 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 …]
|
D | transportcontroller_unittest.cc | 33 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()
|
D | transportdescription.h | 72 typedef std::vector<Candidate> Candidates; typedef 85 const Candidates& candidates) in TransportDescription() 149 Candidates candidates;
|
D | transport_unittest.cc | 18 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()
|
D | transportcontroller.h | 75 const Candidates& candidates, 108 sigslot::signal2<const std::string&, const Candidates&> 177 const Candidates& candidates,
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopLoadElimination.cpp | 141 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 …]
|
D | StraightLineStrengthReduce.cpp | 203 ilist<Candidate> Candidates; member in __anon41489bb30111::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/lib/Transforms/Scalar/ |
D | LoopLoadElimination.cpp | 172 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 …]
|
D | StraightLineStrengthReduce.cpp | 236 std::list<Candidate> Candidates; member in __anon10397b0b0111::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()
|
D | GVNSink.cpp | 777 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | CodeExtractor.cpp | 50 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/lib/CodeGen/ |
D | RegisterScavenging.cpp | 267 BitVector &Candidates, in findSurvivorReg() argument 270 int Survivor = Candidates.find_first(); in findSurvivorReg() 298 Candidates.reset(MO.getReg()); in findSurvivorReg() 300 Candidates.reset(*R); in findSurvivorReg() 311 if (Candidates.test(Survivor)) in findSurvivorReg() 315 if (Candidates.none()) in findSurvivorReg() 318 Survivor = Candidates.find_first(); in findSurvivorReg() 334 BitVector Candidates = in scavengeRegister() local 342 Candidates.reset(MO.getReg()); in scavengeRegister() 351 if ((Candidates & Available).any()) in scavengeRegister() [all …]
|
D | MachineLICM.cpp | 170 SmallVector<CandidateInfo, 32> &Candidates); 388 SmallVector<CandidateInfo, 32> &Candidates) { in ProcessMI() argument 457 Candidates.push_back(CandidateInfo(MI, Def, FI)); in ProcessMI() 468 SmallVector<CandidateInfo, 32> Candidates; in HoistRegionPostRA() local 497 ProcessMI(MI, PhysRegDefs, StoredFIs, Candidates); in HoistRegionPostRA() 506 for (unsigned i = 0, e = Candidates.size(); i != e; ++i) { in HoistRegionPostRA() 507 if (Candidates[i].FI != INT_MIN && in HoistRegionPostRA() 508 StoredFIs.count(Candidates[i].FI)) in HoistRegionPostRA() 511 if (PhysRegDefs[Candidates[i].Def] == 1) { in HoistRegionPostRA() 513 MachineInstr *MI = Candidates[i].MI; in HoistRegionPostRA() [all …]
|
/external/clang/include/clang/Sema/ |
D | TemplateDeduction.h | 273 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()
|
D | Overload.h | 714 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/ |
D | RegisterScavenging.cpp | 277 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 122 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineOutliner.h | 166 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/ |
D | RegisterScavenging.cpp | 308 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 …]
|
D | MIRCanonicalizerPass.cpp | 367 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/ |
D | Mips16InstrInfo.cpp | 355 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/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 335 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()
|
/external/v8/src/compiler/ |
D | js-inlining-heuristic.h | 63 typedef ZoneSet<Candidate, CandidateCompare> Candidates; typedef 88 Candidates candidates_;
|