Searched defs:MockRead (Results 1 – 1 of 1) sorted by relevance
/external/chromium/net/socket/ |
D | socket_test_util.h | 62 struct MockRead { struct 69 MockRead() : async(false), result(0), data(NULL), data_len(0), in MockRead() argument 73 MockRead(bool async, int result) : async(async) , result(result), data(NULL), in MockRead() argument 77 MockRead(bool async, int result, int seq) : async(async) , result(result), in MockRead() argument 82 explicit MockRead(const char* data) : async(true), result(0), data(data), in MockRead() function 87 MockRead(bool async, const char* data) : async(async), result(0), data(data), in MockRead() function 92 MockRead(bool async, const char* data, int data_len) : async(async), in MockRead() argument 97 MockRead(bool async, int seq, const char* data) : async(async), in MockRead() function 102 MockRead(bool async, const char* data, int data_len, int seq) : async(async), in MockRead() argument 119 // MockWrite uses the same member fields as MockRead, but with different argument
|