OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MockRead
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/socket/
socket_test_util.h
41
// If the |result| member of a
MockRead
is
42
// ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, that
MockRead
is just a
44
//
MockRead
. The other members of that
MockRead
are ignored.
62
struct
MockRead
{
69
MockRead
() : async(false), result(0), data(NULL), data_len(0),
73
MockRead
(bool async, int result) : async(async) , result(result), data(NULL),
77
MockRead
(bool async, int result, int seq) : async(async) , result(result),
82
explicit
MockRead
(const char* data) : async(true), result(0), data(data),
87
MockRead
(bool async, const char* data) : async(async), result(0), data(data)
[
all
...]
/external/chromium_org/net/socket/
socket_test_util.h
41
// If the |result| member of a
MockRead
is
42
// ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, that
MockRead
is just a
44
//
MockRead
. The other members of that
MockRead
are ignored.
75
//
MockRead
and MockWrite shares the same interface and members, but we'd like
77
// interchangably. To do this, a struct template is defined, and
MockRead
and
82
// |data| in
MockRead
and MockWrite has different meanings: |data| in
MockRead
150
typedef MockReadWrite<MOCK_READ>
MockRead
;
171
// If the |
MockRead
.result| is ERR_IO_PENDING, it informs the calle
[
all
...]
Completed in 62 milliseconds