Lines Matching refs:xcb_connection_t
94 static int is_static_error_conn(xcb_connection_t *c)
96 return c == (xcb_connection_t *) &xcb_con_error ||
97 c == (xcb_connection_t *) &xcb_con_closed_mem_er ||
98 c == (xcb_connection_t *) &xcb_con_closed_parse_er ||
99 c == (xcb_connection_t *) &xcb_con_closed_screen_er;
127 static int write_setup(xcb_connection_t *c, xcb_auth_info_t *auth_info)
171 static int read_setup(xcb_connection_t *c)
217 static int write_vec(xcb_connection_t *c, struct iovec **vector, int *count)
332 const xcb_setup_t *xcb_get_setup(xcb_connection_t *c)
340 int xcb_get_file_descriptor(xcb_connection_t *c)
348 int xcb_connection_has_error(xcb_connection_t *c)
354 xcb_connection_t *xcb_connect_to_fd(int fd, xcb_auth_info_t *auth_info)
356 xcb_connection_t* c;
368 c = calloc(1, sizeof(xcb_connection_t));
398 void xcb_disconnect(xcb_connection_t *c)
429 void _xcb_conn_shutdown(xcb_connection_t *c, int err)
437 * has_error is the first field in xcb_connection_t, so just
441 xcb_connection_t *_xcb_conn_ret_error(int err)
448 return (xcb_connection_t *) &xcb_con_closed_mem_er;
452 return (xcb_connection_t *) &xcb_con_closed_parse_er;
456 return (xcb_connection_t *) &xcb_con_closed_screen_er;
461 return (xcb_connection_t *) &xcb_con_error;
466 int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vector, int *count)
563 uint64_t xcb_total_read(xcb_connection_t *c)
576 uint64_t xcb_total_written(xcb_connection_t *c)