ReactOS  0.4.14-dev-114-gc8cbd56
list.h File Reference

Go to the source code of this file.

Classes

struct  list< _Tp, >
 

Macros

#define __WINE_SERVER_LIST_INLINE   static
 
#define LIST_FOR_EACH(cursor, list)   for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
 
#define LIST_FOR_EACH_SAFE(cursor, cursor2, list)
 
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
 
#define LIST_FOR_EACH_ENTRY_SAFE(cursor, cursor2, list, type, field)
 
#define LIST_FOR_EACH_REV(cursor, list)   for ((cursor) = (list)->prev; (cursor) != (list); (cursor) = (cursor)->prev)
 
#define LIST_FOR_EACH_SAFE_REV(cursor, cursor2, list)
 
#define LIST_FOR_EACH_ENTRY_REV(elem, list, type, field)
 
#define LIST_FOR_EACH_ENTRY_SAFE_REV(cursor, cursor2, list, type, field)
 
#define LIST_INIT(list)   { &(list), &(list) }
 
#define LIST_ENTRY(elem, type, field)   ((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))
 

Functions

__WINE_SERVER_LIST_INLINE void list_add_after (struct list *elem, struct list *to_add)
 
__WINE_SERVER_LIST_INLINE void list_add_before (struct list *elem, struct list *to_add)
 
__WINE_SERVER_LIST_INLINE void list_add_head (struct list *list, struct list *elem)
 
__WINE_SERVER_LIST_INLINE void list_add_tail (struct list *list, struct list *elem)
 
__WINE_SERVER_LIST_INLINE void list_remove (struct list *elem)
 
__WINE_SERVER_LIST_INLINE struct listlist_next (const struct list *list, const struct list *elem)
 
__WINE_SERVER_LIST_INLINE struct listlist_prev (const struct list *list, const struct list *elem)
 
__WINE_SERVER_LIST_INLINE struct listlist_head (const struct list *list)
 
__WINE_SERVER_LIST_INLINE struct listlist_tail (const struct list *list)
 
__WINE_SERVER_LIST_INLINE int list_empty (const struct list *list)
 
__WINE_SERVER_LIST_INLINE void list_init (struct list *list)
 
__WINE_SERVER_LIST_INLINE unsigned int list_count (const struct list *list)
 
__WINE_SERVER_LIST_INLINE void list_move_tail (struct list *dst, struct list *src)
 
__WINE_SERVER_LIST_INLINE void list_move_head (struct list *dst, struct list *src)
 

Macro Definition Documentation

◆ __WINE_SERVER_LIST_INLINE

#define __WINE_SERVER_LIST_INLINE   static

Definition at line 32 of file list.h.

◆ LIST_ENTRY

#define LIST_ENTRY (   elem,
  type,
  field 
)    ((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))

Definition at line 243 of file list.h.

◆ LIST_FOR_EACH

#define LIST_FOR_EACH (   cursor,
  list 
)    for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)

Definition at line 188 of file list.h.

◆ LIST_FOR_EACH_ENTRY

#define LIST_FOR_EACH_ENTRY (   elem,
  list,
  type,
  field 
)
Value:
for ((elem) = LIST_ENTRY((list)->next, type, field); \
&(elem)->field != (list); \
(elem) = LIST_ENTRY((elem)->field.next, type, field))
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
static size_t elem
Definition: string.c:68
Definition: parser.c:43
#define LIST_ENTRY(elem, type, field)
Definition: list.h:243
Definition: _list.h:228
static unsigned __int64 next
Definition: rand_nt.c:6

Definition at line 198 of file list.h.

◆ LIST_FOR_EACH_ENTRY_REV

#define LIST_FOR_EACH_ENTRY_REV (   elem,
  list,
  type,
  field 
)
Value:
for ((elem) = LIST_ENTRY((list)->prev, type, field); \
&(elem)->field != (list); \
(elem) = LIST_ENTRY((elem)->field.prev, type, field))
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
struct list_head * prev
Definition: list.h:16
static size_t elem
Definition: string.c:68
Definition: parser.c:43
#define LIST_ENTRY(elem, type, field)
Definition: list.h:243
Definition: _list.h:228

Definition at line 222 of file list.h.

◆ LIST_FOR_EACH_ENTRY_SAFE

#define LIST_FOR_EACH_ENTRY_SAFE (   cursor,
  cursor2,
  list,
  type,
  field 
)
Value:
for ((cursor) = LIST_ENTRY((list)->next, type, field), \
(cursor2) = LIST_ENTRY((cursor)->field.next, type, field); \
&(cursor)->field != (list); \
(cursor) = (cursor2), \
(cursor2) = LIST_ENTRY((cursor)->field.next, type, field))
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
Definition: parser.c:43
#define LIST_ENTRY(elem, type, field)
Definition: list.h:243
Definition: _list.h:228
Definition: typedefs.h:117
static unsigned __int64 next
Definition: rand_nt.c:6
const char cursor[]
Definition: icontest.c:13

Definition at line 204 of file list.h.

◆ LIST_FOR_EACH_ENTRY_SAFE_REV

#define LIST_FOR_EACH_ENTRY_SAFE_REV (   cursor,
  cursor2,
  list,
  type,
  field 
)
Value:
for ((cursor) = LIST_ENTRY((list)->prev, type, field), \
(cursor2) = LIST_ENTRY((cursor)->field.prev, type, field); \
&(cursor)->field != (list); \
(cursor) = (cursor2), \
(cursor2) = LIST_ENTRY((cursor)->field.prev, type, field))
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
struct list_head * prev
Definition: list.h:16
Definition: parser.c:43
#define LIST_ENTRY(elem, type, field)
Definition: list.h:243
Definition: _list.h:228
Definition: typedefs.h:117
const char cursor[]
Definition: icontest.c:13

