Lines Matching refs:vargs
478 VARIANT *vargs = NULL, *byref_vals = NULL; in php_com_do_invoke_byref() local
501 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_byref()
522 memcpy(&vargs[i], &byref_vals[j], sizeof(vargs[i])); in php_com_do_invoke_byref()
525 VariantInit(&vargs[i]); in php_com_do_invoke_byref()
526 V_VT(&vargs[i]) = V_VT(&byref_vals[j]) | VT_BYREF; in php_com_do_invoke_byref()
528 vargs[i].byref = &V_UINT(&byref_vals[j]); in php_com_do_invoke_byref()
532 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
539 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
545 disp_params.rgvarg = vargs; in php_com_do_invoke_byref()
558 if (vargs) { in php_com_do_invoke_byref()
571 if (V_VT(&vargs[i]) & VT_BYREF) { in php_com_do_invoke_byref()
572 if (vargs[i].byref == &V_UINT(&byref_vals[j])) { in php_com_do_invoke_byref()
579 php_com_zval_from_variant(arg, &vargs[i], obj->code_page); in php_com_do_invoke_byref()
584 VariantClear(&vargs[i]); in php_com_do_invoke_byref()
588 VariantClear(&vargs[i]); in php_com_do_invoke_byref()
591 efree(vargs); in php_com_do_invoke_byref()
605 VARIANT *vargs = NULL; in php_com_do_invoke_by_id() local
609 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_by_id()
614 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_by_id()
619 disp_params.rgvarg = vargs; in php_com_do_invoke_by_id()
632 if (vargs) { in php_com_do_invoke_by_id()
634 VariantClear(&vargs[i]); in php_com_do_invoke_by_id()
636 efree(vargs); in php_com_do_invoke_by_id()