/reactos/modules/rostests/winetests/shlwapi/ |
H A D | thread.c | 87 iface->ref = refcount; in init_threadref() 96 LONG refcount; in test_SHCreateThreadRef() local 110 refcount = 0xdeadbeef; in test_SHCreateThreadRef() 114 hr, pobj, refcount); in test_SHCreateThreadRef() 131 hr, punk, refcount, pobj); in test_SHCreateThreadRef() 166 refcount = 0xdeadbeef; in test_SHCreateThreadRef() 171 hr, refcount); in test_SHCreateThreadRef() 203 LONG refcount; in test_SHSetThreadRef() local 216 init_threadref(&ref, &refcount); in test_SHSetThreadRef() 218 refcount = 1; in test_SHSetThreadRef() [all …]
|
H A D | istream.c | 35 ULONG refcount; in test_IStream_invalid_operations() local 183 ok(refcount == 0, "expected 0, got %d\n", refcount); in test_IStream_invalid_operations() 287 ULONG refcount; in test_SHCreateStreamOnFileA() local 350 ok(refcount == 0, "SHCreateStreamOnFileA: expected 0, got %d\n", refcount); in test_SHCreateStreamOnFileA() 366 ok(refcount == 0, "SHCreateStreamOnFileA: expected 0, got %d\n", refcount); in test_SHCreateStreamOnFileA() 381 ok(refcount == 0, "SHCreateStreamOnFileA: expected 0, got %d\n", refcount); in test_SHCreateStreamOnFileA() 394 ULONG refcount; in test_SHCreateStreamOnFileW() local 463 ok(refcount == 0, "SHCreateStreamOnFileW: expected 0, got %d\n", refcount); in test_SHCreateStreamOnFileW() 479 ok(refcount == 0, "SHCreateStreamOnFileW: expected 0, got %d\n", refcount); in test_SHCreateStreamOnFileW() 494 ok(refcount == 0, "SHCreateStreamOnFileW: expected 0, got %d\n", refcount); in test_SHCreateStreamOnFileW() [all …]
|
/reactos/modules/rostests/winetests/d3dcompiler_43/ |
H A D | blob.c | 61 ULONG refcount; in test_create_blob() local 73 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_create_blob() 123 ULONG refcount; in test_get_blob_part() local 166 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() 197 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() 228 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() 262 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() 294 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() 314 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() 334 ok(!refcount, "ID3DBlob has %u references left\n", refcount); in test_get_blob_part() [all …]
|
/reactos/modules/rostests/winetests/dsound/ |
H A D | duplex.c | 250 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 254 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 289 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 293 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_COM() 295 ok(refcount == 5, "refcount == %u, expected 5\n", refcount); in test_COM() 300 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_COM() 302 ok(refcount == 6, "refcount == %u, expected 6\n", refcount); in test_COM() 304 ok(refcount == 3, "refcount == %u, expected 3\n", refcount); in test_COM() 310 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 312 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_COM() [all …]
|
H A D | capture.c | 678 ULONG refcount; in test_COM() local 694 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 697 refcount = IUnknown_AddRef(unk); in test_COM() 698 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 726 ok(refcount == 3, "IDirectSoundCaptureBuffer refcount is %u, expected 3\n", refcount); in test_COM() 730 ok(refcount == 2, "IDirectSoundNotify refcount is %u, expected 2\n", refcount); in test_COM() 733 ok(refcount == 3, "IDirectSoundCaptureBuffer refcount is %u, expected 3\n", refcount); in test_COM() 738 ok(refcount == 3, "IDirectSoundNotify refcount is %u, expected 3\n", refcount); in test_COM() 740 ok(refcount == 1, "IDirectSoundCaptureBuffer refcount is %u, expected 1\n", refcount); in test_COM() 744 ok(refcount == 0, "IDirectSoundCaptureBuffer refcount is %u, expected 0\n", refcount); in test_COM() [all …]
|
/reactos/modules/rostests/winetests/avifil32/ |
H A D | api.c | 608 LONG refcount; in test_COM() local 639 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM() 643 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_COM() 647 ok(refcount == 6, "refcount == %u, expected 6\n", refcount); in test_COM() 690 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM_wavfile() 695 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_COM_wavfile() 701 ok(refcount == 5, "refcount == %u, expected 5\n", refcount); in test_COM_wavfile() 707 ok(refcount == 6, "refcount == %u, expected 6\n", refcount); in test_COM_wavfile() 725 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM_editstream() 730 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_COM_editstream() [all …]
|
/reactos/modules/rostests/winetests/riched20/ |
H A D | txtsrv.c | 872 ok(refcount == 1, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 878 ok(refcount == 2, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 880 ok(refcount == 2, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 885 ok(refcount == 3, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 887 ok(refcount == 3, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 891 ok(refcount == 2, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 896 ok(refcount == 3, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 898 ok(refcount == 3, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 902 ok(refcount == 2, "got wrong ref count: %d\n", refcount); in test_QueryInterface() 905 ok(refcount == 1, "got wrong ref count: %d\n", refcount); in test_QueryInterface() [all …]
|
/reactos/modules/rostests/winetests/qedit/ |
H A D | mediadet.c | 136 ULONG refcount; in test_mediadet() local 157 ok(refcount == 19, "Refcount should be back at 19 but is %u\n", refcount); in test_mediadet() 535 ULONG refcount; in test_samplegrabber() local 564 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_samplegrabber() 569 ok(refcount == 4, "refcount == %u, expected 4\n", refcount); in test_samplegrabber() 575 ok(refcount == 5, "refcount == %u, expected 5\n", refcount); in test_samplegrabber() 581 ok(refcount == 6, "refcount == %u, expected 6\n", refcount); in test_samplegrabber() 587 ok(refcount == 7, "refcount == %u, expected 7\n", refcount); in test_samplegrabber() 635 ULONG refcount; in test_COM_sg_enumpins() local 646 ok(refcount == 2, "refcount == %u, expected 2\n", refcount); in test_COM_sg_enumpins() [all …]
|
/reactos/dll/directx/wine/d3d9/ |
H A D | shader.c | 51 ULONG refcount = InterlockedIncrement(&shader->refcount); in d3d9_vertexshader_AddRef() local 55 if (refcount == 1) in d3d9_vertexshader_AddRef() 63 return refcount; in d3d9_vertexshader_AddRef() 69 ULONG refcount = InterlockedDecrement(&shader->refcount); in d3d9_vertexshader_Release() local 73 if (!refcount) in d3d9_vertexshader_Release() 85 return refcount; in d3d9_vertexshader_Release() 205 ULONG refcount = InterlockedIncrement(&shader->refcount); in d3d9_pixelshader_AddRef() local 217 return refcount; in d3d9_pixelshader_AddRef() 223 ULONG refcount = InterlockedDecrement(&shader->refcount); in d3d9_pixelshader_Release() local 227 if (!refcount) in d3d9_pixelshader_Release() [all …]
|
H A D | stateblock.c | 54 ULONG refcount = InterlockedIncrement(&stateblock->refcount); in d3d9_stateblock_AddRef() local 56 TRACE("%p increasing refcount to %u.\n", iface, refcount); in d3d9_stateblock_AddRef() 58 return refcount; in d3d9_stateblock_AddRef() 64 ULONG refcount = InterlockedDecrement(&stateblock->refcount); in d3d9_stateblock_Release() local 66 TRACE("%p decreasing refcount to %u.\n", iface, refcount); in d3d9_stateblock_Release() 68 if (!refcount) in d3d9_stateblock_Release() 78 return refcount; in d3d9_stateblock_Release() 140 stateblock->refcount = 1; in stateblock_init()
|
H A D | query.c | 54 ULONG refcount = InterlockedIncrement(&query->refcount); in d3d9_query_AddRef() local 56 TRACE("%p increasing refcount to %u.\n", iface, refcount); in d3d9_query_AddRef() 58 return refcount; in d3d9_query_AddRef() 64 ULONG refcount = InterlockedDecrement(&query->refcount); in d3d9_query_Release() local 66 TRACE("%p decreasing refcount to %u.\n", iface, refcount); in d3d9_query_Release() 68 if (!refcount) in d3d9_query_Release() 77 return refcount; in d3d9_query_Release() 199 query->refcount = 1; in query_init()
|
H A D | swapchain.c | 73 ULONG refcount = InterlockedIncrement(&swapchain->refcount); in d3d9_swapchain_AddRef() local 75 TRACE("%p increasing refcount to %u.\n", iface, refcount); in d3d9_swapchain_AddRef() 77 if (refcount == 1) in d3d9_swapchain_AddRef() 87 return refcount; in d3d9_swapchain_AddRef() 93 ULONG refcount; in d3d9_swapchain_Release() local 95 if (!swapchain->refcount) in d3d9_swapchain_Release() 101 refcount = InterlockedDecrement(&swapchain->refcount); in d3d9_swapchain_Release() 102 TRACE("%p decreasing refcount to %u.\n", iface, refcount); in d3d9_swapchain_Release() 104 if (!refcount) in d3d9_swapchain_Release() 117 return refcount; in d3d9_swapchain_Release() [all …]
|
H A D | buffer.c | 53 ULONG refcount = InterlockedIncrement(&buffer->resource.refcount); in d3d9_vertexbuffer_AddRef() local 57 if (refcount == 1) in d3d9_vertexbuffer_AddRef() 65 return refcount; in d3d9_vertexbuffer_AddRef() 71 ULONG refcount = InterlockedDecrement(&buffer->resource.refcount); in d3d9_vertexbuffer_Release() local 75 if (!refcount) in d3d9_vertexbuffer_Release() 87 return refcount; in d3d9_vertexbuffer_Release() 350 ULONG refcount = InterlockedIncrement(&buffer->resource.refcount); in d3d9_indexbuffer_AddRef() local 362 return refcount; in d3d9_indexbuffer_AddRef() 368 ULONG refcount = InterlockedDecrement(&buffer->resource.refcount); in d3d9_indexbuffer_Release() local 372 if (!refcount) in d3d9_indexbuffer_Release() [all …]
|
H A D | surface.c | 54 ULONG refcount; in d3d9_surface_AddRef() local 64 refcount = InterlockedIncrement(&surface->resource.refcount); in d3d9_surface_AddRef() 65 TRACE("%p increasing refcount to %u.\n", iface, refcount); in d3d9_surface_AddRef() 67 if (refcount == 1) in d3d9_surface_AddRef() 78 return refcount; in d3d9_surface_AddRef() 84 ULONG refcount; in d3d9_surface_Release() local 94 if (!surface->resource.refcount) in d3d9_surface_Release() 100 refcount = InterlockedDecrement(&surface->resource.refcount); in d3d9_surface_Release() 103 if (!refcount) in d3d9_surface_Release() 118 return refcount; in d3d9_surface_Release() [all …]
|
H A D | d3d9_private.h | 64 LONG refcount; member 88 LONG refcount; member 122 LONG refcount; member 149 LONG refcount; member 230 LONG refcount; member 241 LONG refcount; member 257 LONG refcount; member 269 LONG refcount; member 281 LONG refcount; member
|
H A D | vertexdeclaration.c | 222 ULONG refcount = InterlockedIncrement(&declaration->refcount); in d3d9_vertex_declaration_AddRef() local 224 TRACE("%p increasing refcount to %u.\n", iface, refcount); in d3d9_vertex_declaration_AddRef() 226 if (refcount == 1) in d3d9_vertex_declaration_AddRef() 234 return refcount; in d3d9_vertex_declaration_AddRef() 240 ULONG refcount = InterlockedDecrement(&declaration->refcount); in d3d9_vertex_declaration_Release() local 242 TRACE("%p decreasing refcount to %u.\n", iface, refcount); in d3d9_vertex_declaration_Release() 244 if (!refcount) in d3d9_vertex_declaration_Release() 255 return refcount; in d3d9_vertex_declaration_Release() 385 declaration->refcount = 1; in vertexdeclaration_init()
|
/reactos/dll/directx/wine/d3d8/ |
H A D | buffer.c | 51 ULONG refcount = InterlockedIncrement(&buffer->resource.refcount); in d3d8_vertexbuffer_AddRef() local 55 if (refcount == 1) in d3d8_vertexbuffer_AddRef() 63 return refcount; in d3d8_vertexbuffer_AddRef() 69 ULONG refcount = InterlockedDecrement(&buffer->resource.refcount); in d3d8_vertexbuffer_Release() local 73 if (!refcount) in d3d8_vertexbuffer_Release() 85 return refcount; in d3d8_vertexbuffer_Release() 349 ULONG refcount = InterlockedIncrement(&buffer->resource.refcount); in d3d8_indexbuffer_AddRef() local 361 return refcount; in d3d8_indexbuffer_AddRef() 367 ULONG refcount = InterlockedDecrement(&buffer->resource.refcount); in d3d8_indexbuffer_Release() local 371 if (!refcount) in d3d8_indexbuffer_Release() [all …]
|
H A D | surface.c | 53 ULONG refcount; in d3d8_surface_AddRef() local 63 refcount = InterlockedIncrement(&surface->resource.refcount); in d3d8_surface_AddRef() 64 TRACE("%p increasing refcount to %u.\n", iface, refcount); in d3d8_surface_AddRef() 66 if (refcount == 1) in d3d8_surface_AddRef() 77 return refcount; in d3d8_surface_AddRef() 83 ULONG refcount; in d3d8_surface_Release() local 93 if (!surface->resource.refcount) in d3d8_surface_Release() 99 refcount = InterlockedDecrement(&surface->resource.refcount); in d3d8_surface_Release() 102 if (!refcount) in d3d8_surface_Release() 116 return refcount; in d3d8_surface_Release() [all …]
|
/reactos/dll/directx/wine/d3dx9_36/ |
H A D | xfile.c | 117 return refcount; in d3dx9_file_data_AddRef() 127 if (!refcount) in d3dx9_file_data_Release() 141 return refcount; in d3dx9_file_data_Release() 419 return refcount; in d3dx9_file_enum_object_AddRef() 429 if (!refcount) in d3dx9_file_enum_object_Release() 442 return refcount; in d3dx9_file_enum_object_Release() 530 ULONG refcount = InterlockedIncrement(&file->ref); in d3dx9_file_AddRef() local 534 return refcount; in d3dx9_file_AddRef() 540 ULONG refcount = InterlockedDecrement(&file->ref); in d3dx9_file_Release() local 544 if (!refcount) in d3dx9_file_Release() [all …]
|
/reactos/dll/directx/wine/wined3d/ |
H A D | sampler.c | 29 ULONG refcount = InterlockedIncrement(&sampler->refcount); in wined3d_sampler_incref() local 31 TRACE("%p increasing refcount to %u.\n", sampler, refcount); in wined3d_sampler_incref() 33 return refcount; in wined3d_sampler_incref() 55 ULONG refcount = InterlockedDecrement(&sampler->refcount); in wined3d_sampler_decref() local 57 TRACE("%p decreasing refcount to %u.\n", sampler, refcount); in wined3d_sampler_decref() 59 if (!refcount) in wined3d_sampler_decref() 65 return refcount; in wined3d_sampler_decref() 120 sampler->refcount = 1; in wined3d_sampler_init()
|
H A D | palette.c | 29 ULONG refcount = InterlockedIncrement(&palette->ref); in wined3d_palette_incref() local 31 TRACE("%p increasing refcount to %u.\n", palette, refcount); in wined3d_palette_incref() 33 return refcount; in wined3d_palette_incref() 43 ULONG refcount = InterlockedDecrement(&palette->ref); in wined3d_palette_decref() local 45 TRACE("%p decreasing refcount to %u.\n", palette, refcount); in wined3d_palette_decref() 47 if (!refcount) in wined3d_palette_decref() 50 return refcount; in wined3d_palette_decref()
|
H A D | view.c | 320 ULONG refcount = InterlockedIncrement(&view->refcount); in wined3d_rendertarget_view_incref() local 324 return refcount; in wined3d_rendertarget_view_incref() 350 ULONG refcount = InterlockedDecrement(&view->refcount); in wined3d_rendertarget_view_decref() local 354 if (!refcount) in wined3d_rendertarget_view_decref() 366 return refcount; in wined3d_rendertarget_view_decref() 645 ULONG refcount = InterlockedIncrement(&view->refcount); in wined3d_shader_resource_view_incref() local 673 ULONG refcount = InterlockedDecrement(&view->refcount); in wined3d_shader_resource_view_decref() local 677 if (!refcount) in wined3d_shader_resource_view_decref() 941 ULONG refcount = InterlockedIncrement(&view->refcount); in wined3d_unordered_access_view_incref() local 972 ULONG refcount = InterlockedDecrement(&view->refcount); in wined3d_unordered_access_view_decref() local [all …]
|
/reactos/dll/shellext/shellbtrfs/ |
H A D | factory.h | 33 refcount = 0; in Factory() 47 return InterlockedIncrement(&refcount); in AddRef() 51 LONG rc = InterlockedDecrement(&refcount); in Release() 67 LONG refcount;
|
H A D | iconoverlay.h | 27 refcount = 0; in BtrfsIconOverlay() 40 return InterlockedIncrement(&refcount); in AddRef() 44 LONG rc = InterlockedDecrement(&refcount); in Release() 59 LONG refcount;
|
/reactos/dll/directx/wine/d3dcompiler_43/ |
H A D | blob.c | 29 LONG refcount; member 63 ULONG refcount = InterlockedIncrement(&blob->refcount); in d3dcompiler_blob_AddRef() local 65 TRACE("%p increasing refcount to %u\n", blob, refcount); in d3dcompiler_blob_AddRef() 67 return refcount; in d3dcompiler_blob_AddRef() 73 ULONG refcount = InterlockedDecrement(&blob->refcount); in d3dcompiler_blob_Release() local 75 TRACE("%p decreasing refcount to %u\n", blob, refcount); in d3dcompiler_blob_Release() 77 if (!refcount) in d3dcompiler_blob_Release() 83 return refcount; in d3dcompiler_blob_Release() 120 blob->refcount = 1; in d3dcompiler_blob_init()
|