Lines Matching refs:vargs
463 VARIANT *vargs = NULL, *byref_vals = NULL; in php_com_do_invoke_byref() local
485 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_byref()
506 memcpy(&vargs[i], &byref_vals[j], sizeof(vargs[i])); in php_com_do_invoke_byref()
509 VariantInit(&vargs[i]); in php_com_do_invoke_byref()
510 V_VT(&vargs[i]) = V_VT(&byref_vals[j]) | VT_BYREF; in php_com_do_invoke_byref()
512 vargs[i].byref = &V_UINT(&byref_vals[j]); in php_com_do_invoke_byref()
516 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
523 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
529 disp_params.rgvarg = vargs; in php_com_do_invoke_byref()
542 if (vargs) { in php_com_do_invoke_byref()
556 if (V_VT(&vargs[i]) & VT_BYREF) { in php_com_do_invoke_byref()
557 if (vargs[i].byref == &V_UINT(&byref_vals[j])) { in php_com_do_invoke_byref()
564 php_com_zval_from_variant(arg, &vargs[i], obj->code_page); in php_com_do_invoke_byref()
569 VariantClear(&vargs[i]); in php_com_do_invoke_byref()
573 VariantClear(&vargs[i]); in php_com_do_invoke_byref()
576 efree(vargs); in php_com_do_invoke_byref()
591 VARIANT *vargs = NULL; in php_com_do_invoke_by_id() local
595 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_by_id()
600 php_com_variant_from_zval(&vargs[i], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_by_id()
605 disp_params.rgvarg = vargs; in php_com_do_invoke_by_id()
618 if (vargs) { in php_com_do_invoke_by_id()
620 VariantClear(&vargs[i]); in php_com_do_invoke_by_id()
622 efree(vargs); in php_com_do_invoke_by_id()