/reactos/modules/rostests/apitests/atl/ |
H A D | CComVariant.cpp | 21 …winetest_ok(V_BOOL(&ccv) == expected, "Expected value to be %u, was: %u\n", expected, V_BOOL(&ccv)… in expect_bool_imp() 85 …ok(V_BOOL(&trueVal) == VARIANT_TRUE, "Expected value to be VARIANT_TRUE, was: %u\n", V_BOOL(&trueV… in test_construction() 87 …ok(V_BOOL(&falseVal) == VARIANT_FALSE, "Expected value to be VARIANT_TRUE, was: %u\n", V_BOOL(&fal… in test_construction() 188 …ok(V_BOOL(&trueVal2) == VARIANT_TRUE, "Expected value to be VARIANT_TRUE, was: %u\n", V_BOOL(&true… in test_copyconstructor() 290 …ok(V_BOOL(&trueVal) == VARIANT_TRUE, "Expected value to be VARIANT_TRUE, was: %u\n", V_BOOL(&trueV… in test_assign() 293 …ok(V_BOOL(&trueVal2) == VARIANT_TRUE, "Expected value to be VARIANT_TRUE, was: %u\n", V_BOOL(&true… in test_assign()
|
/reactos/dll/win32/shell32/ |
H A D | CShellDispatch.cpp | 342 V_BOOL(ret) = IsOS(os) ? VARIANT_TRUE : VARIANT_FALSE; in GetSystemInformation() 365 BOOL persist = V_VT(&persistent) == VT_BOOL && V_BOOL(&persistent); in SHELL32_ControlService() 413 V_BOOL(ret) = (hr == S_OK ? VARIANT_TRUE : VARIANT_FALSE); in ServiceStart() 423 V_BOOL(ret) = (hr == S_OK ? VARIANT_TRUE : VARIANT_FALSE); in ServiceStop() 436 V_BOOL(running) = VARIANT_FALSE; in IsServiceRunning() 463 V_BOOL(running) = VARIANT_TRUE; in IsServiceRunning() 480 V_BOOL(ret) = (hr == S_OK ? VARIANT_TRUE : VARIANT_FALSE); in CanStartStopService()
|
/reactos/dll/win32/oleaut32/ |
H A D | variant.c | 135 case VT_BOOL: return VarI1FromBool(V_BOOL(ps), &V_I1(pd)); in VARIANT_Coerce() 157 case VT_BOOL: return VarI2FromBool(V_BOOL(ps), &V_I2(pd)); in VARIANT_Coerce() 366 case VT_EMPTY: V_BOOL(pd) = 0; return S_OK; in VARIANT_Coerce() 3026 V_BOOL(result) = b; in VarAnd() 3089 V_BOOL(result) = V_BOOL(&varLeft) & V_BOOL(&varRight); in VarAnd() 4008 if (V_BOOL(pVarLeft)) in VarOr() 4066 V_BOOL(pVarOut) = b; in VarOr() 4133 V_BOOL(pVarOut) = V_BOOL(pVarLeft) | V_BOOL(pVarRight); in VarOr() 5086 V_I2(pVarOut) = V_BOOL(pVarIn); in VarRound() 5817 V_BOOL(result) = b; in VarImp() [all …]
|
H A D | olefont.c | 1387 V_BOOL(pVarResult) = value ? VARIANT_TRUE : VARIANT_FALSE; in OLEFontImpl_Invoke() 1397 hr = IFont_put_Bold(&this->IFont_iface, V_BOOL(&vararg)); in OLEFontImpl_Invoke() 1408 V_BOOL(pVarResult) = value ? VARIANT_TRUE : VARIANT_FALSE; in OLEFontImpl_Invoke() 1418 hr = IFont_put_Italic(&this->IFont_iface, V_BOOL(&vararg)); in OLEFontImpl_Invoke() 1429 V_BOOL(pVarResult) = value ? VARIANT_TRUE : VARIANT_FALSE; in OLEFontImpl_Invoke() 1439 hr = IFont_put_Underline(&this->IFont_iface, V_BOOL(&vararg)); in OLEFontImpl_Invoke() 1450 V_BOOL(pVarResult) = value ? VARIANT_TRUE : VARIANT_FALSE; in OLEFontImpl_Invoke() 1460 hr = IFont_put_Strikethrough(&this->IFont_iface, V_BOOL(&vararg)); in OLEFontImpl_Invoke() 1998 iRes = IFont_put_Underline(&this->IFont_iface, V_BOOL(&value)); in OLEFontImpl_IPersistPropertyBag_Load() 2012 iRes = IFont_put_Italic(&this->IFont_iface, V_BOOL(&value)); in OLEFontImpl_IPersistPropertyBag_Load() [all …]
|
H A D | varformat.c | 1195 V_BOOL(&vBool) = VARIANT_FALSE; in VARIANT_FormatNumber() 1218 V_BOOL(&vBool) = VARIANT_TRUE; in VARIANT_FormatNumber() 1223 V_BOOL(&vBool) = VARIANT_FALSE; in VARIANT_FormatNumber() 1228 V_BOOL(&vBool) = VARIANT_TRUE; in VARIANT_FormatNumber() 1373 hRes = VarBstrFromBool(V_BOOL(&vBool), lcid, boolFlag, &boolStr); in VARIANT_FormatNumber()
|
/reactos/modules/rostests/winetests/vbscript/ |
H A D | run.c | 335 V_BOOL(args) = VARIANT_TRUE; in test_disp() 346 ok(V_BOOL(&v), "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_disp() 352 ok(V_BOOL(&v), "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_disp() 358 ok(V_BOOL(&v), "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_disp() 398 V_BOOL(args) = VARIANT_TRUE; in test_disp() 407 ok(V_BOOL(&v) == VARIANT_TRUE, "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_disp() 468 V_BOOL(args) = VARIANT_TRUE; in test_disp() 542 V_BOOL(args) = VARIANT_TRUE; in test_disp() 562 V_BOOL(args) = VARIANT_TRUE; in test_disp() 1623 ok(V_BOOL(&v) == VARIANT_TRUE, "V_BOOL(v) = %x\n", V_BOOL(&v)); in Global_InvokeEx() [all …]
|
/reactos/modules/rostests/winetests/oleaut32/ |
H A D | varformat.c | 103 FMT_NUMBER(VT_BOOL, V_BOOL); in test_VarFormatNumber() 272 VARFMT(VT_BOOL,V_BOOL,VARIANT_TRUE,"True/False",S_OK,"True"); in test_VarFormat() 273 VARFMT(VT_BOOL,V_BOOL,VARIANT_FALSE,"True/False",S_OK,"False"); in test_VarFormat() 441 VARFMT(VT_BOOL,V_BOOL,VARIANT_TRUE,"",E_INVALIDARG,""); in test_VarFormat() 443 VARFMT(VT_BOOL,V_BOOL,VARIANT_TRUE,"",E_INVALIDARG,""); in test_VarFormat() 445 VARFMT(VT_BOOL,V_BOOL,VARIANT_TRUE,"",E_INVALIDARG,""); in test_VarFormat() 447 VARFMT(VT_BOOL,V_BOOL,VARIANT_TRUE,"",E_INVALIDARG,""); in test_VarFormat()
|
H A D | olefont.c | 441 V_BOOL(&vararg) = VARIANT_FALSE; in test_font_events_disp() 447 V_BOOL(&vararg) = VARIANT_TRUE; in test_font_events_disp() 615 V_BOOL(&vararg) = VARIANT_FALSE; in test_Invoke()
|
H A D | usrmarshal.c | 1085 V_BOOL(&v) = 0x1234; in test_marshal_VARIANT() 1097 ok(*(short*)wirev == V_BOOL(&v), "wv[5] %04x\n", *(WORD*)wirev); in test_marshal_VARIANT() 1103 ok(V_BOOL(&v) == V_BOOL(&v2), "got bool %x expect %x\n", V_BOOL(&v), V_BOOL(&v2)); in test_marshal_VARIANT()
|
/reactos/modules/rostests/winetests/jscript/ |
H A D | caller.c | 147 ok(V_BOOL(&v) == ex->bool_result, "V_BOOL(v) = %x, expected %x\n", V_BOOL(&v), ex->bool_result); in test_change_type() 192 V_BOOL(&v) = VARIANT_FALSE; in test_change_types() 194 V_BOOL(&v) = VARIANT_TRUE; in test_change_types() 216 V_BOOL(&v) = VARIANT_FALSE; in test_change_types()
|
H A D | run.c | 617 if(V_BOOL(pdp->rgvarg+1)) in dispexFunc_InvokeEx() 706 if(V_BOOL(pdp->rgvarg)) in pureDisp_Invoke() 1036 ok(V_BOOL(pdp->rgvarg+1), "%s: %s\n", test_name, wine_dbgstr_w(V_BSTR(pdp->rgvarg))); in Global_InvokeEx() 1167 V_BOOL(pvarRes) = VARIANT_TRUE; in Global_InvokeEx() 1231 V_BOOL(pvarRes) = V_BSTR(pdp->rgvarg) ? VARIANT_FALSE : VARIANT_TRUE; in Global_InvokeEx() 1237 V_BOOL(pvarRes) = sizeof(void*) == 8 ? VARIANT_TRUE : VARIANT_FALSE; in Global_InvokeEx() 1901 …ok(V_VT(&res) == VT_BOOL && V_BOOL(&res), "InvokeEx returned vt %d (%x)\n", V_VT(&res), V_I4(&res)… in invoke_procedure() 2508 ok(V_BOOL(&v) == VARIANT_TRUE, "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_script_exprs() 2513 ok(V_BOOL(&v) == VARIANT_TRUE, "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_script_exprs() 2520 ok(V_BOOL(&v) == VARIANT_TRUE, "V_BOOL(v) = %x\n", V_BOOL(&v)); in test_script_exprs() [all …]
|
/reactos/sdk/include/vcruntime/ |
H A D | comutil.h | 499 V_BOOL(this) = (sSrc ? VARIANT_TRUE : VARIANT_FALSE); in _variant_t() 515 V_BOOL(this) = (lSrc ? VARIANT_TRUE : VARIANT_FALSE); in _variant_t() 568 V_BOOL(this) = (boolSrc ? VARIANT_TRUE : VARIANT_FALSE); in _variant_t() 663 if(V_VT(this)==VT_BOOL) return V_BOOL(this) ? true : false; 666 return (V_BOOL(&varDest)==VARIANT_TRUE) ? true : false; 751 else if(V_VT(this)==VT_BOOL) V_BOOL(this) = (sSrc ? VARIANT_TRUE : VARIANT_FALSE); 762 else if(V_VT(this)==VT_BOOL) V_BOOL(this) = (lSrc ? VARIANT_TRUE : VARIANT_FALSE); 895 V_BOOL(this) = (boolSrc ? VARIANT_TRUE : VARIANT_FALSE); 1092 return V_BOOL(this)==V_BOOL(pSrc);
|
/reactos/modules/rosapps/applications/explorer-old/shell/ |
H A D | webchild.cpp | 63 return V_BOOL(&v)? true: false; in operator bool() 77 return V_BOOL(&v); in operator VARIANT_BOOL()
|
/reactos/dll/win32/ieframe/ |
H A D | webbrowser.c | 619 V_BOOL(&arg) = Value; in WebBrowser_put_Visible() 649 V_BOOL(&arg) = Value; in WebBrowser_put_StatusBar() 693 V_BOOL(&arg) = This->tool_bar; in WebBrowser_put_ToolBar() 723 V_BOOL(&arg) = Value; in WebBrowser_put_MenuBar() 753 V_BOOL(&arg) = bFullScreen; in WebBrowser_put_FullScreen() 991 V_BOOL(&arg) = bRegister; in WebBrowser_put_TheaterMode() 1021 V_BOOL(&arg) = Value; in WebBrowser_put_AddressBar() 1049 V_BOOL(&arg) = Value; in WebBrowser_put_Resizable()
|
H A D | client.c | 615 V_BOOL(pVarResult) = This->offline; in ClDispatch_Invoke() 619 V_BOOL(pVarResult) = This->offline; in ClDispatch_Invoke()
|
/reactos/modules/rostests/winetests/shell32/ |
H A D | shelldispatch.c | 868 ok(V_BOOL(&v) == VARIANT_FALSE, "got %d\n", V_BOOL(&v)); in test_service() 884 ok(V_BOOL(&v) == VARIANT_TRUE, "got %d\n", V_BOOL(&v)); in test_service() 886 ok(V_BOOL(&v) == VARIANT_FALSE, "got %d\n", V_BOOL(&v)); in test_service() 895 ok(V_BOOL(&v) == VARIANT_FALSE, "got %d\n", V_BOOL(&v)); in test_service()
|
/reactos/dll/win32/vbscript/ |
H A D | interp.c | 374 *b = V_BOOL(val.v); in stack_pop_bool() 1318 V_BOOL(&v) = arg; in interp_bool() 1597 V_BOOL(&v) = hres == VARCMP_EQ ? VARIANT_TRUE : VARIANT_FALSE; in interp_equal() 1615 V_BOOL(&v) = hres != VARCMP_EQ ? VARIANT_TRUE : VARIANT_FALSE; in interp_nequal() 1633 V_BOOL(&v) = hres == VARCMP_GT ? VARIANT_TRUE : VARIANT_FALSE; in interp_gt() 1651 V_BOOL(&v) = hres == VARCMP_GT || hres == VARCMP_EQ ? VARIANT_TRUE : VARIANT_FALSE; in interp_gteq() 1669 V_BOOL(&v) = hres == VARCMP_LT ? VARIANT_TRUE : VARIANT_FALSE; in interp_lt() 1687 V_BOOL(&v) = hres == VARCMP_LT || hres == VARCMP_EQ ? VARIANT_TRUE : VARIANT_FALSE; in interp_lteq() 1777 hres = disp_cmp(l, r, &V_BOOL(&v)); in interp_is()
|
/reactos/modules/rostests/winetests/mshtml/ |
H A D | script.c | 457 ok(V_BOOL(pdp->rgvarg+1) == VARIANT_TRUE, "V_BOOL(rgvarg[1]) = %x\n", V_BOOL(pdp->rgvarg)); in funcDisp_InvokeEx() 613 ok(V_BOOL(b), "%s\n", wine_dbgstr_w(V_BSTR(m))); in externalDisp_InvokeEx() 658 ok(V_BOOL(pdp->rgvarg+1), "%s\n", wine_dbgstr_w(V_BSTR(pdp->rgvarg))); in externalDisp_InvokeEx() 673 V_BOOL(pvarRes) = broken(V_BOOL(pdp->rgvarg)) ? VARIANT_TRUE : VARIANT_FALSE; in externalDisp_InvokeEx() 1752 ok(V_BOOL(pvarValue) == VARIANT_TRUE, "V_BOOL(pvarValue)=%x\n", V_BOOL(pvarValue)); in ActiveScriptProperty_SetProperty() 1762 ok(V_BOOL(pvarValue) == VARIANT_TRUE, "V_BOOL(pvarValue)=%x\n", V_BOOL(pvarValue)); in ActiveScriptProperty_SetProperty() 2283 V_BOOL(&arg) = VARIANT_TRUE; in test_script_run()
|
H A D | events.c | 965 V_BOOL(pvarRes) = VARIANT_FALSE; in form_onsubmit() 990 V_BOOL(pvarRes) = VARIANT_FALSE; in submit_onclick() 1015 V_BOOL(pvarRes) = VARIANT_FALSE; in submit_onclick_attached() 1305 V_BOOL(pVarResult) = VARIANT_FALSE; in doccp_onclick_cancel() 2019 V_BOOL(&onclick_retval) = VARIANT_TRUE; in test_submit() 2021 V_BOOL(&onclick_event_retval) = VARIANT_TRUE; in test_submit() 2033 V_BOOL(&onclick_event_retval) = VARIANT_FALSE; in test_submit() 2043 V_BOOL(&onclick_retval) = VARIANT_FALSE; in test_submit() 2045 V_BOOL(&onclick_event_retval) = VARIANT_TRUE; in test_submit() 2055 V_BOOL(&onclick_event_retval) = VARIANT_FALSE; in test_submit()
|
H A D | xmlhttprequest.c | 522 V_BOOL(&vbool) = VARIANT_FALSE; in test_sync_xhr() 682 V_BOOL(&vbool) = VARIANT_TRUE; in test_async_xhr() 798 V_BOOL(&vbool) = VARIANT_TRUE; in test_async_xhr_abort()
|
/reactos/dll/win32/mshtml/ |
H A D | oleobj.c | 425 else if(V_BOOL(&silent)) in OleObject_SetClientSite() 867 if(V_BOOL(&res)) { in OleControl_OnAmbientPropertyChange() 888 if(V_BOOL(&res)) { in OleControl_OnAmbientPropertyChange() 904 if(V_BOOL(&res)) { in OleControl_OnAmbientPropertyChange()
|
H A D | htmlevent.c | 457 if(!V_BOOL(&v)) in HTMLEventObj_put_returnValue() 976 if(!V_BOOL(&v)) in call_event_handlers() 1008 if(!V_BOOL(&v)) in call_event_handlers() 1052 if(!V_BOOL(&v)) in call_event_handlers()
|
H A D | olecmd.c | 512 V_BOOL(pvaOut) = VARIANT_TRUE; in exec_on_unload() 689 if(!in || V_VT(in) != VT_BOOL || !V_BOOL(in)) in exec_respectvisibility_indesign()
|
/reactos/dll/win32/jscript/ |
H A D | jsutils.c | 271 *r = jsval_bool(V_BOOL(var)); in variant_to_jsval() 392 V_BOOL(retv) = get_bool(val) ? VARIANT_TRUE : VARIANT_FALSE; in jsval_to_variant() 933 V_BOOL(dst) = b ? VARIANT_TRUE : VARIANT_FALSE; in variant_change_type()
|
/reactos/sdk/include/reactos/wine/ |
H A D | debug.h | 323 return wine_dbg_sprintf( "%p {VT_BOOL: %x}", v, V_BOOL(v) ); in wine_dbgstr_variant()
|