ftstream.c File Reference

#include <ft2build.h>

Go to the source code of this file.

Defines

#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_GetShort (FT_Stream stream)
 FT_Stream_GetShortLE (FT_Stream stream)
 FT_Stream_GetOffset (FT_Stream stream)
 FT_Stream_GetLong (FT_Stream stream)
 FT_Stream_GetLongLE (FT_Stream stream)
 FT_Stream_ReadChar (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadShort (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadShortLE (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadOffset (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadLong (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadLongLE (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadFields (FT_Stream stream, const FT_Frame_Field *fields, void *structure)


Define Documentation

#define FT_COMPONENT   trace_stream

Definition at line 31 of file ftstream.c.


Function Documentation

FT_Stream_Close ( FT_Stream  stream  ) 

Definition at line 49 of file ftstream.c.

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

FT_Stream_EnterFrame ( FT_Stream  stream,
FT_ULong  count 
)

Definition at line 234 of file ftstream.c.

References error, FT_ASSERT, FT_ERROR, FT_FREE, ft_mem_qalloc(), and FT_QALLOC.

Referenced by FT_Access_Frame(), FT_Stream_ExtractFrame(), FT_Stream_ReadFields(), parse_afm(), pcf_get_bitmaps(), and pcf_get_encodings().

FT_Stream_ExitFrame ( FT_Stream  stream  ) 

Definition at line 300 of file ftstream.c.

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

Referenced by FT_Forget_Frame(), FT_Stream_ReadFields(), pcf_get_bitmaps(), and pcf_get_encodings().

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

Definition at line 193 of file ftstream.c.

References error, and FT_Stream_EnterFrame().

Referenced by FT_Extract_Frame().

FT_Stream_GetChar ( FT_Stream  stream  ) 

Definition at line 330 of file ftstream.c.

References FT_ASSERT, and result().

FT_Stream_GetLong ( FT_Stream  stream  ) 

Definition at line 402 of file ftstream.c.

References FT_ASSERT, FT_NEXT_LONG, p, and result().

FT_Stream_GetLongLE ( FT_Stream  stream  ) 

Definition at line 420 of file ftstream.c.

References FT_ASSERT, FT_NEXT_LONG_LE, p, and result().

FT_Stream_GetOffset ( FT_Stream  stream  ) 

Definition at line 384 of file ftstream.c.

References FT_ASSERT, FT_NEXT_OFF3, p, and result().

FT_Stream_GetShort ( FT_Stream  stream  ) 

Definition at line 346 of file ftstream.c.

References FT_ASSERT, FT_NEXT_SHORT, p, and result().

FT_Stream_GetShortLE ( FT_Stream  stream  ) 

Definition at line 365 of file ftstream.c.

References FT_ASSERT, FT_NEXT_SHORT_LE, p, and result().

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

Definition at line 35 of file ftstream.c.

Referenced by FT_New_Face_From_SFNT(), FT_New_Memory_Stream(), FT_Stream_New(), and load_truetype_glyph().

FT_Stream_Pos ( FT_Stream  stream  ) 

Definition at line 103 of file ftstream.c.

Referenced by tt_face_load_loca().

FT_Stream_Read ( FT_Stream  stream,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 110 of file ftstream.c.

References FT_Stream_ReadAt().

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

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_ERROR, and FT_MEM_COPY.

Referenced by FT_Read_Stream_At(), and FT_Stream_Read().

FT_Stream_ReadChar ( FT_Stream  stream,
FT_Error error 
)

Definition at line 438 of file ftstream.c.

References FT_ASSERT, FT_ERROR, RooFitShortHand::L(), and result().

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

Definition at line 710 of file ftstream.c.

References error, FT_Bool, FT_CHAR_BIT, ft_frame_byte, ft_frame_bytes, ft_frame_long_be, ft_frame_long_le, ft_frame_off3_be, ft_frame_off3_le, FT_FRAME_OP_SIGNED, ft_frame_schar, ft_frame_short_be, ft_frame_short_le, ft_frame_skip, ft_frame_start, ft_frame_ulong_be, ft_frame_ulong_le, ft_frame_uoff3_be, ft_frame_uoff3_le, ft_frame_ushort_be, ft_frame_ushort_le, FT_MEM_COPY, FT_NEXT_BYTE, FT_NEXT_ULONG, FT_NEXT_ULONG_LE, FT_NEXT_UOFF3, FT_NEXT_UOFF3_LE, FT_NEXT_USHORT, FT_NEXT_USHORT_LE, FT_Stream_EnterFrame(), FT_Stream_ExitFrame(), len, p, and value.

FT_Stream_ReadLong ( FT_Stream  stream,
FT_Error error 
)

Definition at line 616 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_LONG, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadLongLE ( FT_Stream  stream,
FT_Error error 
)

Definition at line 663 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_LONG_LE, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadOffset ( FT_Stream  stream,
FT_Error error 
)

Definition at line 569 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_OFF3, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadShort ( FT_Stream  stream,
FT_Error error 
)

Definition at line 475 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_SHORT, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadShortLE ( FT_Stream  stream,
FT_Error error 
)

Definition at line 522 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_SHORT_LE, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReleaseFrame ( FT_Stream  stream,
FT_Byte **  pbytes 
)

Definition at line 215 of file ftstream.c.

References FT_FREE, ft_mem_free(), and NULL.

Referenced by FT_Release_Frame().

FT_Stream_Seek ( FT_Stream  stream,
FT_ULong  pos 
)

Definition at line 57 of file ftstream.c.

References error, and FT_ERROR.

Referenced by ft_lzwstate_io(), FT_Open_Face(), FT_Raccess_Get_DataOffsets(), FT_Raccess_Get_HeaderInfo(), FT_Seek_Stream(), and FT_Stream_Skip().

FT_Stream_Skip ( FT_Stream  stream,
FT_Long  distance 
)

Definition at line 92 of file ftstream.c.

References FT_Stream_Seek().

Referenced by FT_Skip_Stream().

FT_Stream_TryRead ( FT_Stream  stream,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 164 of file ftstream.c.

References FT_MEM_COPY.

Referenced by _bdf_readstream(), ft_lzwstate_io(), and ft_lzwstate_refill().


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