OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SyncSocket
(Results
1 - 12
of
12
) 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
);
sync_socket_posix.cc
25
static const
SyncSocket
::Handle kInvalidHandle = -1;
29
bool
SyncSocket
::CreatePair(
SyncSocket
* pair[2]) {
31
SyncSocket
* tmp_sockets[2] = { NULL, NULL };
36
// Create the two
SyncSocket
objects first to avoid ugly cleanup issues.
37
tmp_sockets[0] = new
SyncSocket
(kInvalidHandle);
41
tmp_sockets[1] = new
SyncSocket
(kInvalidHandle);
79
bool
SyncSocket
::Close() {
90
size_t
SyncSocket
::Send(const void* buffer, size_t length) {
97
size_t
SyncSocket
::Receive(void* buffer, size_t length)
[
all
...]
sync_socket_win.cc
31
static const
SyncSocket
::Handle kInvalidHandle = INVALID_HANDLE_VALUE;
35
bool
SyncSocket
::CreatePair(
SyncSocket
* pair[2]) {
37
SyncSocket
* tmp_sockets[2];
39
// Create the two
SyncSocket
objects first to avoid ugly cleanup issues.
40
tmp_sockets[0] = new
SyncSocket
(kInvalidHandle);
44
tmp_sockets[1] = new
SyncSocket
(kInvalidHandle);
101
bool
SyncSocket
::Close() {
110
size_t
SyncSocket
::Send(const void* buffer, size_t length) {
127
size_t
SyncSocket
::Receive(void* buffer, size_t length)
[
all
...]
/external/qemu/android/protocol/
core-connection.h
42
SyncSocket
* core_connection_open_socket(SockAddress* sockaddr);
core-connection.c
31
SyncSocket
* ssocket;
83
SyncSocket
*
86
SyncSocket
* ssocket;
ui-commands-proxy.c
37
SyncSocket
* sync_writer;
user-events-proxy.c
31
SyncSocket
* sync_writer;
core-commands-proxy.c
38
SyncSocket
* sync_writer;
41
SyncSocket
* sync_reader;
fb-updates-impl.c
228
SyncSocket
* sk = syncsocket_init(fbi->sock);
core-commands-impl.c
53
SyncSocket
* sync_writer;
Completed in 240 milliseconds