ReactOS  0.4.11-dev-721-g95bc44e
heap.h File Reference
#include <winbase.h>
Include dependency graph for heap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void__WINE_ALLOC_SIZE (1) heap_alloc(SIZE_T len)
 
static void__WINE_ALLOC_SIZE (2) heap_realloc(void *mem
 
return HeapReAlloc (GetProcessHeap(), 0, mem, len)
 
static void heap_free (void *mem)
 
static voidheap_calloc (SIZE_T count, SIZE_T size)
 

Variables

static void SIZE_T len
 

Function Documentation

static void* __WINE_ALLOC_SIZE ( )
inlinestatic

Definition at line 27 of file heap.h.

28 {
29  return HeapAlloc(GetProcessHeap(), 0, len);
30 }
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
GLenum GLsizei len
Definition: glext.h:6722
static void* __WINE_ALLOC_SIZE ( )
inlinestatic
static void* heap_calloc ( SIZE_T  count,
SIZE_T  size 
)
inlinestatic

Definition at line 49 of file heap.h.

Referenced by _ItemizeInternal(), buffer_process_converted_attribute(), clone_sig(), compile_state_table(), computeIsolatingRunsSet(), context_create(), convert_fvf_to_declaration(), d3drm_frame_array_create(), d3drm_light_array_create(), d3drm_mesh_AddGroup(), d3drm_mesh_builder3_CreateMesh(), d3drm_visual_array_create(), geometry_shader_init(), init_format_base_info(), load_mesh_data(), read_metadata_info(), record_instruction(), requires_fallback(), ScriptLayout(), ScriptPlace(), ScriptShape(), ScriptShapeOpenType(), ScriptStringAnalyse(), ScriptTextOut(), shader_get_registers_used(), shader_glsl_alloc(), shader_glsl_dump_program_source(), shader_glsl_init_transform_feedback(), shader_glsl_setup_vs3_output(), shader_record_sample(), shader_signature_copy(), SHAPE_does_GSUB_feature_apply_to_chars(), swapchain_create_context(), swapchain_init(), texture2d_download_data(), usp10_language_add_feature_list(), vertexdeclaration_init(), wined3d_adapter_init_fb_cfgs(), wined3d_device_init_3d(), wined3d_device_init_gdi(), wined3d_find_closest_matching_adapter_mode(), wined3d_texture_create_dc(), wined3d_texture_init(), and wined3d_texture_upload_data().

50 {
51  SIZE_T len = count * size;
52 
53  if (size && len / size != count)
54  return NULL;
56 }
smooth NULL
Definition: ftsmooth.c:416
GLsizeiptr size
Definition: glext.h:5919
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLenum GLsizei len
Definition: glext.h:6722
ULONG_PTR SIZE_T
Definition: typedefs.h:78
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
static void heap_free ( void mem)
inlinestatic

Definition at line 44 of file heap.h.

45 {
46  HeapFree(GetProcessHeap(), 0, mem);
47 }
#define GetProcessHeap()
Definition: compat.h:395
#define HeapFree(x, y, z)
Definition: compat.h:394
return HeapReAlloc ( GetProcessHeap()  ,
,
mem  ,
len   
)

Variable Documentation

Initial value:
{
if (!mem)
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
GLenum GLsizei len
Definition: glext.h:6722
Definition: mem.c:156

Definition at line 38 of file heap.h.