Home | History | Annotate | Download | only in vms

Lines Matching defs:memory

28   /* memory-mapping includes and definitions */
74 /* MEMORY MANAGEMENT INTERFACE */
85 /* The memory allocation function. */
88 /* memory :: A pointer to the memory object. */
96 ft_alloc( FT_Memory memory,
99 FT_UNUSED( memory );
111 /* The memory reallocation function. */
114 /* memory :: A pointer to the memory object. */
116 /* cur_size :: The current size of the allocated memory block. */
120 /* block :: The current address of the block in memory. */
123 /* The address of the reallocated memory block. */
126 ft_realloc( FT_Memory memory,
131 FT_UNUSED( memory );
144 /* The memory release function. */
147 /* memory :: A pointer to the memory object. */
149 /* block :: The address of block in memory to be freed. */
152 ft_free( FT_Memory memory,
155 FT_UNUSED( memory );
284 ft_mem_debug_init( FT_Memory memory );
287 ft_mem_debug_done( FT_Memory memory );
297 FT_Memory memory;
300 memory = (FT_Memory)malloc( sizeof ( *memory ) );
301 if ( memory )
303 memory->user = 0;
304 memory->alloc = ft_alloc;
305 memory->realloc = ft_realloc;
306 memory->free = ft_free;
308 ft_mem_debug_init( memory );
312 return memory;
319 FT_Done_Memory( FT_Memory memory )
322 ft_mem_debug_done( memory );
324 memory->free( memory, memory );