Lines Matching defs:setup
176 c->setup = malloc(sizeof(xcb_setup_generic_t));
177 if(!c->setup)
180 if(_xcb_in_read_block(c, c->setup, sizeof(xcb_setup_generic_t)) != sizeof(xcb_setup_generic_t))
184 void *tmp = realloc(c->setup, c->setup->length * 4 + sizeof(xcb_setup_generic_t));
187 c->setup = tmp;
190 if(_xcb_in_read_block(c, (char *) c->setup + sizeof(xcb_setup_generic_t), c->setup->length * 4) <= 0)
194 switch(c->setup->status)
198 xcb_setup_failed_t *setup = (xcb_setup_failed_t *) c->setup;
199 write(STDERR_FILENO, xcb_setup_failed_reason(setup), xcb_setup_failed_reason_length(setup));
206 xcb_setup_authenticate_t *setup = (xcb_setup_authenticate_t *) c->setup;
207 write(STDERR_FILENO, xcb_setup_authenticate_reason(setup), xcb_setup_authenticate_reason_length(setup));
337 return c->setup;
403 free(c->setup);