Lines Matching refs:compress_buf
74 zend_uchar * compress_buf = NULL; in MYSQLND_METHOD() local
83 compress_buf = mnd_emalloc(comp_buf_size); in MYSQLND_METHOD()
102 …if (PASS == pfc->data->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tm… in MYSQLND_METHOD()
105 int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent + MYSQLND_HEADER_SIZE); in MYSQLND_METHOD()
108 int3store(compress_buf + MYSQLND_HEADER_SIZE, 0); in MYSQLND_METHOD()
109 …memcpy(compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, uncompressed_payload, to_be_se… in MYSQLND_METHOD()
114 int3store(compress_buf, payload_size); in MYSQLND_METHOD()
115 int1store(compress_buf + 3, pfc->data->packet_no); in MYSQLND_METHOD()
117 …bytes_sent = vio->data->m.network_write(vio, compress_buf, payload_size + MYSQLND_HEADER_SIZE + CO… in MYSQLND_METHOD()
124 compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); in MYSQLND_METHOD()
173 if (compress_buf) { in MYSQLND_METHOD()
174 mnd_efree(compress_buf); in MYSQLND_METHOD()