Definition at line 228 of file list.h.

◆ LIST_FOR_EACH_REV

#define LIST_FOR_EACH_REV (   cursor,
  list 
)    for ((cursor) = (list)->prev; (cursor) != (list); (cursor) = (cursor)->prev)

Definition at line 212 of file list.h.

◆ LIST_FOR_EACH_SAFE

#define LIST_FOR_EACH_SAFE (   cursor,
  cursor2,
  list 
)
Value:
for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
(cursor) != (list); \
(cursor) = (cursor2), (cursor2) = (cursor)->next)
Definition: _list.h:228
static unsigned __int64 next
Definition: rand_nt.c:6
const char cursor[]
Definition: icontest.c:13

Definition at line 192 of file list.h.

◆ LIST_FOR_EACH_SAFE_REV

#define LIST_FOR_EACH_SAFE_REV (   cursor,
  cursor2,
  list 
)
Value:
for ((cursor) = (list)->prev, (cursor2) = (cursor)->prev; \
(cursor) != (list); \
(cursor) = (cursor2), (cursor2) = (cursor)->prev)
struct list_head * prev
Definition: list.h:16
Definition: _list.h:228
const char cursor[]
Definition: icontest.c:13

Definition at line 216 of file list.h.

◆ LIST_INIT

#define LIST_INIT (   list)    { &(list), &(list) }

Definition at line 236 of file list.h.

Function Documentation

◆ list_add_after()

__WINE_SERVER_LIST_INLINE void list_add_after ( struct list elem,
struct list to_add 
)

Definition at line 78 of file list.h.

79 {
80  to_add->next = elem->next;
81  to_add->prev = elem;
82  elem->next->prev = to_add;
83  elem->next = to_add;
84 }
struct list * prev
Definition: list.h:39
static size_t elem
Definition: string.c:68
struct list * next
Definition: list.h:38

Referenced by add_source_to_list(), add_wildcard(), list_add_head(), ME_InsertOLEFromCursor(), and SYSLINK_AppendDocItem().

◆ list_add_before()

__WINE_SERVER_LIST_INLINE void list_add_before ( struct list elem,
struct list to_add 
)

Definition at line 87 of file list.h.

88 {
89  to_add->next = elem;
90  to_add->prev = elem->prev;
91  elem->prev->next = to_add;
92  elem->prev = to_add;
93 }
struct list * prev
Definition: list.h:39
static size_t elem
Definition: string.c:68
struct list * next
Definition: list.h:38

Referenced by add_component_by_priority(), add_files_to_folder(), add_resource_data_entry(), add_resource_dir_entry(), add_source_to_list(), add_wildcard(), CertAddStoreToCollection(), get_cookie_container(), insert_assembly(), list_add_tail(), and queue_add_timer().

◆ list_add_head()

__WINE_SERVER_LIST_INLINE void list_add_head ( struct list list,
struct list elem 
)

Definition at line 96 of file list.h.

97 {
99 }
__WINE_SERVER_LIST_INLINE void list_add_after(struct list *elem, struct list *to_add)
Definition: list.h:78
static size_t elem
Definition: string.c:68
Definition: _list.h:228

Referenced by add_active_textservice(), add_charset(), add_cookie(), add_importlib(), add_source_to_list(), add_undo(), add_wildcard(), advise_sink(), alloc_serverprotoseq(), apartment_construct(), append_storage_to_db(), BackgroundCopyJob_AddFileSet(), BackgroundCopyManager_CreateJob(), BaseMemAllocator_GetBuffer(), BaseMemAllocator_ReleaseBuffer(), begin_container(), BindStatusCallback_OnStartBinding(), cache_authorization(), cache_basic_authorization(), cache_connection(), cache_containers_add(), cache_insert(), CompartmentMgr_GetCompartment(), cond_alloc(), context_alloc_fence(), context_alloc_occlusion_query(), context_alloc_pipeline_statistics_query(), context_alloc_so_statistics_query(), context_alloc_timestamp_query(), context_find_fbo_entry(), context_queue_fbo_entry_destruction(), Control_LoadApplet(), CoRegisterPSClsid(), CreateDispTypeInfo(), CreateITextRange(), CreateOleClientSite(), d3d8_surface_acquire_rendertarget_view(), d3d9_surface_acquire_rendertarget_view(), d3d_device3_AddViewport(), d3d_viewport_AddLight(), d3drm_object_add_destroy_callback(), DataCache_CreateEntry(), DDRAW_Create(), device_parent_surface_created(), device_resource_add(), FTP_Connect(), FTP_FtpOpenFileW(), FTP_ReceiveFileList(), GdipBeginContainer(), GdipPlayMetafileRecord(), get_server(), get_table(), heap_pool_alloc(), HTMLOuterWindow_Create(), HTMLSelectionObject_Create(), HTMLTxtRange_Create(), HTTP_Connect(), HTTP_HttpOpenRequestW(), http_release_netconn(), IDirectSoundBufferImpl_Create(), IDirectSoundBufferImpl_Duplicate(), IHlinkBC_SetInitialHlink(), IMM_GetImmHkl(), IMM_GetThreadData(), init_edge_face_map(), init_registered_oid_info(), init_script_cache(), initialize_directinput_instance(), InternetSession_RegisterMimeFilter(), KeystrokeMgr_PreserveKey(), layout_state_find_or_create(), loop_condition(), ME_ApplyStyle(), ME_InsertOLEFromCursor(), MemStore_addContext(), MimeMessage_create(), MimeMessage_Load(), MSFT_CustData(), msi_create_table(), msi_dialog_add_font(), msi_dialog_line_control(), msi_package_add_info(), msi_package_add_media_disk(), MXNamespaceManager_create(), name_cache_entry_accessed(), new_stub_manager(), nfs41_name_cache_delegreturn(), open_connection(), pool_alloc(), process_group(), push_element(), queue_timer(), reader_push_element(), reader_push_ns(), register_namespace(), RpcAssoc_ReleaseIdleConnection(), RPCRT4_GetAssociation(), rpcrt4_protseq_ncacn_np_open_endpoint(), rpcrt4_protseq_ncalrpc_open_endpoint(), RpcServerAssoc_GetAssociation(), RpcServerRegisterIf3(), set_glsl_shader_program(), shader_arb_handle_instruction(), shader_get_registers_used(), shader_glsl_compile_compute_shader(), stack_push(), StdMemAllocator_Alloc(), string_buffer_release(), stub_manager_new_ifstub(), surface_set_compatible_renderbuffer(), ThreadMgr_AssociateFocus(), ThreadMgr_CreateDocumentMgr(), TLB_ReadTypeLib(), type_function_add_head_arg(), vbnamespacemanager_pushContext(), wined3d_cs_exec_set_light(), wined3d_device_set_light(), wined3d_shader_init_object(), wined3d_shader_set_local_constants_float(), WinHttpConnect(), WinHttpOpenRequest(), WSHIoctl_GetInterfaceList(), and yyparse().

