ftsystem.c File Reference

#include <ft2build.h>

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_io
#define STREAM_FILE(stream)   ( (FT_FILE*)stream->descriptor.pointer )

Functions

 ft_alloc (FT_Memory memory, long size)
 ft_realloc (FT_Memory memory, long cur_size, long new_size, void *block)
 ft_free (FT_Memory memory, void *block)
 ft_ansi_stream_close (FT_Stream stream)
 ft_ansi_stream_io (FT_Stream stream, unsigned long offset, unsigned char *buffer, unsigned long count)
 FT_Stream_Open (FT_Stream stream, const char *filepathname)
 FT_New_Memory (void)
 FT_Done_Memory (FT_Memory memory)


Define Documentation

#define FT_COMPONENT   trace_io

Definition at line 148 of file ftsystem.c.

#define STREAM_FILE ( stream   )     ( (FT_FILE*)stream->descriptor.pointer )

Definition at line 152 of file ftsystem.c.


Function Documentation

ft_alloc ( FT_Memory  memory,
long  size 
)

Definition at line 69 of file ftsystem.c.

References ft_smalloc, and FT_UNUSED.

ft_ansi_stream_close ( FT_Stream  stream  ) 

Definition at line 167 of file ftsystem.c.

References ft_fclose, NULL, and STREAM_FILE.

Referenced by FT_Stream_Open().

ft_ansi_stream_io ( FT_Stream  stream,
unsigned long  offset,
unsigned char *  buffer,
unsigned long  count 
)

Definition at line 198 of file ftsystem.c.

References FT_FILE, ft_fread, ft_fseek, SEEK_SET, and STREAM_FILE.

Referenced by FT_Stream_Open().

FT_Done_Memory ( FT_Memory  memory  ) 

Definition at line 293 of file ftsystem.c.

References ft_sfree.

ft_free ( FT_Memory  memory,
void *  block 
)

Definition at line 125 of file ftsystem.c.

References ft_sfree, and FT_UNUSED.

FT_New_Memory ( void   ) 

Definition at line 269 of file ftsystem.c.

References ft_alloc(), ft_free(), ft_realloc(), ft_smalloc, NULL, and FT_MemoryRec_::user.

ft_realloc ( FT_Memory  memory,
long  cur_size,
long  new_size,
void *  block 
)

Definition at line 99 of file ftsystem.c.

References ft_srealloc, and FT_UNUSED.

FT_Stream_Open ( FT_Stream  stream,
const char *  filepathname 
)

Definition at line 218 of file ftsystem.c.

References SysFile::file, ft_amiga_stream_close(), ft_amiga_stream_io(), ft_ansi_stream_close(), ft_ansi_stream_io(), FT_ERROR, FT_FILE, ft_fopen, ft_fseek, ft_ftell, FT_TRACE1, SysFile::iobuf_end, SysFile::iobuf_start, NULL, SEEK_END, and SEEK_SET.


Generated on Tue Jul 5 15:58:18 2011 for ROOT_528-00b_version by  doxygen 1.5.1