/reactos/modules/rostests/winetests/wbemprox/ |
H A D | services.c | 35 ULONG refs; in test_IClientSecurity() local 45 refs = IWbemLocator_Release( locator ); in test_IClientSecurity() 46 ok( refs == 0, "unexpected refcount %u\n", refs ); in test_IClientSecurity() 54 refs = IWbemServices_Release( services ); in test_IClientSecurity() 55 ok( refs == 0, "unexpected refcount %u\n", refs ); in test_IClientSecurity() 65 ok( refs == 1, "unexpected refcount %u\n", refs ); in test_IClientSecurity() 67 refs = IWbemServices_Release( services ); in test_IClientSecurity() 68 ok( refs == 0, "unexpected refcount %u\n", refs ); in test_IClientSecurity() 77 refs = IWbemServices_Release( services ); in test_IClientSecurity() 78 todo_wine ok( refs == 1, "unexpected refcount %u\n", refs ); in test_IClientSecurity() [all …]
|
/reactos/dll/win32/ole32/ |
H A D | stubmanager.c | 299 ULONG refs; in stub_manager_int_addref() local 302 refs = ++This->refs; in stub_manager_int_addref() 313 ULONG refs; in stub_manager_int_release() local 317 refs = --This->refs; in stub_manager_int_release() 322 if (!refs) in stub_manager_int_release() 328 if (!refs) in stub_manager_int_release() 418 refs = min(refs, (ULONG_MAX-1 - m->extrefs)); in stub_manager_ext_addref() 447 refs = min(refs, m->extrefs); in stub_manager_ext_release() 631 LONG refs; member 680 refs = InterlockedIncrement(&This->refs); in RemUnknown_AddRef() [all …]
|
/reactos/dll/win32/rpcrt4/ |
H A D | rpc_assoc.c | 59 unsigned int refs; member 72 assoc->refs = 1; in RpcAssoc_Alloc() 189 ULONG refs; in RpcAssoc_Release() local 192 refs = --assoc->refs; in RpcAssoc_Release() 193 if (!refs) in RpcAssoc_Release() 197 if (!refs) in RpcAssoc_Release() 224 return refs; in RpcAssoc_Release() 572 refs = --context_handle->refs; in RpcServerAssoc_ReleaseContextHandle() 573 if (!refs) in RpcServerAssoc_ReleaseContextHandle() 577 if (!refs) in RpcServerAssoc_ReleaseContextHandle() [all …]
|
/reactos/dll/win32/wmiutils/ |
H A D | statuscode.c | 37 LONG refs; member 49 return InterlockedIncrement( &status_code->refs ); in status_code_AddRef() 56 LONG refs = InterlockedDecrement( &status_code->refs ); in status_code_Release() local 57 if (!refs) in status_code_Release() 62 return refs; in status_code_Release() 142 sc->refs = 1; in WbemStatusCodeText_create()
|
/reactos/dll/win32/hnetcfg/ |
H A D | service.c | 38 LONG refs; member 50 return InterlockedIncrement( &fw_service->refs ); in fw_service_AddRef() 57 LONG refs = InterlockedDecrement( &fw_service->refs ); in fw_service_Release() local 58 if (!refs) in fw_service_Release() 63 return refs; in fw_service_Release() 297 fp->refs = 1; in NetFwService_create() 308 LONG refs; member 327 LONG refs = InterlockedDecrement( &fw_services->refs ); in fw_services_Release() local 328 if (!refs) in fw_services_Release() 333 return refs; in fw_services_Release() [all …]
|
H A D | policy.c | 38 LONG refs; member 50 LONG refs; member 61 LONG refs; member 104 LONG refs = InterlockedDecrement( &This->refs ); in netfw_rules_Release() local 105 if (!refs) in netfw_rules_Release() 110 return refs; in netfw_rules_Release() 295 LONG refs = InterlockedDecrement( &fw_policy->refs ); in fw_policy_Release() local 296 if (!refs) in fw_policy_Release() 301 return refs; in fw_policy_Release() 489 LONG refs = InterlockedDecrement( &fw_policy->refs ); in fwpolicy2_Release() local [all …]
|
H A D | port.c | 40 LONG refs; member 62 LONG refs = InterlockedDecrement( &fw_port->refs ); in fw_port_Release() local 63 if (!refs) in fw_port_Release() 69 return refs; in fw_port_Release() 370 fp->refs = 1; in NetFwOpenPort_create() 384 LONG refs; member 403 LONG refs = InterlockedDecrement( &fw_ports->refs ); in fw_ports_Release() local 404 if (!refs) in fw_ports_Release() 409 return refs; in fw_ports_Release() 654 if (!refs) in upnpnat_Release() [all …]
|
H A D | apps.c | 43 LONG refs; member 56 return InterlockedIncrement( &fw_app->refs ); in fw_app_AddRef() 63 LONG refs = InterlockedDecrement( &fw_app->refs ); in fw_app_Release() local 64 if (!refs) in fw_app_Release() 70 return refs; in fw_app_Release() 442 fa->refs = 1; in NetFwAuthorizedApplication_create() 453 LONG refs; member 472 LONG refs = InterlockedDecrement( &fw_apps->refs ); in fw_apps_Release() local 473 if (!refs) in fw_apps_Release() 478 return refs; in fw_apps_Release() [all …]
|
H A D | manager.c | 38 LONG refs; member 50 return InterlockedIncrement( &fw_manager->refs ); in fw_manager_AddRef() 57 LONG refs = InterlockedDecrement( &fw_manager->refs ); in fw_manager_Release() local 58 if (!refs) in fw_manager_Release() 63 return refs; in fw_manager_Release() 251 fm->refs = 1; in NetFwMgr_create()
|
H A D | profile.c | 38 LONG refs; member 50 return InterlockedIncrement( &fw_profile->refs ); in fw_profile_AddRef() 57 LONG refs = InterlockedDecrement( &fw_profile->refs ); in fw_profile_Release() local 58 if (!refs) in fw_profile_Release() 63 return refs; in fw_profile_Release() 341 fp->refs = 1; in NetFwProfile_create()
|
/reactos/dll/win32/wuapi/ |
H A D | systeminfo.c | 40 LONG refs; member 51 return InterlockedIncrement(&This->refs); in systeminfo_AddRef() 57 LONG refs = InterlockedDecrement(&This->refs); in systeminfo_Release() local 58 if (!refs) in systeminfo_Release() 63 return refs; in systeminfo_Release() 157 info->refs = 1; in SystemInformation_create()
|
H A D | updates.c | 39 LONG refs; member 51 return InterlockedIncrement( &automatic_updates->refs ); in automatic_updates_AddRef() 58 LONG refs = InterlockedDecrement( &automatic_updates->refs ); in automatic_updates_Release() local 59 if (!refs) in automatic_updates_Release() 64 return refs; in automatic_updates_Release() 215 updates->refs = 1; in AutomaticUpdates_create()
|
H A D | session.c | 39 LONG refs; member 51 return InterlockedIncrement( &update_session->refs ); in update_session_AddRef() 58 LONG refs = InterlockedDecrement( &update_session->refs ); in update_session_Release() local 59 if (!refs) in update_session_Release() 64 return refs; in update_session_Release() 229 session->refs = 1; in UpdateSession_create()
|
H A D | downloader.c | 40 LONG refs; member 52 return InterlockedIncrement( &update_downloader->refs ); in update_downloader_AddRef() 59 LONG refs = InterlockedDecrement( &update_downloader->refs ); in update_downloader_Release() local 60 if (!refs) in update_downloader_Release() 65 return refs; in update_downloader_Release() 261 downloader->refs = 1; in UpdateDownloader_create()
|
H A D | searcher.c | 39 LONG refs; member 51 return InterlockedIncrement( &update_searcher->refs ); in update_searcher_AddRef() 58 LONG refs = InterlockedDecrement( &update_searcher->refs ); in update_searcher_Release() local 59 if (!refs) in update_searcher_Release() 64 return refs; in update_searcher_Release() 327 searcher->refs = 1; in UpdateSearcher_create()
|
H A D | installer.c | 39 LONG refs; member 51 return InterlockedIncrement( &update_installer->refs ); in update_installer_AddRef() 58 LONG refs = InterlockedDecrement( &update_installer->refs ); in update_installer_Release() local 59 if (!refs) in update_installer_Release() 64 return refs; in update_installer_Release() 355 installer->refs = 1; in UpdateInstaller_create()
|
/reactos/dll/win32/winhttp/ |
H A D | handle.c | 51 ULONG refs = InterlockedIncrement( &hdr->refs ); in addref_object() local 52 TRACE("%p -> refcount = %d\n", hdr, refs); in addref_object() 74 ULONG refs = InterlockedDecrement( &hdr->refs ); in release_object() local 75 TRACE("object %p refcount = %d\n", hdr, refs); in release_object() 76 if (!refs) in release_object()
|
/reactos/modules/rostests/winetests/ole32/ |
H A D | usrmarshal.c | 579 LONG refs; member 627 LONG refs; member 724 ok(Test_Unknown.refs == 2, "got %d\n", Test_Unknown.refs); in marshal_WdtpInterfacePointer() 733 ok(Test_Unknown.refs == 2, "got %d\n", Test_Unknown.refs); in marshal_WdtpInterfacePointer() 759 ok(Test_Unknown.refs == 2, "got %d\n", Test_Unknown.refs); in marshal_WdtpInterfacePointer() 861 ok(Test_Unknown.refs == 1, "got %d\n", Test_Unknown.refs); in marshal_STGMEDIUM() 918 ok(Test_Stream2.refs == 0, "got %d\n", Test_Stream2.refs); in marshal_STGMEDIUM() 933 ok(Test_Unknown.refs == 1, "got %d\n", Test_Unknown.refs); in marshal_STGMEDIUM() 934 ok(Test_Stream.refs == 1, "got %d\n", Test_Stream.refs); in marshal_STGMEDIUM() 976 ok(Test_Stream2.refs == 0, "got %d\n", Test_Stream2.refs); in marshal_STGMEDIUM() [all …]
|
H A D | clipboard.c | 1169 ok(refs == (get1 == get2 ? 1 : 0), "got %d\n", refs); in test_consumer_refs() 1208 ok(refs == old_refs, "%d %d\n", refs, old_refs); in test_consumer_refs() 1216 ok(refs == old_refs + 1, "%d %d\n", refs, old_refs); in test_consumer_refs() 1227 ok(refs == 2, "%d\n", refs); in test_consumer_refs() 1232 ok(refs == 1, "%d\n", refs); in test_consumer_refs() 1246 ok(refs == old_refs, "%d %d\n", refs, old_refs); in test_consumer_refs() 1260 ok(refs == 1, "%d\n", refs); in test_consumer_refs() 1262 ok(refs == old_refs + 1, "%d %d\n", refs, old_refs); in test_consumer_refs() 1267 ok(refs == 2, "%d\n", refs); in test_consumer_refs() 1280 ok(refs > old_refs, "%d %d\n", refs, old_refs); in test_consumer_refs() [all …]
|
/reactos/dll/win32/wbemdisp/ |
H A D | locator.c | 105 LONG refs; member 124 LONG refs = InterlockedDecrement( &property->refs ); in property_Release() local 125 if (!refs) in property_Release() 132 return refs; in property_Release() 304 LONG refs; member 323 LONG refs = InterlockedDecrement( &propertyset->refs ); in propertyset_Release() local 324 if (!refs) in propertyset_Release() 513 LONG refs; member 538 LONG refs = InterlockedDecrement( &object->refs ); in object_Release() local 1402 LONG refs = InterlockedDecrement( &enumvar->refs ); in enumvar_Release() local [all …]
|
/reactos/sdk/lib/3rdparty/stlport/src/ |
H A D | facets_byname.cpp | 42 : ctype<char>( 0, false, refs) { in ctype_byname() 113 : ctype<wchar_t>(refs) { in ctype_byname() 185 : collate<char>(refs) { in collate_byname() 232 : collate<wchar_t>(refs) { in collate_byname() 278 : codecvt<char, char, mbstate_t>(refs) { in codecvt_byname() 431 : numpunct<char>(refs) { in numpunct_byname() 472 : numpunct<wchar_t>(refs) { in numpunct_byname() 863 : moneypunct<char, true>(refs) { in moneypunct_byname() 907 : moneypunct<char, false>(refs) { in moneypunct_byname() 956 : moneypunct<wchar_t, true>(refs) { in moneypunct_byname() [all …]
|
H A D | messages.cpp | 188 messages<char>::messages(size_t refs) in messages() argument 189 : locale::facet(refs) {} in messages() 191 messages_byname<char>::messages_byname(const char *name, size_t refs) in messages_byname() argument 192 : messages<char>(refs), _M_impl(new _STLP_PRIV _Messages(false, name)) {} in messages_byname() 217 messages<wchar_t>::messages(size_t refs) in messages() argument 218 : locale::facet(refs) {} in messages() 220 messages_byname<wchar_t>::messages_byname(const char *name, size_t refs) in messages_byname() argument 221 : messages<wchar_t>(refs), _M_impl(new _STLP_PRIV _Messages(true, name)) {} in messages_byname()
|
/reactos/dll/win32/wbemprox/ |
H A D | wbemlocator.c | 36 LONG refs; member 48 return InterlockedIncrement( &wl->refs ); in wbem_locator_AddRef() 55 LONG refs = InterlockedDecrement( &wl->refs ); in wbem_locator_Release() local 56 if (!refs) in wbem_locator_Release() 61 return refs; in wbem_locator_Release() 222 wl->refs = 1; in WbemLocator_create()
|
H A D | qualifier.c | 39 LONG refs; member 54 return InterlockedIncrement( &set->refs ); in qualifier_set_AddRef() 61 LONG refs = InterlockedDecrement( &set->refs ); in qualifier_set_Release() local 62 if (!refs) in qualifier_set_Release() 69 return refs; in qualifier_set_Release() 314 set->refs = 1; in WbemQualifierSet_create()
|
/reactos/dll/win32/sxs/ |
H A D | name.c | 41 LONG refs; member 85 return InterlockedIncrement( &name->refs ); in name_AddRef() 91 ULONG refs = InterlockedDecrement( &name->refs ); in name_Release() local 93 if (!refs) in name_Release() 103 return refs; in name_Release() 389 name->refs = 1; in CreateAssemblyNameObject()
|