Searched refs:ports_ (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/webrtc/p2p/client/ |
D | portallocator_unittest.cc | 244 for (it = ports_.begin(); it < ports_.end(); ++it) { in CheckSendBufferSizesOfAllPorts() 319 EXPECT_EQ(total_ports, ports_.size()); in CheckDisableAdapterEnumeration() 330 ports_.push_back(port); in OnPortReady() 386 std::vector<cricket::PortInterface*> ports_; member in PortAllocatorTest 485 EXPECT_EQ(4U, ports_.size()); in TEST_F() 513 EXPECT_EQ(4U, ports_.size()); in TEST_F() 517 ports_.clear(); in TEST_F() 521 EXPECT_EQ(0U, ports_.size()); in TEST_F() 528 EXPECT_EQ(4U, ports_.size()); in TEST_F() 541 EXPECT_EQ(4U, ports_.size()); in TEST_F() [all …]
|
D | basicportallocator.cc | 173 for (it = ports_.begin(); it != ports_.end(); it++) in ~BasicPortAllocatorSession() 276 for (std::vector<PortData>::iterator it = ports_.begin(); in OnConfigStop() 277 it != ports_.end(); ++it) { in OnConfigStop() 459 ports_.push_back(data); in AddAllocatedPort() 567 for (std::vector<PortData>::iterator it = ports_.begin(); in OnProtocolEnabled() 568 it != ports_.end(); ++it) { in OnProtocolEnabled() 644 for (std::vector<PortData>::iterator it = ports_.begin(); in MaybeSignalCandidatesAllocationDone() 645 it != ports_.end(); ++it) { in MaybeSignalCandidatesAllocationDone() 657 for (std::vector<PortData>::iterator iter = ports_.begin(); in OnPortDestroyed() 658 iter != ports_.end(); ++iter) { in OnPortDestroyed() [all …]
|
D | basicportallocator.h | 196 std::vector<PortData> ports_; variable
|
/external/libchrome/mojo/core/ports/ |
D | event.cc | 148 ports_.resize(num_ports); in ReservePorts() 199 DCHECK_EQ(ports_.size(), port_descriptors_.size()); in GetSerializedDataSize() 203 ports_size *= ports_.size(); in GetSerializedDataSize() 208 DCHECK_EQ(ports_.size(), port_descriptors_.size()); in SerializeData() 211 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(ports_.size())); in SerializeData() 212 data->num_ports = static_cast<uint32_t>(ports_.size()); in SerializeData() 219 reinterpret_cast<PortName*>(ports_data + ports_.size()); in SerializeData() 220 std::copy(ports_.begin(), ports_.end(), port_names_data); in SerializeData()
|
D | node.cc | 105 if (!ports_.empty()) in ~Node() 115 for (auto& entry : ports_) { in CanShutdownCleanly() 121 return ports_.empty(); in CanShutdownCleanly() 130 for (auto& entry : ports_) { in CanShutdownCleanly() 153 auto iter = ports_.find(port_name); in GetPort() 154 if (iter == ports_.end()) in GetPort() 791 if (!ports_.emplace(port_name, std::move(port)).second) in AddPortWithName() 802 auto it = ports_.find(port_name); in ErasePort() 803 if (it == ports_.end()) in ErasePort() 806 ports_.erase(it); in ErasePort() [all …]
|
D | event.h | 134 size_t num_ports() const { return ports_.size(); } in COMPONENT_EXPORT() 136 PortName* ports() { return ports_.data(); } in COMPONENT_EXPORT() 152 std::vector<PortName> ports_; in COMPONENT_EXPORT() local
|
D | node.h | 241 std::unordered_map<PortName, scoped_refptr<Port>> ports_; in COMPONENT_EXPORT() local
|
/external/webrtc/webrtc/p2p/base/ |
D | p2ptransportchannel.cc | 251 ports_.clear(); in AddAllocatorSession() 281 for (std::vector<PortInterface *>::iterator it = ports_.begin(); in SetIceRole() 282 it != ports_.end(); ++it) { in SetIceRole() 290 if (!ports_.empty()) { in SetIceTiebreaker() 452 ports_.push_back(port); in OnPortReady() 741 for (it = ports_.rbegin(); it != ports_.rend(); ++it) { in CreateConnections() 749 std::find(ports_.begin(), ports_.end(), origin_port) == ports_.end()) { in CreateConnections() 881 for (size_t i = 0; i < ports_.size(); ++i) { in SetOption() 882 int val = ports_[i]->SetOption(opt, value); in SetOption() 887 << ports_[i]->GetError(); in SetOption() [all …]
|
D | p2ptransportchannel.h | 110 const std::vector<PortInterface*>& ports() { return ports_; } in ports() 273 std::vector<PortInterface *> ports_; variable
|
/external/grpc-grpc/src/cpp/server/ |
D | server_builder.cc | 172 ports_.push_back(port); in AddListeningPort() 332 for (auto port = ports_.begin(); port != ports_.end(); port++) { in BuildAndStart()
|
/external/grpc-grpc/include/grpcpp/ |
D | server_builder.h | 234 std::vector<Port> ports() { return ports_; } in ports() 280 std::vector<Port> ports_; variable
|