Lines Matching refs:MYSQLND_HEADER_SIZE
245 zend_uchar buffer[MYSQLND_HEADER_SIZE]; in mysqlnd_read_header()
249 if (FAIL == pfc->data->m.receive(pfc, vio, buffer, MYSQLND_HEADER_SIZE, conn_stats, error_info)) { in mysqlnd_read_header()
258 STAT_PROTOCOL_OVERHEAD_IN, MYSQLND_HEADER_SIZE, in mysqlnd_read_header()
329 MYSQLND_HEADER_SIZE + packet_header->size, in mysqlnd_read_packet_header_and_body()
500 #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH…
507 zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ in php_mysqlnd_auth_write()
627 …onst MYSQLND_CSTRING payload = {(char*) buffer + MYSQLND_HEADER_SIZE, p - (buffer + MYSQLND_HEADER… in php_mysqlnd_auth_write()
631 DBG_RETURN(ret == PASS? (p - buffer - MYSQLND_HEADER_SIZE) : 0); in php_mysqlnd_auth_write()
637 …const size_t sent = pfc->data->m.send(pfc, vio, buffer, p - buffer - MYSQLND_HEADER_SIZE, stats, e… in php_mysqlnd_auth_write()
771 size_t total_packet_size = packet->auth_data_len + MYSQLND_HEADER_SIZE; in php_mysqlnd_change_auth_response_write()
773 zend_uchar * p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ in php_mysqlnd_change_auth_response_write()
786 …const size_t sent = pfc->data->m.send(pfc, vio, buffer, p - buffer - MYSQLND_HEADER_SIZE, stats, e… in php_mysqlnd_change_auth_response_write()
987 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_cmd_write()
989 int1store(buffer + MYSQLND_HEADER_SIZE, packet->command); in php_mysqlnd_cmd_write()
992 size_t tmp_len = packet->argument.l + 1 + MYSQLND_HEADER_SIZE; in php_mysqlnd_cmd_write()
998 p = tmp + MYSQLND_HEADER_SIZE; /* skip the header */ in php_mysqlnd_cmd_write()
1005 sent = pfc->data->m.send(pfc, vio, tmp, tmp_len - MYSQLND_HEADER_SIZE, stats, error_info); in php_mysqlnd_cmd_write()
1677 MYSQLND_HEADER_SIZE + packet->header.size, in php_mysqlnd_rowp_read()
1954 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_sha256_pk_request_write()
1959 int1store(buffer + MYSQLND_HEADER_SIZE, '\1'); in php_mysqlnd_sha256_pk_request_write()
2031 zend_uchar *buffer = do_alloca(MYSQLND_HEADER_SIZE + packet->password_len + 1, use_heap); in php_mysqlnd_cached_sha2_result_write()
2037 int1store(buffer + MYSQLND_HEADER_SIZE, '\2'); in php_mysqlnd_cached_sha2_result_write()
2041 memcpy(buffer + MYSQLND_HEADER_SIZE, packet->password, packet->password_len); in php_mysqlnd_cached_sha2_result_write()