◆ list_add_tail()

__WINE_SERVER_LIST_INLINE void list_add_tail ( struct list list,
struct list elem 
)

Definition at line 102 of file list.h.

103 {
105 }
static size_t elem
Definition: string.c:68
Definition: _list.h:228
__WINE_SERVER_LIST_INLINE void list_add_before(struct list *elem, struct list *to_add)
Definition: list.h:87

Referenced by __add_wait_queue_tail(), acpi_bus_add(), acpi_bus_generate_event_dpc(), acpi_bus_register_driver(), acpi_power_on(), add_bool_property(), add_bstr_property(), add_component_by_priority(), add_cookie(), add_data_block(), add_data_to_folder(), add_declaration(), add_domain(), add_feature_child(), add_feature_component(), add_file(), add_filename_node(), add_files_to_folder(), add_folder(), add_folder_child(), add_func_parameter(), add_hfontitem(), add_i4_property(), add_incomplete(), add_item(), add_keyitem_pair(), add_param(), add_prop(), add_resource_data_entry(), add_resource_dir_entry(), add_struct_field(), add_subcontainer(), add_table(), add_ui4_property(), add_ull_as_bstr_property(), alloc_device(), alloc_mem(), alloc_type(), apartment_getclassobject(), append_attr(), append_declarator(), append_expr(), append_ifref(), append_statement(), append_str(), append_var(), append_warning(), attr_cache_entry_free(), attr_cache_init(), cctrl_create_new(), CertAddStoreToCollection(), check_codebase(), check_for_additional_prototype_types(), chmc_add_entry(), chmc_compressed_add_mark(), chmc_pmgi_add(), chmc_pmgl_add(), chmc_section_add(), client_state_add(), clone_hlsl_type(), compile_script(), COMPOBJ_DllList_Add(), ComponentEnum_Clone(), computeIsolatingRunsSet(), ContextPropertyList_SetProperty(), CorDebug_CreateProcess(), CoRegisterClassObject(), create_automatic_entry(), create_body_offset_list(), create_dict_enum(), create_ie(), create_loop(), create_plugin_host(), create_script_host(), create_sub_body(), create_temp_binary(), create_vbdisp(), CreateComponentEnumerator(), CreateHelpViewer(), CredUIPromptForCredentialsW(), CRYPT_CacheSIP(), CRYPT_RegDeleteContext(), CryptInitOIDFunctionSet(), CryptInstallOIDFunctionAddress(), D3DXLoadMeshFromXInMemory(), D3DXLoadSkinMeshFromXof(), DataCache_CreateEntry(), declare_vars(), decode_file_layout(), delegation_find(), dialog_create_window(), do_msidbCustomActionTypeDll(), do_msidbCustomActionTypeScript(), enum_gac_assembly_dirs(), enumx_add_element(), ept_insert(), event_subscribe(), ext4_xattr_item_insert(), file_device_find_or_create(), file_layout_recall(), file_running_action(), FixupVTableEntry(), gen_struct_fields(), get_cookie_container(), get_cookie_domain(), get_or_create_threaddata(), get_src_param(), get_tls_data(), HTMLDOMAttribute_Create(), HtmlHelpW(), HTMLOuterWindow_Create(), HTMLScriptElement_put_src(), ICreateTypeInfo2_fnAddRefTypeInfo(), IDirectInputDevice2WImpl_SetProperty(), IFileDialog2_fnAdvise(), IMAPIPROP_AddValue(), inf_section_parse(), inf_value_parse(), init_oid_info(), init_registered_oid_info(), init_table_list(), insert_assembly(), IPersistStreamImpl_Load(), IrotRegister(), iterate_load_verb(), ITypeLib2_Constructor_MSFT(), layout_ordered_insert(), list_move_tail(), load_appid(), load_class(), load_component(), load_extension(), load_feature(), load_file(), load_folder(), load_mime(), load_patch(), load_progid(), map_attrs(), map_font(), merge_diff_row(), merge_diff_tables(), MimeBody_SetProp(), MMDevEnum_RegisterEndpointNotificationCallback(), MSFT_ReadAllGuids(), MSFT_ReadAllNames(), MSFT_ReadAllRefs(), MSFT_ReadAllStrings(), msi_add_cabinet_stream(), msi_apply_patch_db(), msi_dialog_set_tab_order(), msi_table_apply_transform(), name_cache_entry_create(), name_cache_unlink(), ndr_update_context_handle(), new_hlsl_type(), new_struct_type(), nfs41_delegation_granted(), nfs41_root_mount_addrs(), nfs41_server_find_or_create(), nfs41_superblock_for_fh(), open_lock_add(), open_lock_delegate(), OutputQueue_EOS(), OutputQueue_ReceiveMultiple(), parse_files(), parse_frame(), parse_headers(), parse_supported_runtime(), parser_alloc(), patch_add_media(), patch_offset_get_filepatches(), patch_offset_get_files(), PdhAddCounterW(), pnfs_layout_recall_fenced(), pool_alloc(), preprocess_dispex_data(), PropertyStore_LookupValue(), proxy_manager_construct(), proxy_manager_create_ifproxy(), push_dochost_task(), push_namespace(), push_scope(), push_task(), queue_frame_node(), queue_task(), queue_timer(), read_dependencies(), read_prop(), read_urls(), reader_add_attr(), record_instruction(), RPC_RegisterChannelHook(), RPC_RegisterInterface(), rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(), rpcrt4_spawn_connection(), RpcServerAssoc_AllocateContextHandle(), RpcServerRegisterAuthInfoW(), RunningObjectTableImpl_Register(), RuntimeHost_AddDomain(), SECUR32_addPackages(), SECUR32_addProvider(), set_http_header(), shader_get_registers_used(), SHChangeNotify(), SHChangeNotifyRegister(), SLTG_DoRefs(), stateblock_init_lights(), StdGlobalInterfaceTable_RegisterInterfaceInGlobal(), StorageBaseImpl_AddStream(), StorageBaseImpl_OpenStorage(), struct_var_initializer(), SYSLINK_AppendDocItem(), taskdialog_add_control(), TLB_append_guid(), TLB_append_str(), TLB_set_custdata(), TWAIN_ControlNull(), VBScript_AddNamedItem(), warning_disable(), wined3d_cs_exec_query_issue(), wined3d_private_store_set_private_data(), wined3d_texture_update_overlay(), write_conf_or_var_desc(), write_output_buffer(), xslprocessor_addParameter(), and yyparse().

