Lines Matching refs:vio
142 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
146 …if (!data->protocol_frame_codec || !data->vio || !data->payload_decoder_factory || !data->command)… in MYSQLND_METHOD()
273 MYSQLND_VIO * vio = mnd_pecalloc(1, vio_alloc_size + vio_data_alloc_size, persistent); in MYSQLND_METHOD() local
277 if (vio) { in MYSQLND_METHOD()
278 vio->data = (MYSQLND_VIO_DATA*)((char*)vio + vio_alloc_size); in MYSQLND_METHOD()
279 vio->persistent = vio->data->persistent = persistent; in MYSQLND_METHOD()
280 vio->data->m = *mysqlnd_vio_get_methods(); in MYSQLND_METHOD()
282 if (PASS != vio->data->m.init(vio, stats, error_info)) { in MYSQLND_METHOD()
283 vio->data->m.dtor(vio, stats, error_info); in MYSQLND_METHOD()
284 vio = NULL; in MYSQLND_METHOD()
287 DBG_RETURN(vio); in MYSQLND_METHOD()