Lines Matching refs:to_be_sent
309 size_t to_be_sent; in MYSQLND_METHOD() local
321 to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); in MYSQLND_METHOD()
325 size_t tmp_complen = to_be_sent; in MYSQLND_METHOD()
330 int3store(uncompressed_payload, to_be_sent); in MYSQLND_METHOD()
333 uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE TSRMLS_CC)) in MYSQLND_METHOD()
335 int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent + MYSQLND_HEADER_SIZE); in MYSQLND_METHOD()
339 … + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, uncompressed_payload, to_be_sent + MYSQLND_HEADER… in MYSQLND_METHOD()
340 payload_size = to_be_sent + MYSQLND_HEADER_SIZE; in MYSQLND_METHOD()
377 int3store(p, to_be_sent); in MYSQLND_METHOD()
379 …bytes_sent = net->m.network_write_ex(net, p, to_be_sent + MYSQLND_HEADER_SIZE, conn_stats, error_i… in MYSQLND_METHOD()
385 p += to_be_sent; in MYSQLND_METHOD()
386 left -= to_be_sent; in MYSQLND_METHOD()
395 } while (bytes_sent && (left > 0 || to_be_sent == MYSQLND_MAX_PACKET_SIZE)); in MYSQLND_METHOD()