Searched refs:V_DECIMAL (Results 1 – 8 of 8) sorted by relevance
/reactos/dll/win32/oleaut32/ |
H A D | variant.c | 440 DEC_HI32(&V_DECIMAL(pd)) = 0; in VARIANT_Coerce() 2865 return VarDecCmp(&V_DECIMAL(&lv), &V_DECIMAL(&rv)); in VarCmp() 3260 hres = VarDecAdd(&V_DECIMAL(&lv), &V_DECIMAL(&rv), in VarAdd() 3457 hres = VarDecMul(&V_DECIMAL(&lv), &V_DECIMAL(&rv), in VarMul() 3656 hres = VarDecDiv(&(V_DECIMAL(&lv)), &(V_DECIMAL(&rv)), &(V_DECIMAL(result))); in VarDiv() 3919 hres = VarDecSub(&(V_DECIMAL(&lv)), &(V_DECIMAL(&rv)), &(V_DECIMAL(result))); in VarSub() 4048 if (DEC_HI32(&V_DECIMAL(pVarLeft)) || DEC_LO64(&V_DECIMAL(pVarLeft))) in VarOr() 4424 hRet = VarDecFix(&V_DECIMAL(pVarIn), &V_DECIMAL(pVarOut)); in VarFix() 4509 hRet = VarDecInt(&V_DECIMAL(pVarIn), &V_DECIMAL(pVarOut)); in VarInt() 4847 hRet = VarDecNeg(&V_DECIMAL(pVarIn), &V_DECIMAL(pVarOut)); in VarNeg() [all …]
|
H A D | vartype.c | 67 case VT_DECIMAL: memcpy(pOut, &V_DECIMAL(srcVar), sizeof (DECIMAL)); break; in VARIANT_CopyData()
|
/reactos/modules/rostests/winetests/oleaut32/ |
H A D | vartest.c | 619 return !memcmp( &V_DECIMAL(result), &V_DECIMAL(expected), sizeof(DECIMAL) ); in is_expected_variant() 1780 ok((V_DECIMAL(&vOut).Hi32 == valHi) && (S1(U1(V_DECIMAL(&vOut))).Mid32 == valMid) && \ 1783 V_DECIMAL(&vOut).Hi32, S1(U1(V_DECIMAL(&vOut))).Mid32, S1(U1(V_DECIMAL(&vOut))).Lo32); } 2388 DECIMAL *pdec = &V_DECIMAL(&v); in test_VarNot() 3073 V_DECIMAL(&v1).Hi32 = 0; in test_VarMod() 3074 U1(V_DECIMAL(&v1)).Lo64 = 100; in test_VarMod() 3075 U(V_DECIMAL(&v1)).signscale = 0; in test_VarMod() 3094 V_DECIMAL(&v2).Hi32 = 0; in test_VarMod() 3095 U1(V_DECIMAL(&v2)).Lo64 = 100; in test_VarMod() 3096 U(V_DECIMAL(&v2)).signscale = 0; in test_VarMod() [all …]
|
H A D | vartype.c | 215 S(U(V_DECIMAL(&vDst))).sign == 0 && S(U(V_DECIMAL(&vDst))).scale == 0 && \ 216 V_DECIMAL(&vDst).Hi32 == 0 && U1(V_DECIMAL(&vDst)).Lo64 == (ULONGLONG)in, \ 218 hres, V_VT(&vDst), S(U(V_DECIMAL(&vDst))).sign, S(U(V_DECIMAL(&vDst))).scale, \ 219 V_DECIMAL(&vDst).Hi32, S1(U1(V_DECIMAL(&vDst))).Mid32, S1(U1(V_DECIMAL(&vDst))).Lo32); \
|
H A D | usrmarshal.c | 1112 V_DECIMAL(&v) = dec; in test_marshal_VARIANT() 1137 ok(!memcmp(&V_DECIMAL(&v), & V_DECIMAL(&v2), sizeof(DECIMAL)), "decimals differ\n"); in test_marshal_VARIANT()
|
H A D | typelib.c | 1334 V_DECIMAL(&args[2]).Hi32 = 1122; in test_DispCallFunc() 1335 U1(V_DECIMAL(&args[2])).Lo64 = 3344; in test_DispCallFunc()
|
/reactos/sdk/include/vcruntime/ |
H A D | comutil.h | 576 V_DECIMAL(this) = decSrc; in _variant_t() 680 if(V_VT(this)==VT_DECIMAL) return V_DECIMAL(this); in DECIMAL() 683 return V_DECIMAL(&varDest); in DECIMAL() 924 V_DECIMAL(this) = decSrc; 1098 return memcmp(&(V_DECIMAL(this)),&(V_DECIMAL(pSrc)),sizeof(DECIMAL))==0;
|
/reactos/sdk/include/psdk/ |
H A D | oleauto.h | 234 #define V_DECIMAL(A) ((A)->n1.decVal) macro 236 #define V_DECIMAL(A) ((A)->decVal) macro
|