◆ list_count()

◆ list_empty()

__WINE_SERVER_LIST_INLINE int list_empty ( const struct list list)

Definition at line 143 of file list.h.

144 {
145  return list->next == list;
146 }
struct list * next
Definition: list.h:38
Definition: _list.h:228
#define list
Definition: rosglue.h:35

Referenced by abort_window_bindings(), acpi_bus_receive_event(), acpi_power_off_device(), acpi_power_resume(), ACTION_PublishProduct(), add_data_to_folder(), add_source_to_list(), add_wildcard(), apartment_release(), attr_cache_entry_create(), BaseMemAllocator_Decommit(), BaseMemAllocator_ReleaseBuffer(), BaseMemAllocator_SetProperties(), cache_containers_free(), check_hook_thread(), collect_objects(), Collection_enumCert(), Collection_enumCRL(), Collection_enumCTL(), ContextPropertyList_EnumPropIDs(), CorDebug_Release(), create_param_prop_bag(), D3DXFrameFind(), D3DXLoadMeshFromXInMemory(), destroy_script(), detach_inner_window(), entry_invis(), enumx_Release(), ext4_xattr_insert_item_ordered(), find_array_or_string_in_struct(), free_cached_tables(), free_cookie_domain_list(), free_list(), free_sinks(), free_source_list(), free_stack(), free_tls_list(), free_transforms(), get_default_script_guid(), get_keyitem_pair(), get_src_param(), has_all_extensions_removed(), has_extensions(), has_one_extension_installed(), HTMLAttributeCollection_Release(), HTMLDocumentNode_destructor(), IDxDiagContainerImpl_GetChildContainer(), IHlinkBC_SetInitialHlink(), IPropData_fnRelease(), is_obsoleted_by_patch(), journal_clear_revoke(), journal_destroy_revoke(), list_move_head(), list_move_tail(), list_splice(), list_splice_init(), load_all_files(), load_all_folders(), load_all_patches(), load_classes_and_such(), ME_HandleMessage(), MemStore_deleteContext(), MemStore_releaseContext(), move_files_wildcard(), msi_dialog_destroy(), msi_load_all_components(), msi_load_all_features(), msi_table_apply_transform(), name_cache_entry_accessed(), name_cache_entry_create(), open_connection(), open_http_connection(), OutputQueue_SendAnyway(), OutputQueueImpl_ThreadProc(), parse_files(), PdhCollectQueryData(), PdhCollectQueryDataEx(), PdhCollectQueryDataWithTime(), pnfs_layout_io_finished(), pop_task(), prepare_to_wait(), prepare_to_wait_exclusive(), process_dochost_tasks(), process_timer(), PropertyBag_Release(), push_dochost_task(), queue_remove_timer(), queue_timer(), reader_lookup_nsdef(), reader_parse_element(), reader_pop_element(), reader_pop_ns_nodes(), recover_open(), release_children(), release_host(), release_script(), release_script_hosts(), release_typelib(), remove_target_tasks(), RPCRT4_server_thread(), RpcServerListen(), run_insert_script(), stack_pop(), StdMemAllocator_Alloc(), StdMemAllocator_Free(), string_buffer_get(), texture2d_cleanup_sub_resources(), timer_queue_thread_proc(), TWAIN_ProcessEvent(), vertex_shader_init(), wined3d_cs_exec_query_issue(), wined3d_cs_run(), wined3d_device_decref(), wined3d_query_destroy_object(), WMSFT_compile_custdata(), WMSFT_compile_typeinfo_aux(), write_generic_handle_routine_list(), write_output_buffer(), write_stubdesc(), write_stubdescriptor(), and write_user_quad_list().

