Lines Matching refs:vres
556 VARIANT vres; in variant_binary_operation() local
566 VariantInit(&vres); in variant_binary_operation()
603 result = VarAdd(vleft, vright, &vres); in variant_binary_operation()
606 result = VarCat(vleft, vright, &vres); in variant_binary_operation()
609 result = VarSub(vleft, vright, &vres); in variant_binary_operation()
612 result = VarMul(vleft, vright, &vres); in variant_binary_operation()
615 result = VarAnd(vleft, vright, &vres); in variant_binary_operation()
618 result = VarDiv(vleft, vright, &vres); in variant_binary_operation()
621 result = VarEqv(vleft, vright, &vres); in variant_binary_operation()
624 result = VarIdiv(vleft, vright, &vres); in variant_binary_operation()
627 result = VarImp(vleft, vright, &vres); in variant_binary_operation()
630 result = VarMod(vleft, vright, &vres); in variant_binary_operation()
633 result = VarOr(vleft, vright, &vres); in variant_binary_operation()
636 result = VarPow(vleft, vright, &vres); in variant_binary_operation()
639 result = VarXor(vleft, vright, &vres); in variant_binary_operation()
647 php_com_wrap_variant(return_value, &vres, codepage); in variant_binary_operation()
652 VariantClear(&vres); in variant_binary_operation()
764 VARIANT vres; in variant_unary_operation() local
773 VariantInit(&vres); in variant_unary_operation()
789 result = VarAbs(vleft, &vres); in variant_unary_operation()
792 result = VarFix(vleft, &vres); in variant_unary_operation()
795 result = VarInt(vleft, &vres); in variant_unary_operation()
798 result = VarNeg(vleft, &vres); in variant_unary_operation()
801 result = VarNot(vleft, &vres); in variant_unary_operation()
808 php_com_wrap_variant(return_value, &vres, codepage); in variant_unary_operation()
813 VariantClear(&vres); in variant_unary_operation()
862 VARIANT vres; in PHP_FUNCTION() local
871 VariantInit(&vres); in PHP_FUNCTION()
885 if (SUCCEEDED(VarRound(vleft, (int)decimals, &vres))) { in PHP_FUNCTION()
886 php_com_wrap_variant(return_value, &vres, codepage); in PHP_FUNCTION()
889 VariantClear(&vres); in PHP_FUNCTION()
956 VARIANT vres; in PHP_FUNCTION() local
960 VariantInit(&vres); in PHP_FUNCTION()
968 if (SUCCEEDED(VariantChangeType(&vres, &obj->v, 0, VT_DATE))) { in PHP_FUNCTION()
972 VariantTimeToSystemTime(V_DATE(&vres), &systime); in PHP_FUNCTION()
987 VariantClear(&vres); in PHP_FUNCTION()
1099 VARIANT vres; in PHP_FUNCTION() local
1108 VariantInit(&vres); in PHP_FUNCTION()
1109 res = VariantChangeType(&vres, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION()
1112 php_com_wrap_variant(return_value, &vres, obj->code_page); in PHP_FUNCTION()
1124 VariantClear(&vres); in PHP_FUNCTION()