Lines Matching refs:p
509 mysqlnd_stmt_execute_check_n_enlarge_buffer(zend_uchar **buf, zend_uchar **p, size_t * buf_len, zen… in mysqlnd_stmt_execute_check_n_enlarge_buffer() argument
512 size_t left = (*buf_len - (*p - *buf)); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
515 const size_t offset = *p - *buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
528 *p = *buf + offset; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
590 mysqlnd_stmt_execute_store_types(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar ** p) in mysqlnd_stmt_execute_store_types() argument
625 int2store(*p, current_type); in mysqlnd_stmt_execute_store_types()
626 *p+= 2; in mysqlnd_stmt_execute_store_types()
728 …es(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar * buf, zend_uchar ** p, size_t null_byte_of… in mysqlnd_stmt_execute_store_param_values() argument
743 float8store(*p, Z_DVAL_P(data)); in mysqlnd_stmt_execute_store_param_values()
744 (*p) += 8; in mysqlnd_stmt_execute_store_param_values()
751 int8store(*p, Z_LVAL_P(data)); in mysqlnd_stmt_execute_store_param_values()
752 (*p) += 8; in mysqlnd_stmt_execute_store_param_values()
759 int4store(*p, Z_LVAL_P(data)); in mysqlnd_stmt_execute_store_param_values()
760 (*p) += 4; in mysqlnd_stmt_execute_store_param_values()
766 int1store(*p, Z_LVAL_P(data)); in mysqlnd_stmt_execute_store_param_values()
767 (*p)++; in mysqlnd_stmt_execute_store_param_values()
774 *p = php_mysqlnd_net_store_length(*p, 0); in mysqlnd_stmt_execute_store_param_values()
782 *p = php_mysqlnd_net_store_length(*p, len); in mysqlnd_stmt_execute_store_param_values()
783 memcpy(*p, Z_STRVAL_P(data), len); in mysqlnd_stmt_execute_store_param_values()
784 (*p) += len; in mysqlnd_stmt_execute_store_param_values()
800 mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar **p, size_t *buf_l… in mysqlnd_stmt_execute_store_params() argument
814 …if (FAIL == mysqlnd_stmt_execute_check_n_enlarge_buffer(buf, p, buf_len, provided_buffer, null_cou… in mysqlnd_stmt_execute_store_params()
819 null_byte_offset = *p - *buf; in mysqlnd_stmt_execute_store_params()
820 memset(*p, 0, null_count); in mysqlnd_stmt_execute_store_params()
821 *p += null_count; in mysqlnd_stmt_execute_store_params()
836 int1store(*p, stmt->send_types_to_server); in mysqlnd_stmt_execute_store_params()
837 (*p)++; in mysqlnd_stmt_execute_store_params()
840 …if (FAIL == mysqlnd_stmt_execute_check_n_enlarge_buffer(buf, p, buf_len, provided_buffer, stmt->pa… in mysqlnd_stmt_execute_store_params()
844 mysqlnd_stmt_execute_store_types(stmt, copies, p); in mysqlnd_stmt_execute_store_params()
856 …if (FAIL == mysqlnd_stmt_execute_check_n_enlarge_buffer(buf, p, buf_len, provided_buffer, data_siz… in mysqlnd_stmt_execute_store_params()
862 mysqlnd_stmt_execute_store_param_values(stmt, copies, *buf, p, null_byte_offset); in mysqlnd_stmt_execute_store_params()
879 zend_uchar *p = stmt->execute_cmd_buffer.buffer, in mysqlnd_stmt_execute_generate_request() local
886 int4store(p, stmt->stmt_id); in mysqlnd_stmt_execute_generate_request()
887 p += 4; in mysqlnd_stmt_execute_generate_request()
890 int1store(p, (zend_uchar) stmt->flags); in mysqlnd_stmt_execute_generate_request()
891 p++; in mysqlnd_stmt_execute_generate_request()
894 int4store(p, 0); in mysqlnd_stmt_execute_generate_request()
896 int1store(p, 1); /* and send 1 for iteration count */ in mysqlnd_stmt_execute_generate_request()
897 p+= 4; in mysqlnd_stmt_execute_generate_request()
900 ret = mysqlnd_stmt_execute_store_params(s, &cmd_buffer, &p, &cmd_buffer_length); in mysqlnd_stmt_execute_generate_request()
904 *request_len = (p - cmd_buffer); in mysqlnd_stmt_execute_generate_request()