OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SyncSocket
(Results
1 - 3
of
3
) sorted by null
/external/qemu/android/
sync-utils.h
29
typedef struct
SyncSocket
SyncSocket
;
40
* Initialized
SyncSocket
descriptor on success, or NULL on failure.
42
SyncSocket
* syncsocket_connect(int fd, SockAddress* sockaddr, int timeout);
51
* Initialized
SyncSocket
descriptor on success, or NULL on failure.
53
SyncSocket
* syncsocket_init(int fd);
56
* Closes
SyncSocket
descriptor obtained from syncsocket_connect routine.
58
* ssocket -
SyncSocket
descriptor obtained from syncsocket_connect routine.
60
void syncsocket_close(
SyncSocket
* ssocket);
63
* Frees memory allocated for
SyncSocket
descriptor obtained fro
[
all
...]
sync-utils.c
32
struct
SyncSocket
{
40
SyncSocket
*
43
SyncSocket
* sync_socket;
53
SyncSocket
*
58
SyncSocket
* sync_socket = NULL;
87
// We're now connected. Lets initialize
SyncSocket
instance
89
sync_socket = malloc(sizeof(
SyncSocket
));
102
syncsocket_close(
SyncSocket
* ssocket)
114
syncsocket_free(
SyncSocket
* ssocket)
125
syncsocket_start_read(
SyncSocket
* ssocket
[
all
...]
/external/chromium/base/
sync_socket.h
23
class BASE_API
SyncSocket
{
31
// Creates a
SyncSocket
from a Handle. Used in transport.
32
explicit
SyncSocket
(Handle handle) : handle_(handle) { }
33
~
SyncSocket
() { Close(); }
38
static bool CreatePair(
SyncSocket
* pair[2]);
40
// Closes the
SyncSocket
. Returns true on success, false on failure.
43
// Sends the message to the remote peer of the
SyncSocket
.
51
// Receives a message from an
SyncSocket
.
70
DISALLOW_COPY_AND_ASSIGN(
SyncSocket
);
Completed in 494 milliseconds