Lines Matching refs:vres
516 VARIANT vres; in variant_binary_operation() local
526 VariantInit(&vres); in variant_binary_operation()
563 result = VarAdd(vleft, vright, &vres); in variant_binary_operation()
566 result = VarCat(vleft, vright, &vres); in variant_binary_operation()
569 result = VarSub(vleft, vright, &vres); in variant_binary_operation()
572 result = VarMul(vleft, vright, &vres); in variant_binary_operation()
575 result = VarAnd(vleft, vright, &vres); in variant_binary_operation()
578 result = VarDiv(vleft, vright, &vres); in variant_binary_operation()
581 result = VarEqv(vleft, vright, &vres); in variant_binary_operation()
584 result = VarIdiv(vleft, vright, &vres); in variant_binary_operation()
587 result = VarImp(vleft, vright, &vres); in variant_binary_operation()
590 result = VarMod(vleft, vright, &vres); in variant_binary_operation()
593 result = VarOr(vleft, vright, &vres); in variant_binary_operation()
596 result = VarPow(vleft, vright, &vres); in variant_binary_operation()
599 result = VarXor(vleft, vright, &vres); in variant_binary_operation()
607 php_com_wrap_variant(return_value, &vres, codepage TSRMLS_CC); in variant_binary_operation()
612 VariantClear(&vres); in variant_binary_operation()
724 VARIANT vres; in variant_unary_operation() local
733 VariantInit(&vres); in variant_unary_operation()
749 result = VarAbs(vleft, &vres); in variant_unary_operation()
752 result = VarFix(vleft, &vres); in variant_unary_operation()
755 result = VarInt(vleft, &vres); in variant_unary_operation()
758 result = VarNeg(vleft, &vres); in variant_unary_operation()
761 result = VarNot(vleft, &vres); in variant_unary_operation()
768 php_com_wrap_variant(return_value, &vres, codepage TSRMLS_CC); in variant_unary_operation()
773 VariantClear(&vres); in variant_unary_operation()
822 VARIANT vres; in PHP_FUNCTION() local
831 VariantInit(&vres); in PHP_FUNCTION()
845 if (SUCCEEDED(VarRound(vleft, decimals, &vres))) { in PHP_FUNCTION()
846 php_com_wrap_variant(return_value, &vres, codepage TSRMLS_CC); in PHP_FUNCTION()
849 VariantClear(&vres); in PHP_FUNCTION()
916 VARIANT vres; in PHP_FUNCTION() local
920 VariantInit(&vres); in PHP_FUNCTION()
928 if (SUCCEEDED(VariantChangeType(&vres, &obj->v, 0, VT_DATE))) { in PHP_FUNCTION()
932 VariantTimeToSystemTime(V_DATE(&vres), &systime); in PHP_FUNCTION()
947 VariantClear(&vres); in PHP_FUNCTION()
1052 VARIANT vres; in PHP_FUNCTION() local
1061 VariantInit(&vres); in PHP_FUNCTION()
1062 res = VariantChangeType(&vres, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION()
1065 php_com_wrap_variant(return_value, &vres, obj->code_page TSRMLS_CC); in PHP_FUNCTION()
1077 VariantClear(&vres); in PHP_FUNCTION()