Lines Matching refs:fci

621 	zend_fcall_info *fci = &stmt->fetch.cls.fci;  in do_fetch_class_prepare()  local
624 fci->size = sizeof(zend_fcall_info); in do_fetch_class_prepare()
632 ZVAL_UNDEF(&fci->function_name); in do_fetch_class_prepare()
633 fci->retval = &stmt->fetch.cls.retval; in do_fetch_class_prepare()
634 fci->param_count = 0; in do_fetch_class_prepare()
635 fci->params = NULL; in do_fetch_class_prepare()
637 zend_fcall_info_args_ex(fci, ce->constructor, &stmt->fetch.cls.ctor_args); in do_fetch_class_prepare()
651 static bool make_callable_ex(pdo_stmt_t *stmt, zval *callable, zend_fcall_info * fci, zend_fcall_in… in make_callable_ex() argument
655 if (zend_fcall_info_init(callable, 0, fci, fcc, NULL, &is_callable_error) == FAILURE) { in make_callable_ex()
669 fci->param_count = num_args; /* probably less */ in make_callable_ex()
670 fci->params = safe_emalloc(sizeof(zval), num_args, 0); in make_callable_ex()
678 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_func_prepare() local
681 if (!make_callable_ex(stmt, &stmt->fetch.func.function, fci, fcc, stmt->column_count)) { in do_fetch_func_prepare()
693 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish()
696 zend_fcall_info_args_clear(&stmt->fetch.cls.fci, 1); in do_fetch_opt_finish()
698 efree(stmt->fetch.cls.fci.params); in do_fetch_opt_finish()
700 stmt->fetch.cls.fci.params = NULL; in do_fetch_opt_finish()
703 stmt->fetch.cls.fci.size = 0; in do_fetch_opt_finish()
707 stmt->fetch.cls.fci.param_count = 0; in do_fetch_opt_finish()
812 old_arg_count = stmt->fetch.cls.fci.param_count; in do_fetch()
841 if (!stmt->fetch.cls.fci.size) { in do_fetch()
848 stmt->fetch.cls.fci.object = Z_OBJ_P(return_value); in do_fetch()
850 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch()
887 if (!stmt->fetch.func.fci.size) { in do_fetch()
1015 ZVAL_COPY_VALUE(&stmt->fetch.cls.fci.params[idx], &stmt->fetch.func.values[idx]); in do_fetch()
1028 stmt->fetch.cls.fci.object = Z_OBJ_P(return_value); in do_fetch()
1030 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch()
1044 stmt->fetch.cls.fci.param_count = old_arg_count; in do_fetch()
1049 stmt->fetch.func.fci.param_count = idx; in do_fetch()
1050 stmt->fetch.func.fci.retval = &retval; in do_fetch()
1051 if (zend_call_function(&stmt->fetch.func.fci, &stmt->fetch.func.fcc) == FAILURE) { in do_fetch()
1193 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1216 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()
1267 old_arg_count = stmt->fetch.cls.fci.param_count; in PHP_METHOD()
1391 stmt->fetch.cls.fci.param_count = old_arg_count; in PHP_METHOD()