◆ list_head()

Definition at line 131 of file list.h.

132 {
133  return list_next( list, list );
134 }
Definition: _list.h:228
__WINE_SERVER_LIST_INLINE struct list * list_next(const struct list *list, const struct list *elem)
Definition: list.h:115

Referenced by ACTION_FinishCustomActions(), add_undo(), apartment_release(), append_attr_list(), BaseMemAllocator_GetBuffer(), cache_containers_free(), ClientIdentity_QueryMultipleInterfaces(), collect_objects(), compare_function_decl_rb(), compare_hlsl_types(), compare_param_hlsl_types(), CompartmentEnumGuid_Constructor(), CompartmentEnumGuid_Reset(), ComponentEnum_Reset(), context_get_entry(), create_automatic_entry(), create_dict_enum(), CreateAssemblyEnum(), d3d_device3_NextViewport(), d3d_viewport_NextLight(), D3DXFrameFind(), D3DXLoadMeshFromXInMemory(), declare_prefix(), declare_vars(), dequeue_task(), destroy_script(), detach_inner_window(), dict_enum_Reset(), EnumTfDocumentMgr_Constructor(), EnumTfDocumentMgr_Reset(), enumx_Next(), enumx_Release(), enumx_Skip(), find_body(), find_next(), free_cached_tables(), free_cookie_domain_list(), free_list(), free_resource_directory(), free_source_list(), free_stack(), free_tls_list(), free_transforms(), GdipEnumerateMetafileSrcRectDestPoints(), GdipPlayMetafileRecord(), get_body(), get_default_script_guid(), get_keyitem_pair(), get_src_param(), get_static_entry(), heap_pool_clear(), HTMLAttributeCollection_Release(), HTMLDocumentNode_destructor(), IAssemblyEnumImpl_Reset(), IHlinkBC_SetInitialHlink(), IPropData_fnRelease(), loop_condition(), ME_CommitCoalescingUndo(), ME_CommitUndo(), ME_ContinueCoalescingTransaction(), ME_Redo(), ME_Undo(), move_files_wildcard(), msi_dialog_destroy(), msi_table_apply_transform(), namespacemanager_getDeclaredPrefix(), namespacemanager_getURI(), notify_remove_pair(), open_connection(), open_http_connection(), PdhCollectQueryDataWithTime(), pop_control_frame(), pop_element(), process_timer(), proxy_manager_destroy(), Proxy_MarshalInterface(), queue_get_timeout(), queue_timer(), queue_timer_expire(), reader_get_element(), reader_lookup_nsdef(), reader_move_to_first_attribute(), reader_parse_endtag(), reader_pop_element(), reader_pop_ns_nodes(), release_script(), release_script_hosts(), release_typelib(), remove_target_tasks(), RPCRT4_server_thread(), RtlDeleteTimerQueueEx(), run_insert_script(), shader_arb_handle_instruction(), shader_glsl_load_constants_i(), shader_glsl_load_constantsB(), shader_hw_else(), shader_hw_endif(), shader_hw_endloop(), shader_hw_endrep(), shader_hw_ifc(), shader_hw_loop(), shader_hw_rep(), stack_peek(), stack_pop(), StdMemAllocator_Free(), string_buffer_get(), struct_var_initializer(), stub_manager_delete(), TWAIN_ProcessEvent(), type_new_function(), type_union_get_switch_value(), vbnamespacemanager_popContext(), write_client_call_routine(), write_range_tfs(), write_remoting_arg(), xmlreader_MoveToElement(), and yyparse().

◆ list_init()

__WINE_SERVER_LIST_INLINE void list_init ( struct list list)

Definition at line 149 of file list.h.

150 {
151  list->next = list->prev = list;
152 }
struct list * prev
Definition: list.h:39
struct list * next
Definition: list.h:38
Definition: _list.h:228
#define list
Definition: rosglue.h:35

