Home
last modified time | relevance | path

Searched refs:sfnt_data (Results 1 – 5 of 5) sorted by relevance

/external/freetype/src/base/
Dftmac.c738 FT_Byte* sfnt_data; in FT_New_Face_From_SFNT() local
755 if ( FT_ALLOC( sfnt_data, (FT_Long)sfnt_size ) ) in FT_New_Face_From_SFNT()
761 ft_memcpy( sfnt_data, *sfnt, sfnt_size ); in FT_New_Face_From_SFNT()
764 is_cff = sfnt_size > 4 && !ft_memcmp( sfnt_data, "OTTO", 4 ); in FT_New_Face_From_SFNT()
765 is_sfnt_ps = sfnt_size > 4 && !ft_memcmp( sfnt_data, "typ1", 4 ); in FT_New_Face_From_SFNT()
775 FT_Stream_OpenMemory( stream, sfnt_data, sfnt_size ); in FT_New_Face_From_SFNT()
784 FT_FREE( sfnt_data ); in FT_New_Face_From_SFNT()
792 sfnt_data, in FT_New_Face_From_SFNT()
Dftobjs.c2057 FT_Byte* sfnt_data = NULL; in Mac_Read_sfnt_Resource() local
2095 if ( FT_ALLOC( sfnt_data, rlen ) ) in Mac_Read_sfnt_Resource()
2097 error = FT_Stream_Read( stream, (FT_Byte *)sfnt_data, (FT_ULong)rlen ); in Mac_Read_sfnt_Resource()
2099 FT_FREE( sfnt_data ); in Mac_Read_sfnt_Resource()
2103 is_cff = rlen > 4 && !ft_memcmp( sfnt_data, "OTTO", 4 ); in Mac_Read_sfnt_Resource()
2105 sfnt_data, in Mac_Read_sfnt_Resource()
/external/freetype/builds/mac/
Dftmac.c1118 FT_Byte* sfnt_data; in FT_New_Face_From_SFNT() local
1130 if ( FT_ALLOC( sfnt_data, (FT_Long)sfnt_size ) ) in FT_New_Face_From_SFNT()
1137 ft_memcpy( sfnt_data, *sfnt, sfnt_size ); in FT_New_Face_From_SFNT()
1141 is_cff = sfnt_size > 4 && !ft_memcmp( sfnt_data, "OTTO", 4 ); in FT_New_Face_From_SFNT()
1142 is_sfnt_ps = sfnt_size > 4 && !ft_memcmp( sfnt_data, "typ1", 4 ); in FT_New_Face_From_SFNT()
1152 FT_Stream_OpenMemory( stream, sfnt_data, sfnt_size ); in FT_New_Face_From_SFNT()
1161 FT_FREE( sfnt_data ); in FT_New_Face_From_SFNT()
1169 sfnt_data, in FT_New_Face_From_SFNT()
/external/freetype/
DChangeLog.263095 (Mac_Read_sfnt_Resource): Free the buffer `sfnt_data' if
DChangeLog.243736 (Mac_Read_sfnt_Resource): Init `sfnt_data'.