/external/webrtc/p2p/base/ |
D | basic_packet_socket_factory.cc | 38 SocketFactory* socket_factory) in BasicPacketSocketFactory() argument 39 : thread_(NULL), socket_factory_(socket_factory) {} in BasicPacketSocketFactory() 49 socket_factory()->CreateAsyncSocket(address.family(), SOCK_DGRAM); in CreateUdpSocket() 73 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateServerTcpSocket() 107 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateClientTcpSocket() 212 SocketFactory* BasicPacketSocketFactory::socket_factory() { in socket_factory() function in rtc::BasicPacketSocketFactory
|
D | basic_packet_socket_factory.h | 28 explicit BasicPacketSocketFactory(SocketFactory* socket_factory); 53 SocketFactory* socket_factory();
|
D | port_unittest.cc | 506 PacketSocketFactory* socket_factory) { in CreateUdpPort() argument 507 return UDPPort::Create(&main_, socket_factory, MakeNetwork(addr), 0, 0, in CreateUdpPort() 515 PacketSocketFactory* socket_factory) { in CreateTcpPort() argument 516 return TCPPort::Create(&main_, socket_factory, MakeNetwork(addr), 0, 0, in CreateTcpPort() 533 PacketSocketFactory* socket_factory, in CreateTurnPort() argument 538 return CreateTurnPort(addr, socket_factory, int_proto, ext_proto, in CreateTurnPort() 543 PacketSocketFactory* socket_factory, in CreateTurnPort() argument 547 return TurnPort::Create(&main_, socket_factory, MakeNetwork(addr), 0, 0, in CreateTurnPort() 1491 FakePacketSocketFactory socket_factory; in TEST_F() local 1493 socket_factory.set_next_udp_socket(socket); in TEST_F() [all …]
|
D | tcp_port.cc | 293 socket_ = socket_factory()->CreateServerTcpSocket( in TryCreateServerSocket() 568 socket_.reset(port()->socket_factory()->CreateClientTcpSocket( in CreateOutgoingTcpSocket()
|
D | stun_port.cc | 218 socket_ = socket_factory()->CreateUdpSocket( in Init() 435 resolver_.reset(new AddressResolver(socket_factory())); in ResolveStunAddress()
|
D | port.h | 214 rtc::PacketSocketFactory* socket_factory() const { return factory_; } in socket_factory() function
|
D | turn_port.cc | 386 socket_ = socket_factory()->CreateUdpSocket( in CreateTurnClientSocket() 408 socket_ = socket_factory()->CreateClientTcpSocket( in CreateTurnClientSocket() 800 resolver_ = socket_factory()->CreateAsyncResolver(); in ResolveTurnAddress()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | udp_server.cc | 169 grpc_socket_factory* socket_factory; member 213 s->socket_factory = get_socket_factory(args); in grpc_udp_server_create() 214 if (s->socket_factory) { in grpc_udp_server_create() 215 grpc_socket_factory_ref(s->socket_factory); in grpc_udp_server_create() 256 if (s->socket_factory) { in finish_shutdown() 257 grpc_socket_factory_unref(s->socket_factory); in finish_shutdown() 346 static int bind_socket(grpc_socket_factory* socket_factory, int sockfd, in bind_socket() argument 348 return (socket_factory != nullptr) in bind_socket() 349 ? grpc_socket_factory_bind(socket_factory, sockfd, addr) in bind_socket() 357 static int prepare_socket(grpc_socket_factory* socket_factory, int fd, in prepare_socket() argument [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | udp_server.cc | 170 grpc_socket_factory* socket_factory; member 213 s->socket_factory = get_socket_factory(args); in grpc_udp_server_create() 214 if (s->socket_factory) { in grpc_udp_server_create() 215 grpc_socket_factory_ref(s->socket_factory); in grpc_udp_server_create() 257 if (s->socket_factory) { in finish_shutdown() 258 grpc_socket_factory_unref(s->socket_factory); in finish_shutdown() 347 static int bind_socket(grpc_socket_factory* socket_factory, int sockfd, in bind_socket() argument 349 return (socket_factory != nullptr) in bind_socket() 350 ? grpc_socket_factory_bind(socket_factory, sockfd, addr) in bind_socket() 358 static int prepare_socket(grpc_socket_factory* socket_factory, int fd, in prepare_socket() argument [all …]
|
/external/webrtc/p2p/stunprober/ |
D | stun_prober_unittest.cc | 57 void StartProbing(rtc::PacketSocketFactory* socket_factory, in StartProbing() argument 64 new StunProber(socket_factory, rtc::Thread::Current(), networks)); in StartProbing() 85 std::unique_ptr<rtc::BasicPacketSocketFactory> socket_factory( in RunProber() local 98 StartProbing(socket_factory.get(), addrs, networks, shared_mode, 3, in RunProber()
|
D | stun_prober.h | 100 StunProber(rtc::PacketSocketFactory* socket_factory,
|
D | stun_prober.cc | 256 StunProber::StunProber(rtc::PacketSocketFactory* socket_factory, in StunProber() argument 260 socket_factory_(socket_factory), in StunProber()
|
/external/grpc-grpc/test/core/iomgr/ |
D | udp_server_test.cc | 238 test_socket_factory* socket_factory = test_socket_factory_create(); in test_no_op_with_port_and_socket_factory() local 240 grpc_socket_factory_to_arg(&socket_factory->base); in test_no_op_with_port_and_socket_factory() 254 GPR_ASSERT(socket_factory->number_of_socket_calls == g_num_listeners); in test_no_op_with_port_and_socket_factory() 255 GPR_ASSERT(socket_factory->number_of_bind_calls == g_num_listeners); in test_no_op_with_port_and_socket_factory() 259 grpc_socket_factory_unref(&socket_factory->base); in test_no_op_with_port_and_socket_factory()
|
/external/webrtc/p2p/client/ |
D | turn_port_factory.cc | 27 args.network_thread, args.socket_factory, args.network, udp_socket, in Create() 40 args.network_thread, args.socket_factory, args.network, min_port, in Create()
|
D | basic_port_allocator.h | 34 rtc::PacketSocketFactory* socket_factory, 41 rtc::PacketSocketFactory* socket_factory, 59 rtc::PacketSocketFactory* socket_factory() { in socket_factory() function 121 rtc::PacketSocketFactory* socket_factory() { return socket_factory_; } in socket_factory() function
|
D | basic_port_allocator.cc | 156 rtc::PacketSocketFactory* socket_factory, in BasicPortAllocator() argument 159 : network_manager_(network_manager), socket_factory_(socket_factory) { in BasicPortAllocator() 182 rtc::PacketSocketFactory* socket_factory, in BasicPortAllocator() argument 184 : network_manager_(network_manager), socket_factory_(socket_factory) { in BasicPortAllocator() 266 socket_factory_(allocator->socket_factory()), in BasicPortAllocatorSession() 1237 udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( in Init() 1408 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts() 1414 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts() 1450 session_->network_thread(), session_->socket_factory(), network_, in CreateTCPPorts() 1478 session_->network_thread(), session_->socket_factory(), network_, in CreateStunPorts() [all …]
|
D | relay_port_factory_interface.h | 40 rtc::PacketSocketFactory* socket_factory; member
|
/external/webrtc/examples/stunprober/ |
D | main.cc | 126 std::unique_ptr<rtc::BasicPacketSocketFactory> socket_factory( in main() local 133 new StunProber(socket_factory.get(), rtc::Thread::Current(), networks); in main()
|
/external/webrtc/rtc_base/ |
D | BUILD.gn | 717 rtc_source_set("socket_factory") { 721 # "socket_factory.h", 893 "socket_factory.h",
|
/external/webrtc/android_tools/ |
D | sorted_targets.txt | 24944 "//rtc_base/socket_factory.h",
|