Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
ftstream.c File Reference
#include <ft2build.h>

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_stream
 

Functions

 FT_Stream_OpenMemory (FT_Stream stream, const FT_Byte *base, FT_ULong size)
 
 FT_Stream_Close (FT_Stream stream)
 
 FT_Stream_Seek (FT_Stream stream, FT_ULong pos)
 
 FT_Stream_Skip (FT_Stream stream, FT_Long distance)
 
 FT_Stream_Pos (FT_Stream stream)
 
 FT_Stream_Read (FT_Stream stream, FT_Byte *buffer, FT_ULong count)
 
 FT_Stream_ReadAt (FT_Stream stream, FT_ULong pos, FT_Byte *buffer, FT_ULong count)
 
 FT_Stream_TryRead (FT_Stream stream, FT_Byte *buffer, FT_ULong count)
 
 FT_Stream_ExtractFrame (FT_Stream stream, FT_ULong count, FT_Byte **pbytes)
 
 FT_Stream_ReleaseFrame (FT_Stream stream, FT_Byte **pbytes)
 
 FT_Stream_EnterFrame (FT_Stream stream, FT_ULong count)
 
 FT_Stream_ExitFrame (FT_Stream stream)
 
 FT_Stream_GetChar (FT_Stream stream)
 
 FT_Stream_GetUShort (FT_Stream stream)
 
 FT_Stream_GetUShortLE (FT_Stream stream)
 
 FT_Stream_GetUOffset (FT_Stream stream)
 
 FT_Stream_GetULong (FT_Stream stream)
 
 FT_Stream_GetULongLE (FT_Stream stream)
 
 FT_Stream_ReadChar (FT_Stream stream, FT_Error *error)
 
 FT_Stream_ReadUShort (FT_Stream stream, FT_Error *error)
 
 FT_Stream_ReadUShortLE (FT_Stream stream, FT_Error *error)
 
 FT_Stream_ReadUOffset (FT_Stream stream, FT_Error *error)
 
 FT_Stream_ReadULong (FT_Stream stream, FT_Error *error)
 
 FT_Stream_ReadULongLE (FT_Stream stream, FT_Error *error)
 
 FT_Stream_ReadFields (FT_Stream stream, const FT_Frame_Field *fields, void *structure)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_stream

Definition at line 31 of file ftstream.c.

Function Documentation

◆ FT_Stream_Close()

FT_Stream_Close ( FT_Stream  stream)

Definition at line 49 of file ftstream.c.

References FT_BASE_DEF.

Referenced by FT_New_Memory_Face(), FT_Stream_Free(), main(), and PCF_Face_Done().

◆ FT_Stream_EnterFrame()

FT_Stream_EnterFrame ( FT_Stream  stream,
FT_ULong  count 
)

◆ FT_Stream_ExitFrame()

FT_Stream_ExitFrame ( FT_Stream  stream)

Definition at line 312 of file ftstream.c.

References FT_ASSERT, FT_BASE_DEF, FT_FREE, ft_mem_free(), and NULL.

Referenced by FT_Forget_Frame(), and FT_Stream_ReadFields().

◆ FT_Stream_ExtractFrame()

FT_Stream_ExtractFrame ( FT_Stream  stream,
FT_ULong  count,
FT_Byte **  pbytes 
)

Definition at line 193 of file ftstream.c.

References error, FT_BASE_DEF, and FT_Stream_EnterFrame().

Referenced by FT_Extract_Frame().

◆ FT_Stream_GetChar()

FT_Stream_GetChar ( FT_Stream  stream)

Definition at line 342 of file ftstream.c.

References FT_ASSERT, and FT_BASE_DEF.

◆ FT_Stream_GetULong()

FT_Stream_GetULong ( FT_Stream  stream)

Definition at line 414 of file ftstream.c.

References FT_ASSERT, FT_BASE_DEF, and FT_NEXT_ULONG.

◆ FT_Stream_GetULongLE()

FT_Stream_GetULongLE ( FT_Stream  stream)

Definition at line 432 of file ftstream.c.

References FT_ASSERT, FT_BASE_DEF, and FT_NEXT_ULONG_LE.

◆ FT_Stream_GetUOffset()

FT_Stream_GetUOffset ( FT_Stream  stream)

Definition at line 396 of file ftstream.c.

References FT_ASSERT, FT_BASE_DEF, and FT_NEXT_UOFF3.

