Home
last modified time | relevance | path

Searched refs:sfnt_data (Results 1 – 4 of 4) 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.c1826 FT_Byte* sfnt_data = NULL; in Mac_Read_sfnt_Resource() local
1864 if ( FT_ALLOC( sfnt_data, rlen ) ) in Mac_Read_sfnt_Resource()
1866 error = FT_Stream_Read( stream, (FT_Byte *)sfnt_data, (FT_ULong)rlen ); in Mac_Read_sfnt_Resource()
1868 FT_FREE( sfnt_data ); in Mac_Read_sfnt_Resource()
1872 is_cff = rlen > 4 && !ft_memcmp( sfnt_data, "OTTO", 4 ); in Mac_Read_sfnt_Resource()
1874 sfnt_data, in Mac_Read_sfnt_Resource()
/external/pdfium/third_party/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.c1759 FT_Byte* sfnt_data = NULL; in Mac_Read_sfnt_Resource() local
1796 if ( FT_ALLOC( sfnt_data, rlen ) ) in Mac_Read_sfnt_Resource()
1798 error = FT_Stream_Read( stream, (FT_Byte *)sfnt_data, (FT_ULong)rlen ); in Mac_Read_sfnt_Resource()
1800 FT_FREE( sfnt_data ); in Mac_Read_sfnt_Resource()
1804 is_cff = rlen > 4 && !ft_memcmp( sfnt_data, "OTTO", 4 ); in Mac_Read_sfnt_Resource()
1806 sfnt_data, in Mac_Read_sfnt_Resource()