Referenced by abort_window_bindings(), add_domain(), add_folder(), add_keyitem_pair(), add_prop(), alloc_cookie(), alloc_doc_node(), alloc_handle(), alloc_object(), alloc_serverprotoseq(), alloc_vbscode(), allocate_information_node(), apartment_construct(), append_attr(), append_declarator(), append_expr(), append_ifref(), append_statement(), append_str(), append_var(), append_var_list(), append_warning(), attr_cache_free(), attr_cache_init(), BackgroundCopyJobConstructor(), BaseMemAllocator_Init(), BeginUpdateResourceW(), BindStatusCallback_OnStopBinding(), BindStatusCallback_Release(), cache_cleanup(), cache_init(), cctrl_create_new(), clone_hlsl_type(), close_output_buffer(), collect_connections(), collect_objects(), Compartment_Constructor(), CompartmentMgr_Constructor(), ComponentEnum_Clone(), computeIsolatingRunsSet(), Context_Constructor(), context_create(), ContextPropertyList_Create(), Control_RunDLLW(), CorDebug_Create(), create_body_offset_list(), create_inner_window(), create_loop(), create_netconn(), create_nschannel(), create_open_state(), create_param_prop_bag(), create_query(), create_stack(), create_table(), create_taskdialog_template(), CreateAssemblyEnum(), CreateComponentEnumerator(), CreateDispTypeInfo(), CreateIProp(), CreateIRichEditOle(), CreateXmlReader(), CreateXmlWriter(), CRYPT_CollectionOpenStore(), CRYPT_MemOpenStore(), CRYPT_RegOpenStore(), CryptInitOIDFunctionSet(), cubetexture_init(), d3d_device_init(), d3d_viewport_init(), d3drm_object_init(), D3DXFrameFind(), D3DXLoadSkinMeshFromXof(), DataCache_Construct(), ddraw_init(), declare_vars(), decode_file_layout(), delegation_create(), detach_plugin_host(), device_init(), dialog_create(), Dictionary_CreateInstance(), DMUSIC_CreateDirectMusicCollectionImpl(), do_warning(), DocHost_Init(), DocumentMgr_Constructor(), enumx_allocate(), FCICreate(), file_layout_fetch(), FileDialog_constructor(), GdipCloneImage(), GdipCreateFromHDC2(), GdipCreateMetafileFromEmf(), GdipRecordMetafile(), gen_struct_fields(), get_cookie_container(), get_cookie_domain(), get_server(), get_std_git(), get_thread_data(), graphics_from_image(), heap_pool_init(), HLinkBrowseContext_Constructor(), HTMLElement_get_attr_col(), HTMLOuterWindow_Create(), ICreateTypeInfo2_fnAddFuncDesc(), ICreateTypeInfo2_fnAddImplType(), ICreateTypeInfo2_fnAddVarDesc(), IDirectSoundBufferImpl_Create(), IFileDialogCustomize_fnEnableOpenDropDown(), inf_load(), inf_section_parse(), init_bscallback(), init_config(), init_custom_controls(), init_edge_face_map(), init_output_buffer(), initialize_directinput_instance(), InputProcessorProfiles_Constructor(), ITypeInfo_fnGetRefTypeInfo(), ITypeInfoImpl_Constructor(), layout_recall_entry_init(), layout_state_create(), layout_state_free_layouts(), layout_state_free_recalls(), list_move_head(), list_move_tail(), load_ciffile(), load_extension(), load_feature(), load_folder(), loop_condition(), make_library(), map_attrs(), ME_MakeEditor(), ME_MakeStyle(), MemStore_addContext(), MemStore_deleteContext(), mimebody_create(), MimeBody_SetProp(), MimeInternational_Construct(), MimeMessage_create(), move_files_wildcard(), msi_alloc_package(), MSI_DatabaseOpenViewW(), msi_dialog_set_tab_order(), MSI_EvaluateConditionW(), msi_get_merge_table(), MSI_OpenDatabaseW(), msi_table_apply_transform(), MsiSourceListAddSourceExW(), MXNamespaceManager_create(), name_cache_entry_create(), new_body_entry(), new_stub_manager(), nfs41_client_create(), nfs41_client_state_revoked(), nfs41_name_cache_create(), nfs41_root_create(), nfs41_server_list_init(), nfs41_superblock_list_init(), open_connection(), OutputQueue_Construct(), parse_assembly(), parse_cookie(), parse_hlsl(), patch_add_media(), patch_offset_list_create(), pnfs_file_device_list_create(), pnfs_layout_list_create(), pnfs_layout_recall_fenced(), poll_queries(), pool_init(), process_component(), PropertyStore_CreateInstance(), PropertyStore_LookupValue(), proxy_manager_construct(), proxy_manager_create_ifproxy(), push_namespace(), push_scope(), read_prop(), reader_clear_attrs(), reader_clear_elements(), RpcAssoc_Alloc(), RPCRT4_CreateConnection(), RtlCreateTimerQueue(), RunningObjectTableImpl_Initialize(), RuntimeHost_Construct(), runtimehost_init(), SECUR32_addPackages(), SECUR32_addProvider(), set_task_timer(), shader_arb_generate_pshader(), shader_arb_generate_vshader(), shader_arb_handle_instruction(), shader_cleanup_reg_maps(), shader_delete_constant_list(), shader_get_registers_used(), shader_glsl_find_ffp_fragment_shader(), shader_glsl_find_ffp_vertex_shader(), shader_init(), shader_sm4_init(), SHChangeNotify(), state_init(), stop_request_proc(), StorageImpl_Construct(), StorageInternalImpl_Construct(), string_buffer_list_cleanup(), string_buffer_list_init(), surface_init(), SysLinkWindowProc(), texture1d_init(), texture_init(), ThreadMgr_Constructor(), TLBFuncDesc_Constructor(), TLBImplType_Constructor(), TLBParDesc_Constructor(), TLBVarDesc_Constructor(), TransactedSharedImpl_Construct(), TransactedSnapshotImpl_Construct(), TWAIN_OpenDS(), type_function_add_head_arg(), TypeLibImpl_Constructor(), update_add_resource(), VBScriptParse_InitNew(), volumetexture_init(), wined3d_cs_exec_query_issue(), wined3d_cs_run(), wined3d_private_store_init(), wined3d_query_init(), wined3d_texture_unload(), WinHttpConnect(), WinHttpOpen(), WinHttpOpenRequest(), WSHIoctl_GetInterfaceList(), XSLProcessor_create(), and yyparse().

◆ list_move_head()

__WINE_SERVER_LIST_INLINE void list_move_head ( struct list dst,
struct list src 
)

Definition at line 176 of file list.h.

