Lines Matching refs:vargs
467 VARIANT *vargs = NULL, *byref_vals = NULL; in php_com_do_invoke_byref() local
489 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_byref()
510 memcpy(&vargs[i], &byref_vals[j], sizeof(vargs[i])); in php_com_do_invoke_byref()
513 VariantInit(&vargs[i]); in php_com_do_invoke_byref()
514 V_VT(&vargs[i]) = V_VT(&byref_vals[j]) | VT_BYREF; in php_com_do_invoke_byref()
516 vargs[i].byref = &V_UINT(&byref_vals[j]); in php_com_do_invoke_byref()
520 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
527 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
533 disp_params.rgvarg = vargs; in php_com_do_invoke_byref()
546 if (vargs) { in php_com_do_invoke_byref()
560 if (V_VT(&vargs[i]) & VT_BYREF) { in php_com_do_invoke_byref()
561 if (vargs[i].byref == &V_UINT(&byref_vals[j])) { in php_com_do_invoke_byref()
568 php_com_zval_from_variant(arg, &vargs[i], obj->code_page); in php_com_do_invoke_byref()
573 VariantClear(&vargs[i]); in php_com_do_invoke_byref()
577 VariantClear(&vargs[i]); in php_com_do_invoke_byref()
580 efree(vargs); in php_com_do_invoke_byref()
595 VARIANT *vargs = NULL; in php_com_do_invoke_by_id() local
599 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_by_id()
604 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_by_id()
609 disp_params.rgvarg = vargs; in php_com_do_invoke_by_id()
622 if (vargs) { in php_com_do_invoke_by_id()
624 VariantClear(&vargs[i]); in php_com_do_invoke_by_id()
626 efree(vargs); in php_com_do_invoke_by_id()