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