Searched refs:TestSocketRequest (Results 1 – 5 of 5) sorted by relevance
/external/cronet/net/socket/ |
D | socket_test_util.h | 1063 class TestSocketRequest : public TestCompletionCallbackBase { 1065 TestSocketRequest(std::vector<TestSocketRequest*>* request_order, 1068 TestSocketRequest(const TestSocketRequest&) = delete; 1069 TestSocketRequest& operator=(const TestSocketRequest&) = delete; 1071 ~TestSocketRequest() override; 1076 return base::BindOnce(&TestSocketRequest::OnComplete, in callback() 1084 raw_ptr<std::vector<TestSocketRequest*>> request_order_; 1115 TestSocketRequest* request( in StartRequestUsingPool() 1116 new TestSocketRequest(&request_order_, &completion_count_)); in StartRequestUsingPool() 1142 TestSocketRequest* request(int i) { return requests_[i].get(); } in request() [all …]
|
D | socket_test_util.cc | 1794 TestSocketRequest::TestSocketRequest( in TestSocketRequest() function in net::TestSocketRequest 1795 std::vector<TestSocketRequest*>* request_order, in TestSocketRequest() 1802 TestSocketRequest::~TestSocketRequest() = default; 1804 void TestSocketRequest::OnComplete(int result) { in OnComplete() 1832 for (std::unique_ptr<TestSocketRequest>& it : requests_) { in ReleaseOneConnection()
|
D | client_socket_pool_base_unittest.cc | 688 TestSocketRequest* request(int i) { return test_base_.request(i); } in request() 690 std::vector<std::unique_ptr<TestSocketRequest>>* requests() { in requests() 2244 std::vector<TestSocketRequest*> request_order; in TEST_F() 2246 TestSocketRequest req1(&request_order, &completion_count); in TEST_F() 2258 TestSocketRequest req2(&request_order, &completion_count); in TEST_F() 2264 TestSocketRequest req3(&request_order, &completion_count); in TEST_F() 2299 std::vector<TestSocketRequest*> request_order; in TEST_F() 2301 TestSocketRequest req1(&request_order, &completion_count); in TEST_F() 2308 TestSocketRequest req2(&request_order, &completion_count); in TEST_F() 2318 TestSocketRequest req3(&request_order, &completion_count); in TEST_F()
|
D | websocket_transport_client_socket_pool_unittest.cc | 147 TestSocketRequest* request(int i) { return test_base_.request(i); } in request() 149 std::vector<std::unique_ptr<TestSocketRequest>>* requests() { in requests()
|
D | transport_client_socket_pool_unittest.cc | 188 std::vector<std::unique_ptr<TestSocketRequest>>* requests() { in requests()
|