Lines Matching refs:var_cnt
189 if (stmt->param.var_cnt) { in mysqli_stmt_bind_param_do_bind()
246 stmt->param.var_cnt = num_vars; in mysqli_stmt_bind_param_do_bind()
359 int var_cnt = argc; in mysqli_stmt_bind_result_do_bind() local
364 if (stmt->result.var_cnt) { in mysqli_stmt_bind_result_do_bind()
368 bind = (MYSQL_BIND *)ecalloc(var_cnt, sizeof(MYSQL_BIND)); in mysqli_stmt_bind_result_do_bind()
371 char *p = emalloc(size= var_cnt * (sizeof(char) + sizeof(VAR_BUFFER))); in mysqli_stmt_bind_result_do_bind()
373 stmt->result.is_null = (my_bool *) (p + var_cnt * sizeof(VAR_BUFFER)); in mysqli_stmt_bind_result_do_bind()
377 for (i = 0; i < var_cnt; i++) { in mysqli_stmt_bind_result_do_bind()
506 for (i=0; i < var_cnt ; i++) { in mysqli_stmt_bind_result_do_bind()
514 stmt->result.var_cnt = var_cnt; in mysqli_stmt_bind_result_do_bind()
515 stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0); in mysqli_stmt_bind_result_do_bind()
516 for (i = 0; i < var_cnt; i++) { in mysqli_stmt_bind_result_do_bind()
866 if (stmt->param.var_cnt) {
868 for (i = 0; i < stmt->param.var_cnt; i++) {
872 for (j = i + 1; j < stmt->param.var_cnt; j++) {
884 for (i = 0; i < stmt->param.var_cnt; i++) {
950 for (i = 0; i < stmt->result.var_cnt; i++) {
961 for (i = 0; i < stmt->result.var_cnt; i++) {