◆ FT_Stream_GetUShort()

FT_Stream_GetUShort ( FT_Stream  stream)

Definition at line 358 of file ftstream.c.

References FT_ASSERT, FT_BASE_DEF, and FT_NEXT_USHORT.

◆ FT_Stream_GetUShortLE()

FT_Stream_GetUShortLE ( FT_Stream  stream)

Definition at line 377 of file ftstream.c.

References FT_ASSERT, FT_BASE_DEF, and FT_NEXT_USHORT_LE.

◆ FT_Stream_OpenMemory()

FT_Stream_OpenMemory ( FT_Stream  stream,
const FT_Byte base,
FT_ULong  size 
)

Definition at line 35 of file ftstream.c.

References FT_BASE_DEF.

Referenced by FT_New_Memory_Face(), FT_New_Memory_Stream(), and FT_Stream_New().

◆ FT_Stream_Pos()

FT_Stream_Pos ( FT_Stream  stream)

Definition at line 103 of file ftstream.c.

References FT_BASE_DEF.

Referenced by FT_New_Memory_Face(), and tt_face_load_loca().

◆ FT_Stream_Read()

FT_Stream_Read ( FT_Stream  stream,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 110 of file ftstream.c.

References FT_BASE_DEF, and FT_Stream_ReadAt().

Referenced by FT_New_Memory_Face(), FT_Raccess_Get_HeaderInfo(), and FT_Read_Stream().

◆ FT_Stream_ReadAt()

FT_Stream_ReadAt ( FT_Stream  stream,
FT_ULong  pos,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 119 of file ftstream.c.

References error, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, FT_MEM_COPY, and FT_THROW().

Referenced by FT_Read_Stream_At(), and FT_Stream_Read().

◆ FT_Stream_ReadChar()

FT_Stream_ReadChar ( FT_Stream  stream,
FT_Error error 
)

Definition at line 450 of file ftstream.c.

References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, and FT_THROW().

◆ FT_Stream_ReadFields()

FT_Stream_ReadFields ( FT_Stream  stream,
const FT_Frame_Field fields,
void structure 
)

◆ FT_Stream_ReadULong()

FT_Stream_ReadULong ( FT_Stream  stream,
FT_Error error 
)

Definition at line 628 of file ftstream.c.

References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, FT_NEXT_ULONG, and FT_THROW().

◆ FT_Stream_ReadULongLE()

FT_Stream_ReadULongLE ( FT_Stream  stream,
FT_Error error 
)

Definition at line 675 of file ftstream.c.

References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, FT_NEXT_ULONG_LE, and FT_THROW().

◆ FT_Stream_ReadUOffset()

FT_Stream_ReadUOffset ( FT_Stream  stream,
FT_Error error 
)

Definition at line 581 of file ftstream.c.

References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, FT_NEXT_UOFF3, and FT_THROW().

◆ FT_Stream_ReadUShort()

FT_Stream_ReadUShort ( FT_Stream  stream,
FT_Error error 
)

Definition at line 487 of file ftstream.c.

References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, FT_NEXT_USHORT, and FT_THROW().

◆ FT_Stream_ReadUShortLE()

FT_Stream_ReadUShortLE ( FT_Stream  stream,
FT_Error error 
)

Definition at line 534 of file ftstream.c.

References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_ERROR, FT_NEXT_USHORT_LE, and FT_THROW().

◆ FT_Stream_ReleaseFrame()

FT_Stream_ReleaseFrame ( FT_Stream  stream,
FT_Byte **  pbytes 
)

Definition at line 215 of file ftstream.c.

References FT_BASE_DEF, FT_FREE, ft_mem_free(), and NULL.

Referenced by FT_Release_Frame().

◆ FT_Stream_Seek()

FT_Stream_Seek ( FT_Stream  stream,
FT_ULong  pos 
)

◆ FT_Stream_Skip()

FT_Stream_Skip ( FT_Stream  stream,
FT_Long  distance 
)

Definition at line 92 of file ftstream.c.

References FT_BASE_DEF, FT_Stream_Seek(), and FT_THROW().

Referenced by FT_Skip_Stream().

◆ FT_Stream_TryRead()

FT_Stream_TryRead ( FT_Stream  stream,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 164 of file ftstream.c.

References FT_BASE_DEF, and FT_MEM_COPY.

Referenced by ft_lzwstate_io().