Lines Matching refs:write_data
100 void *write_data; member
391 if (u->write_data) { in do_write()
394 …if ((r = pa_iochannel_write(u->io, (uint8_t*) u->write_data + u->write_index, u->write_length - u-… in do_write()
403 pa_xfree(u->write_data); in do_write()
404 u->write_data = NULL; in do_write()
409 if (!u->write_data && u->state == STATE_PREPARE) { in do_write()
456 pa_assert(!u->write_data); in handle_response()
457 … *(int32_t*) (u->write_data = pa_xmalloc(u->write_length = sizeof(int32_t))) = ESD_PROTO_LATENCY; in handle_response()
481 pa_assert(!u->write_data); in handle_response()
482 p = u->write_data = pa_xmalloc0(u->write_length = sizeof(int32_t)*3+ESD_NAME_MAX); in handle_response()
633 u->read_data = u->write_data = NULL; in pa__init()
688 u->write_data = pa_xmalloc(u->write_length = ESD_KEY_LEN + sizeof(int32_t)); in pa__init()
690 r = pa_authkey_load(cookie_path, true, u->write_data, ESD_KEY_LEN); in pa__init()
698 memcpy((uint8_t*) u->write_data + ESD_KEY_LEN, &key, sizeof(key)); in pa__init()
768 pa_xfree(u->write_data); in pa__done()