Home
last modified time | relevance | path

Searched refs:V_R4 (Results 1 – 25 of 26) sorted by relevance

12

/reactos/dll/win32/oleaut32/
H A Dvariant.c2869 return _VARCMP(V_R4(&lv), V_R4(&rv)); in VarCmp()
3628 if (V_R4(&lv) == 0.0 && V_R4(&rv) == 0.0) in VarDiv()
3639 V_R4(result) = V_R4(&lv) / V_R4(&rv); in VarDiv()
3901 V_R4(result) = V_R4(&lv) - V_R4(&rv); in VarSub()
4404 V_R4(pVarOut) = (float)ceil(V_R4(pVarIn)); in VarFix()
4406 V_R4(pVarOut) = (float)floor(V_R4(pVarIn)); in VarFix()
4494 V_R4(pVarOut) = (float)floor(V_R4(pVarIn)); in VarInt()
4837 V_R4(pVarOut) = -V_R4(pVarIn); in VarNeg()
5106 if (V_R4(pVarIn)>0) { in VarRound()
5107 V_R4(pVarOut)=floor(V_R4(pVarIn)*pow(10, deci)+0.5)/pow(10, deci); in VarRound()
[all …]
H A Dtypelib.c6528 V_R4(pvargResult) = call_double_method( func, argspos, args, &stack_offset ); in DispCallFunc()
6671 V_R4(pvargResult) = call_double_method( func, argspos, args ); in DispCallFunc()
6864 regs.sd.s[scount++] = V_R4(arg); in DispCallFunc()
6889 V_R4(pvargResult) = call_float_method( func, argspos, args, (DWORD*)&regs ); in DispCallFunc()
7010 if (fpcount < 8) regs.fp[fpcount++].f = V_R4(arg); in DispCallFunc()
7011 else *(float *)&args[argspos++] = V_R4(arg); in DispCallFunc()
7053 V_R4(result) = call_float_method( func, argspos, args, (DWORD_PTR *)&regs ); in DispCallFunc()
/reactos/modules/rostests/apitests/atl/
H A DCComVariant.cpp137 ok(V_R4(&f1) == 3.4f, "Expected value to be 3.4f, was: %f\n", V_R4(&f1)); in test_construction()
238 ok(V_R4(&f2) == 3.4f, "Expected value to be 3.4f, was: %f\n", V_R4(&f2)); in test_copyconstructor()
354 ok(V_R4(&f1) == 3.4f, "Expected value to be 3.4f, was: %f\n", V_R4(&f1)); in test_assign()
357 ok(V_R4(&f2) == 3.4f, "Expected value to be 3.4f, was: %f\n", V_R4(&f2)); in test_assign()
/reactos/modules/rostests/winetests/scrrun/
H A Ddictionary.c538 V_R4(&key) = fx4.f; in test_hash_value()
552 V_R4(&key) = fx4.f; in test_hash_value()
611 V_R4(&key) = float_hash_tests[i]; in test_hash_value()
797 V_R4(&key) = 0.0; in test_Exists()
815 V_R4(&key) = 0.0; in test_Exists()
845 V_R4(&key) = 0.0; in test_Keys()
888 V_R4(&key) = 0.0; in test_Remove()
/reactos/sdk/include/vcruntime/
H A Dcomutil.h523 V_R4(this) = fltSrc; in _variant_t()
625 if(V_VT(this)==VT_R4) return V_R4(this);
628 return V_R4(&varDest);
775 V_R4(this) = fltSrc;
1070 return V_R4(this)==V_R4(pSrc);
/reactos/modules/rostests/winetests/oleaut32/
H A Dvarformat.c101 FMT_NUMBER(VT_R4, V_R4); in test_VarFormatNumber()
291 VNUMFMT(VT_R4,V_R4); in test_VarFormat()
624 V_R4(&var) = 1.5; in test_VarFormatFromTokens()
H A Dusrmarshal.c1013 ok(*(float*)wirev == V_R4(&v), "wv[5] %08x\n", *wirev); in test_marshal_VARIANT()
1019 ok(V_R4(&v) == V_R4(&v2), "got r4 %f expect %f\n", V_R4(&v), V_R4(&v2)); in test_marshal_VARIANT()
H A Dvartest.c564 sprintf( vtstr_buffer[vtstr_current], "VT_R4(%g)", V_R4(var) ); break; in variantstr()
611 return EQ_FLOAT(V_R4(result), V_R4(expected)); in is_expected_variant()
1772 ok(V_R4(&vOut) == val, "Expected r4 = %f, got %f\n", val, V_R4(&vOut)); }
3062 V_R4(&v1) = 100; in test_VarMod()
3083 V_R4(&v2) = 100; in test_VarMod()
7765 case VT_R4: V_R4(&right) = 2.0f; break; in test_VarDiv()
8139 case VT_R4: V_R4(&right) = 2.0f; break; in test_VarIdiv()
8703 case VT_R4: V_R4(&right) = 2.0f; break; in test_VarImp()
H A Dvartype.c160 TYPETEST(VT_R4, V_R4(&vDst), fs); \
189 TYPETESTI8(VT_R4, V_R4(&vDst)); \
2544 COPYTEST(77665544.0f, VT_R4, V_R4(&vSrc), V_R4(&vDst), V_R4REF(&vSrc),V_R4REF(&vDst), "%15.15f"); in test_VarR4Copy()
2556 INITIAL_TYPETEST(VT_R4, V_R4, "%f"); in test_VarR4ChangeTypeEx()
H A Dtmarshal.c1971 V_VT(&arg[2]) = VT_R4; V_R4(&arg[2]) = M_PI; in test_marshal_basetypes()
H A Dtypelib.c1301 V_R4(&args[1]) = 3.25; in test_DispCallFunc()
/reactos/modules/rostests/winetests/jscript/
H A Dcaller.c154 …ok(V_R4(&v) == (float)ex->double_result, "V_R4(v) = %f, expected %f\n", V_R4(&v), (float)ex->doubl… in test_change_type()
H A Drun.c1554 V_R4(args+6) = 0.5; in Global_InvokeEx()
/reactos/dll/win32/jscript/
H A Djsutils.c325 *r = jsval_number(V_R4(var)); in variant_to_jsval()
925 V_R4(dst) = n; in variant_change_type()
/reactos/sdk/include/reactos/wine/
H A Ddebug.h309 return wine_dbg_sprintf( "%p {VT_R4: %f}", v, V_R4(v) ); in wine_dbgstr_variant()
/reactos/modules/rostests/winetests/wshom/
H A Dwshom.c612 V_R4(&value) = 1.2; in test_registry()
625 V_R4(&value) = 1.2; in test_registry()
/reactos/sdk/lib/atl/
H A Datlcomcli.h543 V_R4(this) = value; in CComVariant()
/reactos/modules/rostests/winetests/msxml3/
H A Dschema.c1553 ok(V_R4(&v) == (float)3.14159265, "got %f\n", V_R4(&v)); in test_XDR_datatypes()
/reactos/dll/win32/scrrun/
H A Ddictionary.c846 return get_flt_hash(V_VT(key) & VT_BYREF ? *V_R4REF(key) : V_R4(key), &V_I4(hash)); in dictionary_get_HashVal()
/reactos/dll/win32/mshtml/
H A Dhtmltable.c60 hres = VarBstrFromR4(V_R4(p), 0, 0, &str); in var2str()
H A Ddispex.c191 CASE_VT(VT_R4, float, V_R4); \
/reactos/dll/win32/wbemprox/
H A Dquery.c1130 V_R4( ret ) = *(FLOAT *)&val; in set_variant()
/reactos/sdk/include/psdk/
H A Doleauto.h260 #define V_R4(A) V_UNION(A,fltVal) macro
/reactos/modules/rostests/winetests/wbemprox/
H A Dquery.c242 trace( "%s: %f\n", wine_dbgstr_w(prop), V_R4(&val) ); in _check_property()
/reactos/dll/win32/vbscript/
H A Dglobal.c388 V_R4(res) = val; in return_float()

12