Lines Matching refs:opaque
56 /* Opaque pointer returned from adb_server_register_guest API. */
57 void* opaque;
81 * opaque - AdbClient instance.
82 * connection - An opaque pointer that identifies connection with the ADB host.
85 _adb_on_host_connected(void* opaque, void* connection)
87 AdbClient* const adb_client = (AdbClient*)opaque;
91 adb_client, adb_client->opaque, connection);
108 * opaque - AdbClient instance.
109 * connection - An opaque pointer that identifies connection with the ADB host.
112 _adb_on_host_disconnect(void* opaque, void* connection)
114 AdbClient* const adb_client = (AdbClient*)opaque;
117 adb_client, adb_client->opaque, connection);
123 * opaque - AdbClient instance.
124 * connection - An opaque pointer that identifies connection with the ADB host.
128 _adb_on_host_data(void* opaque, void* connection, const void* buff, int size)
130 AdbClient* const adb_client = (AdbClient*)opaque;
132 adb_client, adb_client->opaque, connection, size, QB(buff, size));
139 connection, adb_client, adb_client->opaque, adb_client->state);
179 * opaque - AdbClient instance.
184 _adb_client_recv(void* opaque, uint8_t* msg, int msglen, QemudClient* client)
186 AdbClient* const adb_client = (AdbClient*)opaque;
189 adb_client, adb_client->opaque, msglen, QB(msg, msglen));
193 adb_server_on_guest_message(adb_client->opaque, msg, msglen);
222 adb_client->opaque =
224 if (adb_client->opaque == NULL) {
241 adb_server_complete_connection(adb_client->opaque);
256 _adb_client_close(void* opaque)
258 AdbClient* const adb_client = (AdbClient*)opaque;
261 adb_client, adb_client->opaque);
263 if (adb_client->opaque != NULL) {
265 adb_server_on_guest_closed(adb_client->opaque);
276 _adb_service_connect(void* opaque,
323 * opaque - AdbDbgClient instance.
328 _adb_dbg_client_recv(void* opaque, uint8_t* msg, int msglen, QemudClient* client)
338 _adb_dbg_client_close(void* opaque)
340 AdbDbgClient* const adb_dbg_client = (AdbDbgClient*)opaque;
351 _adb_debug_service_connect(void* opaque,