Home
last modified time | relevance | path

Searched refs:write_connection (Results 1 – 2 of 2) sorted by relevance

/external/wayland/tests/
Dos-wrappers-test.c206 struct wl_connection *write_connection; member
227 data->write_connection = wl_connection_create(data->s[1]); in setup_marshal_data()
228 assert(data->write_connection); in setup_marshal_data()
249 assert(wl_closure_send(closure, data->write_connection) == 0); in marshal_demarshal()
251 assert(wl_connection_flush(data->write_connection) == size); in marshal_demarshal()
Dconnection-test.c135 struct wl_connection *write_connection; member
153 data->write_connection = wl_connection_create(data->s[1]); in setup_marshal_data()
154 assert(data->write_connection); in setup_marshal_data()
161 close(wl_connection_destroy(data->write_connection)); in release_marshal_data()
178 assert(wl_closure_send(closure, data->write_connection) == 0); in marshal()
180 assert(wl_connection_flush(data->write_connection) == size); in marshal()
263 assert(wl_closure_send(closure, data->write_connection) < 0); in expected_fail_marshal_send()
442 assert(wl_closure_send(closure, data->write_connection) == 0); in marshal_demarshal()
444 assert(wl_connection_flush(data->write_connection) == size); in marshal_demarshal()