#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 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.
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 | ) |
ft_free | ( | FT_Memory | memory, | |
void * | block | |||
) |
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_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.