Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 196) sorted by relevance

12345678

/reactos/drivers/network/tcpip/lwip/src/core/
H A Dmemp.c105 t = *desc->tab; in memp_sanity()
130 mem_overflow_check_raw((u8_t *)p + MEMP_SIZE, desc->size, "pool ", desc->desc); in memp_overflow_check_element()
183 *desc->tab = NULL; in memp_init_pool()
187 memset(memp, 0, (size_t)desc->num * (MEMP_SIZE + desc->size in memp_init_pool()
208 desc->stats->avail = desc->num; in memp_init_pool()
213 desc->stats->name = desc->desc; in memp_init_pool()
259 memp = *desc->tab; in do_memp_malloc_pool()
284 if (desc->stats->used > desc->stats->max) { in do_memp_malloc_pool()
285 desc->stats->max = desc->stats->used; in do_memp_malloc_pool()
317 if (desc == NULL) { in memp_malloc_pool()
[all …]
/reactos/dll/directx/wine/dmusic/
H A Ddmobject.c207 if (!desc) in dmobj_IDirectMusicObject_GetDescriptor()
210 memcpy(desc, &This->desc, This->desc.dwSize); in dmobj_IDirectMusicObject_GetDescriptor()
223 if (!desc) in dmobj_IDirectMusicObject_SetDescriptor()
234 This->desc.guidObject = desc->guidObject; in dmobj_IDirectMusicObject_SetDescriptor()
242 This->desc.vVersion = desc->vVersion; in dmobj_IDirectMusicObject_SetDescriptor()
244 This->desc.ftDate = desc->ftDate; in dmobj_IDirectMusicObject_SetDescriptor()
246 This->desc.llMemLength = desc->llMemLength; in dmobj_IDirectMusicObject_SetDescriptor()
247 memcpy(This->desc.pbMemData, desc->pbMemData, desc->llMemLength); in dmobj_IDirectMusicObject_SetDescriptor()
252 This->desc.dwValidData |= desc->dwValidData; in dmobj_IDirectMusicObject_SetDescriptor()
309 desc->dwSize = sizeof(*desc); in dmobj_parsedescriptor()
[all …]
/reactos/win32ss/reactx/ntddraw/
H A Dd3dkmt.c41 if (!desc) in NtGdiDdDDICreateDCFromMemory()
44 if (!desc->pMemory) in NtGdiDdDDICreateDCFromMemory()
60 !desc->Pitch || desc->Pitch < (((desc->Width * format->bit_count + 31) >> 3) & ~3) || in NtGdiDdDDICreateDCFromMemory()
61 !desc->Height || desc->Height > UINT_MAX / desc->Pitch) in NtGdiDdDDICreateDCFromMemory()
66 if (!desc->hDeviceDc || !(hDC = NtGdiCreateCompatibleDC(desc->hDeviceDc))) in NtGdiDdDDICreateDCFromMemory()
73 desc->Width, in NtGdiDdDDICreateDCFromMemory()
84 desc->hDc = hDC; in NtGdiDdDDICreateDCFromMemory()
102 NtGdiSelectBitmap(desc->hDc, desc->hBitmap); in NtGdiDdDDICreateDCFromMemory()
111 if (!desc) in NtGdiDdDDIDestroyDCFromMemory()
118 NtGdiDeleteObjectApp(desc->hBitmap); in NtGdiDdDDIDestroyDCFromMemory()
[all …]
/reactos/dll/directx/wine/wined3d/
H A Dsampler.c78 const struct wined3d_sampler_desc *desc; in wined3d_sampler_cs_init() local
85 desc = &sampler->desc; in wined3d_sampler_cs_init()
97 wined3d_gl_min_mip_filter(desc->min_filter, desc->mip_filter))); in wined3d_sampler_cs_init()
103 if (desc->compare) in wined3d_sampler_cs_init()
124 sampler->desc = *desc; in wined3d_sampler_init()
137 if (desc->address_u < WINED3D_TADDRESS_WRAP || desc->address_u > WINED3D_TADDRESS_MIRROR_ONCE in wined3d_sampler_create()
138 … || desc->address_v < WINED3D_TADDRESS_WRAP || desc->address_v > WINED3D_TADDRESS_MIRROR_ONCE in wined3d_sampler_create()
139 … || desc->address_w < WINED3D_TADDRESS_WRAP || desc->address_w > WINED3D_TADDRESS_MIRROR_ONCE) in wined3d_sampler_create()
142 if (desc->mag_filter < WINED3D_TEXF_POINT || desc->mag_filter > WINED3D_TEXF_LINEAR in wined3d_sampler_create()
143 || desc->min_filter < WINED3D_TEXF_POINT || desc->min_filter > WINED3D_TEXF_LINEAR in wined3d_sampler_create()
[all …]
H A Dview.c134 || desc->u.buffer.count > buffer_size - desc->u.buffer.start_idx) in validate_resource_view()
203 desc->u.texture.level_idx, desc->u.texture.level_count, in create_texture_view()
278 *offset = desc->u.buffer.start_idx * buffer->desc.structure_byte_stride; in get_buffer_view_range()
279 *size = desc->u.buffer.count * buffer->desc.structure_byte_stride; in get_buffer_view_range()
514 const struct wined3d_view_desc *desc = &view->desc; in wined3d_render_target_view_cs_init() local
570 view->desc = *desc; in wined3d_rendertarget_view_init()
634 desc.flags = 0; in wined3d_rendertarget_view_create_from_sub_resource()
710 desc = &view->desc; in wined3d_shader_resource_view_cs_init()
769 view->desc = *desc; in wined3d_shader_resource_view_init()
1088 struct wined3d_view_desc *desc = &view->desc; in wined3d_unordered_access_view_cs_init() local
[all …]
H A Dswapchain.c81 if (!swapchain->desc.windowed && swapchain->desc.auto_restore_display_mode) in swapchain_cleanup()
276 *desc = swapchain->desc; in wined3d_swapchain_get_desc()
804 window = desc->device_window ? desc->device_window : device->create_parms.focus_window; in swapchain_init()
822 if (desc->windowed) in swapchain_init()
842 swapchain->desc = *desc; in swapchain_init()
844 &swapchain->desc.multisample_type, &swapchain->desc.multisample_quality); in swapchain_init()
880 if (!desc->windowed) in swapchain_init()
969 desc.flags = 0; in swapchain_init()
1173 swapchain->desc.backbuffer_width, swapchain->desc.backbuffer_height, in wined3d_swapchain_activate()
1278 swapchain->desc.backbuffer_height, swapchain->desc.backbuffer_format, in wined3d_swapchain_resize_buffers()
[all …]
/reactos/modules/rostests/winetests/shell32/
H A Dshelllink.c438 if (desc->path) in create_lnk_()
443 if (desc->pidl) in create_lnk_()
458 if (desc->icon) in create_lnk_()
595 if (desc->path) in check_lnk_()
604 if (desc->pidl) in check_lnk_()
621 if (desc->icon) in check_lnk_()
673 memset(&desc, 0, sizeof(desc)); in test_load_save()
679 desc.path=""; in test_load_save()
681 desc.icon=""; in test_load_save()
688 desc.pidl=NULL; in test_load_save()
[all …]
/reactos/dll/directx/wine/d3dcompiler_43/
H A Dreflection.c361 if (!desc) in d3dcompiler_shader_reflection_GetDesc()
377 desc->DefCount = 0; in d3dcompiler_shader_reflection_GetDesc()
570 if (!desc || !name) in d3dcompiler_shader_reflection_GetResourceBindingDescByName()
725 if (!desc) in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
814 if (!desc) in d3dcompiler_shader_reflection_variable_GetDesc()
886 if (!desc) in d3dcompiler_shader_reflection_type_GetDesc()
892 *desc = This->desc; in d3dcompiler_shader_reflection_type_GetDesc()
1223 desc = &type->desc; in d3dcompiler_parse_type()
1234 TRACE("Rows %u, Columns %u\n", desc->Rows, desc->Columns); in d3dcompiler_parse_type()
1239 TRACE("Elements %u, Members %u\n", desc->Elements, desc->Members); in d3dcompiler_parse_type()
[all …]
/reactos/modules/rostests/winetests/d3dcompiler_43/
H A Dreflection.c386 i, desc.Mask, pdesc->Mask); in test_reflection_desc_vs()
411 i, desc.Mask, pdesc->Mask); in test_reflection_desc_vs()
686 i, desc.Mask, pdesc->Mask); in test_reflection_desc_ps()
711 i, desc.Mask, pdesc->Mask); in test_reflection_desc_ps()
932 i, desc.Mask, pdesc->Mask); in test_reflection_desc_ps_output()
1021 D3D11_SHADER_INPUT_BIND_DESC desc; in test_reflection_bound_resources() local
1056 i, desc.Name, pdesc->Name); in test_reflection_bound_resources()
1058 i, desc.Type, pdesc->Type); in test_reflection_bound_resources()
1082 i, desc.Name, pdesc->Name); in test_reflection_bound_resources()
1084 i, desc.Type, pdesc->Type); in test_reflection_bound_resources()
[all …]
/reactos/dll/win32/rpcrt4/
H A Dndr_typelib.c118 switch (desc->vt) in get_basetype()
154 switch (desc->vt) in type_memsize()
311 VARDESC *desc; in get_struct_fc() local
332 switch (desc->vt) in get_array_fc()
399 VARDESC *desc; in write_struct_members() local
444 if (desc->vt == VT_PTR || desc->vt == VT_UNKNOWN || desc->vt == VT_DISPATCH) in type_needs_pointer_deref()
541 VARDESC *desc; in write_complex_struct_tfs() local
637 for (i = 0; i < desc->cDims; i++) size *= desc->rgbounds[i].cElements; in write_array_tfs()
774 if (desc->vt == VT_PTR || desc->vt == VT_UNKNOWN || desc->vt == VT_DISPATCH) in write_pointer_tfs()
799 switch (desc->vt) in write_type_tfs()
[all …]
/reactos/dll/directx/wine/d3d8/
H A Dshader.c113 struct wined3d_shader_desc desc; in d3d8_vertex_shader_init() local
118 desc.byte_code = byte_code; in d3d8_vertex_shader_init()
119 desc.byte_code_size = ~(size_t)0; in d3d8_vertex_shader_init()
121 desc.input_signature.element_count = 0; in d3d8_vertex_shader_init()
124 desc.max_version = 1; in d3d8_vertex_shader_init()
165 struct wined3d_shader_desc desc; in d3d8_pixel_shader_init() local
170 desc.byte_code = byte_code; in d3d8_pixel_shader_init()
171 desc.byte_code_size = ~(size_t)0; in d3d8_pixel_shader_init()
173 desc.input_signature.element_count = 0; in d3d8_pixel_shader_init()
174 desc.output_signature.element_count = 0; in d3d8_pixel_shader_init()
[all …]
H A Dtexture.c1115 desc.width = width; in texture_init()
1116 desc.height = height; in texture_init()
1117 desc.depth = 1; in texture_init()
1118 desc.size = 0; in texture_init()
1163 desc.width = edge_length; in cubetexture_init()
1165 desc.depth = 1; in cubetexture_init()
1166 desc.size = 0; in cubetexture_init()
1209 desc.width = width; in volumetexture_init()
1210 desc.height = height; in volumetexture_init()
1211 desc.depth = depth; in volumetexture_init()
[all …]
H A Dbuffer.c217 D3DVERTEXBUFFER_DESC *desc) in d3d8_vertexbuffer_GetDesc() argument
234 desc->Size = wined3d_desc.size; in d3d8_vertexbuffer_GetDesc()
235 desc->FVF = buffer->fvf; in d3d8_vertexbuffer_GetDesc()
276 struct wined3d_buffer_desc desc; in vertexbuffer_init() local
289 desc.byte_width = size; in vertexbuffer_init()
294 desc.misc_flags = 0; in vertexbuffer_init()
295 desc.structure_byte_stride = 0; in vertexbuffer_init()
515 D3DINDEXBUFFER_DESC *desc) in d3d8_indexbuffer_GetDesc() argument
532 desc->Size = wined3d_desc.size; in d3d8_indexbuffer_GetDesc()
576 desc.byte_width = size; in indexbuffer_init()
[all …]
/reactos/dll/directx/wine/ddraw/
H A Dvertexbuffer.c118 struct wined3d_buffer_desc desc; in d3d_vertex_buffer_create_wined3d_buffer() local
120 desc.byte_width = buffer->size; in d3d_vertex_buffer_create_wined3d_buffer()
121 desc.usage = WINED3DUSAGE_STATICDECL; in d3d_vertex_buffer_create_wined3d_buffer()
131 desc.misc_flags = 0; in d3d_vertex_buffer_create_wined3d_buffer()
132 desc.structure_byte_stride = 0; in d3d_vertex_buffer_create_wined3d_buffer()
339 desc->dwCaps = buffer->Caps; in d3d_vertex_buffer7_GetVertexBufferDesc()
340 desc->dwFVF = buffer->fvf; in d3d_vertex_buffer7_GetVertexBufferDesc()
441 TRACE(" FVF %#x\n", desc->dwFVF); in d3d_vertex_buffer_create()
453 buffer->Caps = desc->dwCaps; in d3d_vertex_buffer_create()
454 buffer->fvf = desc->dwFVF; in d3d_vertex_buffer_create()
[all …]
H A Dexecutebuffer.c136 desc.misc_flags = 0; in d3d_execute_buffer_execute()
566 dwSize = desc->dwSize; in d3d_execute_buffer_Lock()
567 memcpy(desc, &buffer->desc, dwSize); in d3d_execute_buffer_Lock()
572 _dump_D3DEXECUTEBUFFERDESC(desc); in d3d_execute_buffer_Lock()
623 struct wined3d_buffer_desc desc; in d3d_execute_buffer_SetExecuteData() local
626 desc.usage = 0; in d3d_execute_buffer_SetExecuteData()
629 desc.misc_flags = 0; in d3d_execute_buffer_SetExecuteData()
630 desc.structure_byte_stride = 0; in d3d_execute_buffer_SetExecuteData()
783 memcpy(&execute_buffer->desc, desc, desc->dwSize); in d3d_execute_buffer_init()
794 if (!execute_buffer->desc.lpData && execute_buffer->desc.dwBufferSize) in d3d_execute_buffer_init()
[all …]
/reactos/dll/directx/wine/d3d9/
H A Dtexture.c65 desc.flags = 0; in d3d9_texture_acquire_shader_resource_view()
1319 desc.width = width; in texture_init()
1320 desc.height = height; in texture_init()
1321 desc.depth = 1; in texture_init()
1322 desc.size = 0; in texture_init()
1393 desc.depth = 1; in cubetexture_init()
1394 desc.size = 0; in cubetexture_init()
1461 desc.width = width; in volumetexture_init()
1462 desc.height = height; in volumetexture_init()
1463 desc.depth = depth; in volumetexture_init()
[all …]
H A Dbuffer.c218 D3DVERTEXBUFFER_DESC *desc) in d3d9_vertexbuffer_GetDesc() argument
235 desc->Size = wined3d_desc.size; in d3d9_vertexbuffer_GetDesc()
236 desc->FVF = buffer->fvf; in d3d9_vertexbuffer_GetDesc()
277 struct wined3d_buffer_desc desc; in vertexbuffer_init() local
290 desc.byte_width = size; in vertexbuffer_init()
295 desc.misc_flags = 0; in vertexbuffer_init()
296 desc.structure_byte_stride = 0; in vertexbuffer_init()
531 desc->Size = wined3d_desc.size; in d3d9_indexbuffer_GetDesc()
575 desc.byte_width = size; in indexbuffer_init()
582 desc.misc_flags = 0; in indexbuffer_init()
[all …]
H A Dshader.c139 struct wined3d_shader_desc desc; in vertexshader_init() local
145 desc.byte_code = byte_code; in vertexshader_init()
146 desc.byte_code_size = ~(size_t)0; in vertexshader_init()
148 desc.input_signature.element_count = 0; in vertexshader_init()
149 desc.output_signature.element_count = 0; in vertexshader_init()
151 desc.max_version = 3; in vertexshader_init()
293 struct wined3d_shader_desc desc; in pixelshader_init() local
299 desc.byte_code = byte_code; in pixelshader_init()
300 desc.byte_code_size = ~(size_t)0; in pixelshader_init()
302 desc.input_signature.element_count = 0; in pixelshader_init()
[all …]
/reactos/dll/directx/wine/d3dx9_36/
H A Dshader.c874 count = parent->desc.Elements > 1 ? parent->desc.Elements : parent->desc.StructMembers; in is_valid_sub_constant()
979 *desc = This->desc; in ID3DXConstantTableImpl_GetDesc()
1005 if (desc) *desc = c->desc; in ID3DXConstantTableImpl_GetConstantDesc()
1106 D3DXCONSTANT_DESC *desc = &constant->desc; in set() local
1111 if (*size < desc->Rows * desc->Columns) in set()
1134 last = offset * desc->Rows * desc->Columns; in set()
1245 ret = desc->Columns * desc->Rows; in set()
1246 *size -= desc->Columns * desc->Rows; in set()
1348 regcount = min(desc->RegisterCount, desc->Columns * desc->Rows); in set()
1662 desc = &c->desc; in ID3DXConstantTableImpl_SetValue()
[all …]
H A Dfont.c47 D3DXFONT_DESCW desc; member
153 memcpy(desc, &font->desc, FIELD_OFFSET(D3DXFONT_DESCA, FaceName)); in ID3DXFontImpl_GetDescA()
154 …WideCharToMultiByte(CP_ACP, 0, font->desc.FaceName, -1, desc->FaceName, ARRAY_SIZE(desc->FaceName)… in ID3DXFontImpl_GetDescA()
166 *desc = font->desc; in ID3DXFontImpl_GetDescW()
852 desc.Height=height; in D3DXCreateFontA()
853 desc.Width=width; in D3DXCreateFontA()
854 desc.Weight=weight; in D3DXCreateFontA()
875 desc.Width=width; in D3DXCreateFontW()
941 object->desc = *desc; in D3DXCreateFontIndirectW()
950 …object->hfont = CreateFontW(desc->Height, desc->Width, 0, 0, desc->Weight, desc->Italic, FALSE, FA… in D3DXCreateFontIndirectW()
[all …]
H A Drender.c118 D3DXRTS_DESC desc; member
210 *desc = render->desc; in D3DXRenderToSurface_GetDesc()
238 if (viewport->X > render->desc.Width || viewport->Y > render->desc.Height in D3DXRenderToSurface_BeginScene()
266 hr = IDirect3DDevice9_CreateRenderTarget(device, render->desc.Width, render->desc.Height, in D3DXRenderToSurface_BeginScene()
398 render->desc.Width = width; in D3DXCreateRenderToSurface()
399 render->desc.Height = height; in D3DXCreateRenderToSurface()
400 render->desc.Format = format; in D3DXCreateRenderToSurface()
437 D3DXRTE_DESC desc; member
547 *desc = render->desc; in D3DXRenderToEnvMap_GetDesc()
565 if (level_desc.Format != render->desc.Format || level_desc.Width != render->desc.Size) in D3DXRenderToEnvMap_BeginCube()
[all …]
/reactos/sdk/lib/drivers/virtio/
H A DVirtIORing.c133 struct vring_desc *desc; member
147 vr->desc = (struct vring_desc *)p; in vring_init()
201 vq->first_unused = vq->vring.desc[idx].next; in get_unused_desc()
213 idx = vq->vring.desc[idx].next; in put_unused_desc_chain()
218 vq->vring.desc[idx].next = vq->first_unused; in put_unused_desc_chain()
245 desc[i].flags |= VIRTQ_DESC_F_NEXT; in virtqueue_add_buf_split()
247 desc[i].len = sg[i].length; in virtqueue_add_buf_split()
248 desc[i].next = (u16)i + 1; in virtqueue_add_buf_split()
271 vring->desc[idx].len = sg[0].length; in virtqueue_add_buf_split()
439 void *pages = vq->vring.desc; in virtqueue_shutdown_split()
[all …]
/reactos/drivers/network/tcpip/lwip/src/include/lwip/priv/
H A Dmemp_priv.h84 #define LWIP_MEMPOOL(name,num,size,desc) argument
93 #define LWIP_MEMPOOL(name,num,size,desc) argument
111 const char *desc; member
134 #define DECLARE_LWIP_MEMPOOL_DESC(desc) (desc), argument
136 #define DECLARE_LWIP_MEMPOOL_DESC(desc) argument
147 void memp_init_pool(const struct memp_desc *desc);
150 void *memp_malloc_pool_fn(const struct memp_desc* desc, const char* file, const int line);
153 void *memp_malloc_pool(const struct memp_desc *desc);
155 void memp_free_pool(const struct memp_desc* desc, void *mem);
/reactos/dll/win32/vbscript/
H A Dvbdisp.c229 if(id >= This->desc->prop_cnt + This->desc->func_cnt) in invoke_vbdisp()
248 …exec_script(This->desc->ctx, FALSE, This->desc->funcs[This->desc->class_terminate_id].entries[VBDI… in run_terminator()
257 if(!This->desc) in clean_props()
374 if(!This->desc) in DispatchEx_GetDispID()
394 if(!This->desc) in DispatchEx_InvokeEx()
481 vbdisp->desc = desc; in create_vbdisp()
485 if(desc->array_cnt) { in create_vbdisp()
516 …hres = exec_script(desc->ctx, FALSE, desc->funcs[desc->class_initialize_id].entries[VBDISP_CALLGET… in create_vbdisp()
847 iter->desc = NULL; in collect_objects()
951 if(vbdisp && vbdisp->desc && vbdisp->desc->ctx == ctx) in disp_call()
[all …]
/reactos/dll/win32/jscript/
H A Dobject.c274 if(desc->explicit_value) in release_property_descriptor()
275 jsval_release(desc->value); in release_property_descriptor()
276 if(desc->getter) in release_property_descriptor()
278 if(desc->setter) in release_property_descriptor()
289 memset(desc, 0, sizeof(*desc)); in to_property_descriptor()
290 desc->value = jsval_undefined(); in to_property_descriptor()
329 desc->explicit_value = TRUE; in to_property_descriptor()
364 if(!desc->getter) in to_property_descriptor()
388 if(!desc->setter) in to_property_descriptor()
400 if(desc->explicit_getter || desc->explicit_setter) { in to_property_descriptor()
[all …]

12345678