/external/chromium_org/base/ |
sync_socket_nacl.cc | 17 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1; 19 SyncSocket::SyncSocket() : handle_(kInvalidHandle) { 22 SyncSocket::~SyncSocket() { 26 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { 30 bool SyncSocket::Close() [all...] |
sync_socket.h | 24 class BASE_EXPORT SyncSocket { 33 SyncSocket(); 35 // Creates a SyncSocket from a Handle. Used in transport. 36 explicit SyncSocket(Handle handle) : handle_(handle) {} 37 virtual ~SyncSocket(); 42 static bool CreatePair(SyncSocket* socket_a, SyncSocket* socket_b); 44 // Closes the SyncSocket. Returns true on success, false on failure. 47 // Sends the message to the remote peer of the SyncSocket. 55 // Receives a message from an SyncSocket [all...] |
sync_socket_posix.cc | 32 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1; 34 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} 36 SyncSocket::~SyncSocket() { 41 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { 84 bool SyncSocket::Close() [all...] |
sync_socket_win.cc | 31 DCHECK(*socket_a == SyncSocket::kInvalidHandle); 32 DCHECK(*socket_b == SyncSocket::kInvalidHandle); 172 const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE; 175 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} 177 SyncSocket::~SyncSocket() { 182 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) [all...] |
/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/chromium_org/content/renderer/pepper/ |
audio_helper.h | 27 base::SyncSocket::Handle socket); 42 base::SyncSocket::Handle socket_handle) = 0; 53 scoped_ptr<base::SyncSocket> socket_for_create_callback_;
|
pepper_audio_input_host.h | 39 base::SyncSocket::Handle socket); 54 base::SyncSocket::Handle socket_handle); 57 const base::SyncSocket& socket,
|
pepper_broker.cc | 25 base::SyncSocket::Handle DuplicateHandle(base::SyncSocket::Handle handle) { 26 base::SyncSocket::Handle out_handle = base::kInvalidPlatformFileValue; 88 base::SyncSocket::Handle handle) { 101 base::SyncSocket temp_socket( 233 base::SyncSocket::Handle plugin_handle = base::kInvalidPlatformFileValue; 238 scoped_ptr<base::SyncSocket> broker_socket(new base::SyncSocket()); 239 scoped_ptr<base::SyncSocket> plugin_socket(new base::SyncSocket()); [all...] |
pepper_audio_input_host.cc | 29 base::PlatformFile ConvertSyncSocketHandle(const base::SyncSocket& socket) { 84 base::SyncSocket::Handle socket) { 90 base::SyncSocket::kInvalidHandle); 149 base::SyncSocket::Handle socket_handle) { 151 base::SyncSocket scoped_socket(socket_handle); 195 const base::SyncSocket& socket,
|
audio_helper.cc | 57 base::SyncSocket::Handle socket_handle) { 65 socket_for_create_callback_.reset(new base::SyncSocket(socket_handle));
|
pepper_platform_audio_output.h | 53 base::SyncSocket::Handle socket_handle,
|
/external/chromium_org/media/audio/ |
async_socket_io_handler_posix.cc | 14 : socket_(base::SyncSocket::kInvalidHandle), 67 bool AsyncSocketIoHandler::Initialize(base::SyncSocket::Handle socket, 69 DCHECK_EQ(socket_, base::SyncSocket::kInvalidHandle); 76 // SyncSocket is blocking by default, so let's convert it to non-blocking. 91 if (!is_watching_ && socket_ != base::SyncSocket::kInvalidHandle) {
|
async_socket_io_handler_win.cc | 10 : socket_(base::SyncSocket::kInvalidHandle), 45 DCHECK_NE(socket_, base::SyncSocket::kInvalidHandle); 58 bool AsyncSocketIoHandler::Initialize(base::SyncSocket::Handle socket, 61 DCHECK_EQ(socket_, base::SyncSocket::kInvalidHandle);
|
async_socket_io_handler.h | 70 bool Initialize(base::SyncSocket::Handle socket, 93 base::SyncSocket::Handle socket_;
|
audio_output_ipc.h | 41 base::SyncSocket::Handle socket_handle,
|
audio_input_ipc.h | 36 base::SyncSocket::Handle socket_handle,
|
/external/chromium_org/ipc/ |
sync_socket_unittest.cc | 28 // Message class to pass a base::SyncSocket::Handle to another process. This 32 IPC_MESSAGE_CONTROL1(MsgClassSetHandle, base::SyncSocket::Handle) 47 const char kHelloString[] = "Hello, SyncSocket Client"; 50 // The SyncSocket server listener class processes two sorts of 73 // the handle for the SyncSocket. This message sends a buffer 74 // on the SyncSocket and then sends a response to the client. 76 void OnMsgClassSetHandle(const base::SyncSocket::Handle handle) { 87 void SetHandle(base::SyncSocket::Handle handle) { 88 base::SyncSocket sync_socket(handle); 120 // The SyncSocket client listener only processes one sort of message [all...] |
/external/chromium_org/content/common/media/ |
audio_messages.h | 36 // buffer it shares with the browser process. It is also given a SyncSocket that 43 base::SyncSocket::Handle /* socket handle */, 54 // The renderer process would be given a SyncSocket that it should read 60 base::SyncSocket::Handle /* socket handle */,
|
/external/chromium_org/ppapi/proxy/ |
broker_dispatcher.cc | 52 base::SyncSocket::Handle socket_handle = 63 base::SyncSocket temp_socket(socket_handle);
|
/external/chromium_org/content/browser/renderer_host/media/ |
audio_input_sync_writer.h | 18 // A AudioInputController::SyncWriter implementation using SyncSocket. This 37 base::SyncSocket::Handle* foreign_handle);
|
audio_sync_reader.h | 22 // A AudioOutputController::SyncReader implementation using SyncSocket. This 44 base::SyncSocket::Handle* foreign_handle);
|