Lines Matching refs:byref_vals
467 VARIANT *vargs = NULL, *byref_vals = NULL; in php_com_do_invoke_byref() local
501 byref_vals = (VARIANT*)safe_emalloc(sizeof(VARIANT), byref_count, 0); in php_com_do_invoke_byref()
505 php_com_variant_from_zval(&byref_vals[j], &args[nargs - i - 1], obj->code_page); in php_com_do_invoke_byref()
509 if (V_VT(&byref_vals[j]) & VT_BYREF) { in php_com_do_invoke_byref()
510 memcpy(&vargs[i], &byref_vals[j], sizeof(vargs[i])); in php_com_do_invoke_byref()
511 VariantInit(&byref_vals[j]); /* leave the variant slot empty to simplify cleanup */ 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()
561 if (vargs[i].byref == &V_UINT(&byref_vals[j])) { in php_com_do_invoke_byref()
563 php_com_zval_from_variant(arg, &byref_vals[j], obj->code_page); in php_com_do_invoke_byref()
570 VariantClear(&byref_vals[j]); in php_com_do_invoke_byref()
581 if (byref_vals) efree(byref_vals); in php_com_do_invoke_byref()