177 {
178  if (list_empty(src)) return;
179 
180  dst->next->prev = src->prev;
181  src->prev->next = dst->next;
182  dst->next = src->next;
183  src->next->prev = dst;
184  list_init(src);
185 }
GLenum src
Definition: glext.h:6340
__WINE_SERVER_LIST_INLINE int list_empty(const struct list *list)
Definition: list.h:143
GLenum GLenum dst
Definition: glext.h:6340
__WINE_SERVER_LIST_INLINE void list_init(struct list *list)
Definition: list.h:149

Referenced by create_loop(), msi_dialog_set_tab_order(), shader_sm4_free(), and shader_sm4_read_instruction().

◆ list_move_tail()

__WINE_SERVER_LIST_INLINE void list_move_tail ( struct list dst,
struct list src 
)

Definition at line 164 of file list.h.

165 {
166  if (list_empty(src)) return;
167 
168  dst->prev->next = src->next;
169  src->next->prev = dst->prev;
170  dst->prev = src->prev;
171  src->prev->next = dst;
172  list_init(src);
173 }
GLenum src
Definition: glext.h:6340
__WINE_SERVER_LIST_INLINE int list_empty(const struct list *list)
Definition: list.h:143
GLenum GLenum dst
Definition: glext.h:6340
__WINE_SERVER_LIST_INLINE void list_init(struct list *list)
Definition: list.h:149

Referenced by append_attribs(), append_statements(), append_var_list(), create_loop(), shader_arb_handle_instruction(), and yyparse().

◆ list_next()

◆ list_prev()

__WINE_SERVER_LIST_INLINE struct list* list_prev ( const struct list list,
const struct list elem 
)

Definition at line 123 of file list.h.

124 {
125  struct list *ret = elem->prev;
126  if (elem->prev == list) ret = NULL;
127  return ret;
128 }
static size_t elem
Definition: string.c:68
smooth NULL
Definition: ftsmooth.c:416
int ret
Definition: _list.h:228

Referenced by context_get_entry(), get_body(), and list_tail().

◆ list_remove()

__WINE_SERVER_LIST_INLINE void list_remove ( struct list elem)

Definition at line 108 of file list.h.

109 {
110  elem->next->prev = elem->prev;
111  elem->prev->next = elem->next;
112 }
static size_t elem
Definition: string.c:68

