Lines Matching refs:length

154 php_mysqlnd_net_store_length(zend_uchar *packet, const uint64_t length)  in php_mysqlnd_net_store_length()  argument
156 if (length < (uint64_t) L64(251)) { in php_mysqlnd_net_store_length()
157 *packet = (zend_uchar) length; in php_mysqlnd_net_store_length()
161 if (length < (uint64_t) L64(65536)) { in php_mysqlnd_net_store_length()
163 int2store(packet,(unsigned int) length); in php_mysqlnd_net_store_length()
167 if (length < (uint64_t) L64(16777216)) { in php_mysqlnd_net_store_length()
169 int3store(packet,(zend_ulong) length); in php_mysqlnd_net_store_length()
173 int8store(packet, length); in php_mysqlnd_net_store_length()
181 php_mysqlnd_net_store_length_size(uint64_t length) in php_mysqlnd_net_store_length_size() argument
183 if (length < (uint64_t) L64(251)) { in php_mysqlnd_net_store_length_size()
186 if (length < (uint64_t) L64(65536)) { in php_mysqlnd_net_store_length_size()
189 if (length < (uint64_t) L64(16777216)) { in php_mysqlnd_net_store_length_size()
652 size_t buf_len = pfc->cmd_buffer.buffer? pfc->cmd_buffer.length: AUTH_RESP_BUFFER_SIZE; in php_mysqlnd_auth_response_read()
775 …zend_uchar * const buffer = pfc->cmd_buffer.length >= total_packet_size? pfc->cmd_buffer.buffer : … in php_mysqlnd_change_auth_response_write()
816 const size_t buf_len = pfc->cmd_buffer.buffer? pfc->cmd_buffer.length : OK_BUFFER_SIZE; in php_mysqlnd_ok_read()
910 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_eof_read()
1006 tmp = (tmp_len > pfc->cmd_buffer.length)? mnd_emalloc(tmp_len):pfc->cmd_buffer.buffer; in php_mysqlnd_cmd_write()
1047 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_header_read()
1188 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_field_read()
1250 meta->length = uint4korr(p); in php_mysqlnd_rset_field_read()
1268 (meta->type != MYSQL_TYPE_TIMESTAMP || meta->length == 14 || meta->length == 8) in php_mysqlnd_rset_field_read()
1866 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_stats_read()
1913 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_prepare_read()
1996 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_chg_user_read()