Lines Matching refs:MockWrite
36 MockWrite writes[],
78 MockWrite writes[], in BuildMockSocket()
114 MockWrite data_writes[] = { in TEST_F()
115 MockWrite(true, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength), in TEST_F()
116 MockWrite(true, kOkRequest, arraysize(kOkRequest)), in TEST_F()
117 MockWrite(true, payload_write.data(), payload_write.size()) }; in TEST_F()
184 MockWrite data_writes[] = { in TEST_F()
185 MockWrite(false, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength), in TEST_F()
186 MockWrite(false, request.data(), request.size()) in TEST_F()
213 MockWrite data_writes[] = {MockWrite()}; in TEST_F()
244 MockWrite data_writes[] = { in TEST_F()
245 MockWrite(true, arraysize(partial1)), in TEST_F()
246 MockWrite(true, partial2, arraysize(partial2)), in TEST_F()
247 MockWrite(true, kOkRequest, arraysize(kOkRequest)) }; in TEST_F()
275 MockWrite data_writes[] = { in TEST_F()
276 MockWrite(true, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength), in TEST_F()
277 MockWrite(true, kOkRequest, arraysize(kOkRequest)) }; in TEST_F()
303 MockWrite data_writes[] = { in TEST_F()
304 MockWrite(true, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength), in TEST_F()
305 MockWrite(true, kOkRequest, kSplitPoint), in TEST_F()
306 MockWrite(true, kOkRequest + kSplitPoint, in TEST_F()
332 MockWrite data_writes[] = { in TEST_F()
333 MockWrite(true, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength), in TEST_F()
334 MockWrite(true, kOkRequest, arraysize(kOkRequest)) in TEST_F()