Referenced by abort_dochost_tasks(), abort_window_bindings(), ACTION_FinishCustomActions(), ActiveScriptSite_Release(), add_files_to_folder(), add_undo(), apartment_freeunusedlibraries(), apartment_release(), append_attr(), append_attr_list(), attr_cache_entry_create(), BaseMemAllocator_GetBuffer(), BaseMemAllocator_ReleaseBuffer(), BIDI_DetermineLevels(), BindStatusCallback_OnStopBinding(), BindStatusCallback_Release(), cache_authorization(), cache_container_delete_container(), CertRemoveStoreFromCollection(), ciffile_Release(), clear_font_cache(), client_state_remove(), close_output_buffer(), collect_connections(), collect_objects(), COM_RevokeRegisteredClassObject(), CompartmentMgr_ClearCompartment(), CompartmentMgr_Destructor(), COMPOBJ_DllList_Free(), COMPOBJ_DllList_ReleaseRef(), component_free(), ComponentEnum_Release(), cond_free(), connection_collector(), context_destroy_fbo_entry(), context_find_fbo_entry(), context_free_fence(), context_free_occlusion_query(), context_free_pipeline_statistics_query(), context_free_so_statistics_query(), context_free_timestamp_query(), context_queue_fbo_entry_destruction(), ContextPropertyList_Free(), ContextPropertyList_RemoveProperty(), Control_UnloadApplet(), CorDebug_Terminate(), create_automatic_entry(), create_sub_body(), create_taskdialog_template(), CredUIConfirmCredentialsW(), CRYPT_RegWriteToReg(), crypt_sip_free(), ctrl_container_on_wm_destroy(), ctrl_free(), d3d_device3_DeleteViewport(), d3d_viewport_DeleteLight(), d3drm_object_cleanup(), d3drm_object_delete_destroy_callback(), D3DXFrameFind(), DataCacheEntry_Destroy(), ddraw_destroy(), ddraw_surface_wined3d_object_destroyed(), deactivate_remove_conflicting_ts(), delegation_find(), delegation_remove(), delete_cookie(), delete_domain(), delete_glsl_program_entry(), delete_registered_ept_entry(), DeleteNode(), deleteStreamContents(), dequeue_task(), destroy_serverprotoseq(), detach_plugin_host(), detach_thread(), device_resource_remove(), dict_enum_Release(), dictionary_Remove(), dictionary_RemoveAll(), DispatchEx_Release(), DllMain(), empty_body_list(), empty_frame_queue(), empty_new_prop_list(), empty_param_list(), empty_redo_stack(), end_container(), enumx_Release(), event_cleanup_subscriptions(), fileTransfer(), fix_incomplete(), fix_incomplete_types(), flush_pending_tasks(), free_assembly(), free_cached_tables(), free_contexts(), free_cookie_domain_list(), free_data_block(), free_extension(), free_feature(), free_file(), free_filename_nodes(), free_folder(), free_function_sets(), free_header(), free_http_headers(), free_information_tree(), free_list(), free_oid_info(), free_output_buffer(), free_package_structures(), free_parsed_config_file(), free_prop(), free_recorded_instruction(), free_resource_directory(), free_sink(), free_source_list(), free_stack(), free_table(), free_tls_list(), free_transforms(), GdipDeleteGraphics(), GdipEnumerateMetafileSrcRectDestPoints(), GdipPlayMetafileRecord(), get_src_param(), heap_pool_clear(), HFONTItem_Delete(), HTMLAttributeCollection_Release(), HTMLSelectionObject_Release(), HTMLTxtRange_Release(), IAssemblyEnumImpl_Release(), IDirectInputDevice2WImpl_Release(), IDirectSoundBufferImpl_Duplicate(), IFileDialog2_fnUnadvise(), IFileDialogCustomize_fnAddControlItem(), IFileDialogCustomize_fnRemoveControlItem(), ifproxy_destroy(), IHlinkBC_fnRelease(), IMM_FreeAllImmHkl(), IMM_FreeThreadData(), inf_free(), inf_section_free(), init_script_cache(), InternetExplorer_Release(), InternetSession_UnregisterMimeFilter(), IOleClientSite_fnRelease(), IPropData_fnDeleteProps(), IPropData_fnRelease(), IrotContextHandle_rundown(), IrotRevoke(), ITextRange_fnRelease(), ITypeLib2_fnRelease(), KeystrokeMgr_UnpreserveKey(), layout_recall_merge(), layout_recall_range(), layout_state_deferred_recalls(), layout_state_find_and_delete(), layout_state_merge(), ME_ContinueCoalescingTransaction(), ME_DestroyDisplayItem(), ME_DestroyStyle(), ME_EmptyUndoStack(), ME_Redo(), ME_Undo(), MemStore_deleteContext(), merge_free_rows(), MimeInternat_Release(), MMDevEnum_UnregisterEndpointNotificationCallback(), move_attr(), move_files_wildcard(), msi_destroy_control(), msi_dialog_destroy(), msi_dialog_set_tab_order(), msi_event_cleanup_all_subscriptions(), msi_table_apply_transform(), MsiDatabaseMergeW(), name_cache_entry_accessed(), name_cache_entry_update(), name_cache_unlink(), ndr_update_context_handle(), nfs41_client_delegation_free(), nfs41_server_deref(), open_connection(), open_http_connection(), open_unlock_delegate(), open_unlock_remove(), OutputQueue_FreeSamples(), OutputQueueImpl_ThreadProc(), patch_add_media(), PdhCloseQuery(), PdhRemoveCounter(), PHClientSite_Release(), pnfs_file_device_list_invalidate(), pnfs_file_device_put(), poll_queries(), pool_alloc(), pool_destroy(), pop_control_frame(), pop_element(), pop_task(), process_dochost_tasks(), proxy_manager_destroy(), queue_move_timer(), queue_remove_timer(), queue_timer(), reader_clear_ns(), reader_pop_element(), reader_pop_ns_nodes(), release_children(), release_custom_action_data(), release_font(), release_host(), release_object(), release_outer_window(), release_script(), release_script_hosts(), release_std_git(), release_task_timer(), release_typelib(), release_vbscode(), ReleaseHelpViewer(), remove_target_tasks(), revoke_registered_psclsids(), RPC_UnregisterInterface(), RpcAssoc_GetIdleConnection(), RpcAssoc_Release(), RPCRT4_ReleaseConnection(), RpcServerAssoc_ReleaseContextHandle(), RpcServerUnregisterIf(), RpcSmDestroyClientContext(), run_insert_script(), RunningObjectTableImpl_Destroy(), RunningObjectTableImpl_Release(), RunningObjectTableImpl_Revoke(), RuntimeHost_DeleteDomain(), RuntimeHost_Destroy(), ScriptFreeCache(), secondarybuffer_destroy(), server_release(), shader_arb_handle_instruction(), shader_cleanup(), SHChangeNotify(), stack_pop(), state_cleanup(), StdGlobalInterfaceTable_RevokeInterfaceFromGlobal(), StdMemAllocator_Free(), stop_request_proc(), StorageBaseImpl_DeleteAll(), StorageBaseImpl_RemoveStream(), StorageInternalImpl_Invalidate(), string_buffer_get(), stub_manager_delete_ifstub(), stub_manager_int_release(), SYSLINK_ClearDoc(), TABLE_drop(), TABLE_release(), taskdialog_clear_controls(), test_enumerate(), ThreadMgr_Destructor(), ThreadMgr_OnDocumentMgrDestruction(), TLB_FreeCustData(), TWAIN_ProcessEvent(), type_new_function(), uninitialize_directinput_instance(), unregister_namespace(), update_add_resource(), vbnamespacemanager_popContext(), vbnamespacemanager_Release(), view_wined3d_object_destroyed(), warning_enable(), wined3d_cs_exec_query_issue(), wined3d_private_store_free_private_data(), wined3d_query_destroy_object(), wined3d_texture_cleanup(), wined3d_texture_unload(), wined3d_texture_update_overlay(), WININET_Release(), write_expr_eval_routine_list(), WSHIoctl_GetInterfaceList(), xmlwriter_Release(), and xslprocessor_par_free().

◆ list_tail()

Definition at line 137 of file list.h.

138 {
139  return list_prev( list, list );
140 }
__WINE_SERVER_LIST_INLINE struct list * list_prev(const struct list *list, const struct list *elem)
Definition: list.h:123
Definition: _list.h:228

Referenced by context_find_fbo_entry(), context_get_entry(), d3d_device3_NextViewport(), d3d_viewport_NextLight(), find_array_or_string_in_struct(), get_body(), process_timer(), release_children(), SYSLINK_GetPrevLink(), type_union_get_cases(), write_output_buffer(), write_user_quad_list(), and yyparse().