Home
last modified time | relevance | path

Searched refs:FT_ALLOC (Results 1 – 25 of 41) sorted by relevance

12

/external/freetype/src/type1/
Dt1parse.c225 if ( FT_ALLOC( parser->base_dict, size ) || in T1_New_Parser()
307 FT_ALLOC( parser->private_dict, parser->private_len ) ) in T1_Get_Private_Dict()
454 if ( FT_ALLOC( parser->private_dict, size + 1 ) ) in T1_Get_Private_Dict()
Dt1load.c317 if ( FT_ALLOC( mmvar, in T1_Get_MM_Var()
830 if ( FT_ALLOC( blend->axis_names[n], len + 1 ) ) in parse_blend_axis_types()
1837 if ( FT_ALLOC( temp, size ) ) in parse_subrs()
2047 if ( FT_ALLOC( temp, size ) ) in parse_charstrings()
/external/freetype/src/sfnt/
Dsfdriver.c505 if ( FT_ALLOC( result, entry->stringLength / 2 + 1 ) ) in get_win_string()
564 if ( FT_ALLOC( result, entry->stringLength + 1 ) ) in get_apple_string()
932 if ( FT_ALLOC( result, face->var_postscript_prefix_len + in sfnt_get_var_ps_name()
961 if ( FT_ALLOC( result, in sfnt_get_var_ps_name()
Dsfwoff.c164 if ( FT_ALLOC( sfnt, 12 + woff.num_tables * 16UL ) || in woff_open_font()
Dttcolr.c337 if ( FT_ALLOC( buf, size ) ) in tt_face_colr_blend_layer()
Dsfobjs.c621 !( FT_ALLOC( default_values, num_axes * 4 ) || in sfnt_init_face()
622 FT_ALLOC( instance_values, num_axes * 4 ) ) ) in sfnt_init_face()
/external/freetype/src/autofit/
Dafglobal.c344 if ( FT_ALLOC( globals, in af_face_globals_new()
458 if ( FT_ALLOC( metrics, writing_system_class->style_metrics_size ) ) in af_face_globals_get_metrics()
/external/freetype/src/base/
Dftrfork.c612 if ( FT_ALLOC( newpath, base_file_len + 6 ) ) in raccess_guess_darwin_hfsplus()
648 if ( FT_ALLOC( newpath, base_file_len + 18 ) ) in raccess_guess_darwin_newvfs()
884 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
Dftmac.c635 if ( FT_ALLOC( buffer, (FT_Long)total_size ) ) in read_lwfn()
756 if ( FT_ALLOC( sfnt_data, (FT_Long)sfnt_size ) ) in FT_New_Face_From_SFNT()
Dftobjs.c527 (void)FT_ALLOC( slot->bitmap.buffer, size ); in ft_glyphslot_alloc_bitmap()
617 if ( !FT_ALLOC( slot, clazz->slot_object_size ) ) in FT_New_GlyphSlot()
1370 if ( FT_ALLOC( face, clazz->face_object_size ) ) in open_face()
1767 if ( FT_ALLOC( sfnt_ps, (FT_Long)length ) ) in open_face_PS_from_sfnt_stream()
1877 if ( FT_ALLOC( pfb_data, (FT_Long)pfb_len + 2 ) ) in Mac_Read_POST_Resource()
2077 if ( FT_ALLOC( sfnt_data, rlen ) ) in Mac_Read_sfnt_Resource()
2836 if ( FT_ALLOC( size, clazz->size_object_size ) || FT_NEW( node ) ) in FT_New_Size()
3674 if ( !FT_ALLOC( cmap, clazz->size ) ) in FT_CMap_New()
4900 if ( FT_ALLOC( module, clazz->module_size ) ) in FT_Add_Module()
Dftbitmap.c965 if ( FT_ALLOC( target->buffer, target->pitch * (int)target->rows ) ) in FT_Bitmap_Blend()
995 if ( FT_ALLOC( buffer, new_pitch * (int)final_rows ) ) in FT_Bitmap_Blend()
/external/freetype/src/cid/
Dcidgload.c89 (void)FT_ALLOC( charstring, glyph_length ); in cid_load_glyph()
136 if ( FT_ALLOC( charstring, glyph_length ) ) in cid_load_glyph()
Dcidload.c593 FT_ALLOC( subr->code[0], data_len ) ) in cid_read_subrs()
815 if ( FT_ALLOC( face->binary_data, parser->binary_length ) || in cid_face_open()
/external/freetype/src/gzip/
Dftgzip.c134 (void)FT_ALLOC( p, sz ); in ft_gzip_alloc()
675 if ( !FT_ALLOC( zip_buff, zip_size ) ) in FT_Stream_OpenGzip()
/external/freetype/src/gxvalid/
Dgxvmod.c66 if ( FT_ALLOC( *table, *table_len ) ) in gxv_load_table()
/external/freetype/src/otvalid/
Dotvmod.c57 if ( FT_ALLOC( *table, *table_len ) ) in otv_load_table()
/external/freetype/src/cache/
Dftcmru.c266 else if ( FT_ALLOC( node, list->clazz.node_size ) ) in FTC_MruList_New()
Dftcsbits.c59 if ( !FT_ALLOC( sbit->buffer, size ) ) in ftc_sbit_copy_bitmap()
/external/freetype/src/pfr/
Dpfrload.c568 if ( FT_ALLOC( phy_font->font_id, len + 1 ) ) in pfr_extra_item_load_font_id()
764 if ( FT_ALLOC( result, len + 1 ) ) in pfr_aux_name_load()
/external/freetype/src/cff/
Dcffdrivr.c482 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
527 if ( FT_ALLOC( font_extra, sizeof ( *font_extra ) ) ) in cff_ps_get_font_extra()
/external/freetype/src/psaux/
Dpsobjs.c130 if ( FT_ALLOC( table->block, new_size ) ) in reallocate_t1_table()
255 if ( FT_ALLOC( table->block, table->cursor ) ) in ps_table_done()
983 if ( cur >= limit || FT_ALLOC( result, len + 1 ) )
1197 if ( FT_ALLOC( string, len + 1 ) ) in ps_parser_load_field()
/external/freetype/src/bzip2/
Dftbzip2.c74 (void)FT_ALLOC( p, sz ); in ft_bzip2_alloc()
/external/freetype/include/freetype/internal/
Dftmemory.h302 #define FT_ALLOC( ptr, size ) \ macro
/external/freetype/src/smooth/
Dftsmooth.c298 if ( FT_ALLOC( temp, (FT_ULong)pitch ) ) in ft_smooth_render_generic()
/external/freetype/builds/mac/
Dftmac.c1015 if ( FT_ALLOC( buffer, (FT_Long)total_size ) ) in read_lwfn()
1131 if ( FT_ALLOC( sfnt_data, (FT_Long)sfnt_size ) ) in FT_New_Face_From_SFNT()

12