Lines Matching refs:plugin_id
35 mysqlnd_plugin__get_plugin_connection_data(const MYSQLND * conn, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_connection_data() argument
38 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_connection_data()
39 if (!conn || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_connection_data()
42 DBG_RETURN((void *)((char *)conn + sizeof(MYSQLND) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_connection_data()
49 …ugin__get_plugin_connection_data_data(const MYSQLND_CONN_DATA * conn, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_connection_data_data() argument
52 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_connection_data_data()
53 if (!conn || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_connection_data_data()
56 DBG_RETURN((void *)((char *)conn + sizeof(MYSQLND_CONN_DATA) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_connection_data_data()
63 mysqlnd_plugin__get_plugin_result_data(const MYSQLND_RES * result, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_result_data() argument
66 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_result_data()
67 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_data()
70 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_result_data()
77 …_plugin_result_unbuffered_data(const MYSQLND_RES_UNBUFFERED * result, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_result_unbuffered_data() argument
80 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_result_unbuffered_data()
81 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_unbuffered_data()
84 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_UNBUFFERED) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_result_unbuffered_data()
91 …n_result_buffered_data_zval(const MYSQLND_RES_BUFFERED_ZVAL * result, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_result_buffered_data_zval() argument
94 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_result_buffered_data_zval()
95 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_buffered_data_zval()
98 …DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_BUFFERED_ZVAL) + plugin_id * sizeof(void *… in mysqlnd_plugin__get_plugin_result_buffered_data_zval()
104 …_plugin_result_buffered_data_c(const MYSQLND_RES_BUFFERED_C * result, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_result_buffered_data_c() argument
107 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_result_buffered_data_c()
108 if (!result || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_result_buffered_data_c()
111 DBG_RETURN((void *)((char *)result + sizeof(MYSQLND_RES_BUFFERED_C) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_result_buffered_data_c()
118 …otocol_data(const MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * factory, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_protocol_data() argument
121 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_protocol_data()
122 if (!factory || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_protocol_data()
125 …DBG_RETURN((void *)((char *)factory + sizeof(MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY) + plugin_id… in mysqlnd_plugin__get_plugin_protocol_data()
132 mysqlnd_plugin__get_plugin_stmt_data(const MYSQLND_STMT * stmt, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_stmt_data() argument
135 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_stmt_data()
136 if (!stmt || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_stmt_data()
139 DBG_RETURN((void *)((char *)stmt + sizeof(MYSQLND_STMT) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_stmt_data()
146 mysqlnd_plugin__get_plugin_pfc_data(const MYSQLND_PFC * pfc, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_pfc_data() argument
149 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_pfc_data()
150 if (!pfc || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_pfc_data()
153 DBG_RETURN((void *)((char *)pfc + sizeof(MYSQLND_PFC) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_pfc_data()
160 mysqlnd_plugin__get_plugin_vio_data(const MYSQLND_VIO * vio, const unsigned int plugin_id) in mysqlnd_plugin__get_plugin_vio_data() argument
163 DBG_INF_FMT("plugin_id=%u", plugin_id); in mysqlnd_plugin__get_plugin_vio_data()
164 if (!vio || plugin_id >= mysqlnd_plugin_count()) { in mysqlnd_plugin__get_plugin_vio_data()
167 DBG_RETURN((void *)((char *)vio + sizeof(MYSQLND_VIO) + plugin_id * sizeof(void *))); in mysqlnd_plugin__get_plugin_vio_data()