Lines Matching refs:instance_

49   if (!GetLocalHostPort(instance_->pp_instance(), &host, &port))
52 if (!ResolveHost(instance_->pp_instance(), host, port, &addr_))
70 pp::TCPSocket socket(instance_);
71 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
90 pp::TCPSocket socket(instance_);
91 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
120 pp::TCPSocket socket(instance_);
121 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
138 pp::TCPSocket socket(instance_);
139 TestCompletionCallback cb_1(instance_->pp_instance(), callback_type());
140 TestCompletionCallback cb_2(instance_->pp_instance(), callback_type());
141 TestCompletionCallback cb_3(instance_->pp_instance(), callback_type());
192 pp::TCPSocket server_socket(instance_);
198 accept_callback(instance_->pp_instance(), PP_REQUIRED);
202 current_thread_loop = pp::MessageLoop(instance_);
209 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
211 client_socket = pp::TCPSocket(instance_);
254 pp::TCPSocket server_socket(instance_);
262 client_sockets[i] = new pp::TCPSocket(instance_);
263 connect_callbacks[i] = new TestCompletionCallback(instance_->pp_instance(),
272 instance_->pp_instance(), callback_type());
317 PP_Resource socket = socket_interface_1_0_->Create(instance_->pp_instance());
320 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
344 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
365 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
385 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
402 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
419 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
432 pp::TCPSocket socket(instance_);
433 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
438 ASSERT_TRUE(ReplacePort(instance_->pp_instance(), socket.GetLocalAddress(), 0,
448 TestCompletionCallback callback(instance_->pp_instance(), callback_type());