Lines Matching refs:var_cnt
193 if (stmt->param.var_cnt) { in mysqli_stmt_bind_param_do_bind()
250 stmt->param.var_cnt = num_vars; in mysqli_stmt_bind_param_do_bind()
394 int var_cnt = argc; in mysqli_stmt_bind_result_do_bind() local
399 if (stmt->result.var_cnt) { in mysqli_stmt_bind_result_do_bind()
403 bind = (MYSQL_BIND *)ecalloc(var_cnt, sizeof(MYSQL_BIND)); in mysqli_stmt_bind_result_do_bind()
406 char *p = emalloc(size= var_cnt * (sizeof(char) + sizeof(VAR_BUFFER))); in mysqli_stmt_bind_result_do_bind()
408 stmt->result.is_null = p + var_cnt * sizeof(VAR_BUFFER); in mysqli_stmt_bind_result_do_bind()
412 for (i = 0; i < var_cnt; i++) { in mysqli_stmt_bind_result_do_bind()
548 for (i=0; i < var_cnt ; i++) { in mysqli_stmt_bind_result_do_bind()
556 stmt->result.var_cnt = var_cnt; in mysqli_stmt_bind_result_do_bind()
557 stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0); in mysqli_stmt_bind_result_do_bind()
558 for (i = 0; i < var_cnt; i++) { in mysqli_stmt_bind_result_do_bind()
875 if (stmt->param.var_cnt) {
877 for (i = 0; i < stmt->param.var_cnt; i++) {
881 for (j = i + 1; j < stmt->param.var_cnt; j++) {
891 for (i = 0; i < stmt->param.var_cnt; i++) {
955 for (i = 0; i < stmt->result.var_cnt; i++) {
966 for (i = 0; i < stmt->result.var_cnt; i++) {