Lines Matching refs:zend_uchar
95 php_mysqlnd_net_field_length(const zend_uchar **packet) in php_mysqlnd_net_field_length()
97 register const zend_uchar *p= (const zend_uchar *)*packet; in php_mysqlnd_net_field_length()
125 php_mysqlnd_net_field_length_ll(const zend_uchar **packet) in php_mysqlnd_net_field_length_ll()
127 register const zend_uchar *p = (zend_uchar *)*packet; in php_mysqlnd_net_field_length_ll()
153 zend_uchar *
154 php_mysqlnd_net_store_length(zend_uchar *packet, const uint64_t length) in php_mysqlnd_net_store_length()
157 *packet = (zend_uchar) length; in php_mysqlnd_net_store_length()
199 php_mysqlnd_read_error_from_line(const zend_uchar * const buf, const size_t buf_len, in php_mysqlnd_read_error_from_line()
203 const zend_uchar *p = buf; in php_mysqlnd_read_error_from_line()
246 zend_uchar buffer[MYSQLND_HEADER_SIZE]; in mysqlnd_read_header()
290 zend_uchar * buf, size_t buf_size, const char * const packet_type_as_text, in mysqlnd_read_packet_header_and_body()
327 zend_uchar buf[2048]; in php_mysqlnd_greet_read()
328 const zend_uchar * p = buf; in php_mysqlnd_greet_read()
329 const zend_uchar * const begin = buf; in php_mysqlnd_greet_read()
330 const zend_uchar * pad_start = NULL; in php_mysqlnd_greet_read()
496 zend_uchar buffer[AUTH_WRITE_BUFFER_LEN]; in php_mysqlnd_auth_write()
497 zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ in php_mysqlnd_auth_write()
668 zend_uchar local_buf[AUTH_RESP_BUFFER_SIZE]; in php_mysqlnd_auth_response_read()
670 zend_uchar *buf = pfc->cmd_buffer.buffer? (zend_uchar *) pfc->cmd_buffer.buffer : local_buf; in php_mysqlnd_auth_response_read()
671 const zend_uchar * p = buf; in php_mysqlnd_auth_response_read()
672 const zend_uchar * const begin = buf; in php_mysqlnd_auth_response_read()
795 …zend_uchar * buffer = pfc->cmd_buffer.length >= packet->auth_data_len? pfc->cmd_buffer.buffer : mn… in php_mysqlnd_change_auth_response_write()
796 zend_uchar * p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ in php_mysqlnd_change_auth_response_write()
843 zend_uchar local_buf[OK_BUFFER_SIZE]; in php_mysqlnd_ok_read()
845 zend_uchar * buf = pfc->cmd_buffer.buffer? (zend_uchar *) pfc->cmd_buffer.buffer : local_buf; in php_mysqlnd_ok_read()
846 const zend_uchar * p = buf; in php_mysqlnd_ok_read()
847 const zend_uchar * const begin = buf; in php_mysqlnd_ok_read()
942 zend_uchar * buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_eof_read()
943 const zend_uchar * p = buf; in php_mysqlnd_eof_read()
944 const zend_uchar * const begin = buf; in php_mysqlnd_eof_read()
1041 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_cmd_write()
1047 zend_uchar *tmp, *p; in php_mysqlnd_cmd_write()
1102 zend_uchar * buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_rset_header_read()
1103 const zend_uchar * p = buf; in php_mysqlnd_rset_header_read()
1104 const zend_uchar * const begin = buf; in php_mysqlnd_rset_header_read()
1247 zend_uchar * buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_rset_field_read()
1248 const zend_uchar * p = buf; in php_mysqlnd_rset_field_read()
1249 const zend_uchar * const begin = buf; in php_mysqlnd_rset_field_read()
1467 zend_uchar * p = NULL; in php_mysqlnd_read_row_ex()
1548 const zend_uchar * p = row_buffer->ptr; in php_mysqlnd_rowp_read_binary_protocol()
1549 const zend_uchar * null_ptr; in php_mysqlnd_rowp_read_binary_protocol()
1550 zend_uchar bit; in php_mysqlnd_rowp_read_binary_protocol()
1569 const zend_uchar * orig_p = p; in php_mysqlnd_rowp_read_binary_protocol()
1640 zend_uchar * p = row_buffer->ptr; in php_mysqlnd_rowp_read_text_protocol_aux()
1642 const zend_uchar * const packet_end = (zend_uchar*) row_buffer->ptr + data_size; in php_mysqlnd_rowp_read_text_protocol_aux()
1654 const zend_ulong len = php_mysqlnd_net_field_length((const zend_uchar **) &p); in php_mysqlnd_rowp_read_text_protocol_aux()
1705 zend_uchar save = *(p + len); in php_mysqlnd_rowp_read_text_protocol_aux()
1743 zend_uchar save = *(p + len); in php_mysqlnd_rowp_read_text_protocol_aux()
1755 …ps_fetch_from_1_to_8_bytes(current_field, &(fields_metadata[i]), 0, (const zend_uchar **) &p, len); in php_mysqlnd_rowp_read_text_protocol_aux()
1822 zend_uchar *p; in php_mysqlnd_rowp_read()
1950 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_stats_read()
2000 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_prepare_read()
2001 zend_uchar *p = buf; in php_mysqlnd_prepare_read()
2002 const zend_uchar * const begin = buf; in php_mysqlnd_prepare_read()
2095 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_chg_user_read()
2096 zend_uchar *p = buf; in php_mysqlnd_chg_user_read()
2097 const zend_uchar * const begin = buf; in php_mysqlnd_chg_user_read()
2187 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_sha256_pk_request_write()
2224 zend_uchar buf[SHA256_PK_REQUEST_RESP_BUFFER_SIZE]; in php_mysqlnd_sha256_pk_request_response_read()
2225 zend_uchar *p = buf; in php_mysqlnd_sha256_pk_request_response_read()
2226 const zend_uchar * const begin = buf; in php_mysqlnd_sha256_pk_request_response_read()
2723 const zend_uchar * const arg, const size_t arg_len, in MYSQLND_METHOD()