Home
last modified time | relevance | path

Searched refs:FT_NEW_ARRAY (Results 1 – 25 of 37) sorted by relevance

12

/external/freetype/src/sfnt/
Dttpost.c193 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
230 if ( FT_NEW_ARRAY( name_strings, num_names ) ) in load_format_20()
262 if ( FT_NEW_ARRAY( name_strings[n], len + 1 ) || in load_format_20()
276 if ( FT_NEW_ARRAY( name_strings[n], 1 ) ) in load_format_20()
339 if ( FT_NEW_ARRAY( offset_table, num_glyphs ) || in load_format_25()
Dsfwoff2.c793 if ( FT_NEW_ARRAY( loca_buf, loca_buf_size ) ) in store_loca()
869 if ( FT_NEW_ARRAY( substreams, num_substreams ) ) in reconstruct_glyf()
916 if ( FT_NEW_ARRAY( loca_values, num_glyphs + 1 ) ) in reconstruct_glyf()
927 if ( FT_NEW_ARRAY( glyph_buf, glyph_buf_size ) ) in reconstruct_glyf()
930 if ( FT_NEW_ARRAY( info->x_mins, num_glyphs ) ) in reconstruct_glyf()
1050 if ( FT_NEW_ARRAY( n_points_arr, n_contours ) ) in reconstruct_glyf()
1087 if ( FT_NEW_ARRAY( points, points_size ) ) in reconstruct_glyf()
1318 if ( FT_NEW_ARRAY( info->x_mins, num_glyphs ) ) in get_x_mins()
1406 if ( FT_NEW_ARRAY( advance_widths, num_hmetrics ) || in reconstruct_hmtx()
1407 FT_NEW_ARRAY( lsbs, num_glyphs ) ) in reconstruct_hmtx()
[all …]
Dsfwoff.c197 if ( FT_NEW_ARRAY( tables, woff.num_tables ) || in woff_open_font()
198 FT_NEW_ARRAY( indices, woff.num_tables ) ) in woff_open_font()
Dsfobjs.c68 if ( FT_NEW_ARRAY( string, len + 1 ) ) in tt_name_ascii_from_utf16()
103 if ( FT_NEW_ARRAY( string, len + 1 ) ) in tt_name_ascii_from_other()
449 if ( FT_NEW_ARRAY( face->ttc_header.offsets, face->ttc_header.count ) ) in sfnt_open_font()
1209 if ( FT_NEW_ARRAY( root->available_sizes, count ) || in sfnt_load_face()
1210 FT_NEW_ARRAY( sbit_strike_map, count ) ) in sfnt_load_face()
Dttcpal.c218 if ( FT_NEW_ARRAY( face->palette, in tt_face_load_cpal()
Dpngshim.c430 if ( FT_NEW_ARRAY( rows, imgHeight ) ) in Load_SBit_Png()
/external/freetype/src/truetype/
Dttgxvar.c181 if ( FT_NEW_ARRAY( points, n + 1 ) ) in ft_var_readpackedpoints()
279 if ( FT_NEW_ARRAY( deltas, delta_cnt ) ) in ft_var_readpackeddeltas()
379 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) ) in ft_var_load_avar()
389 FT_NEW_ARRAY( segment->correspondence, segment->pairCount ) ) in ft_var_load_avar()
469 if ( FT_NEW_ARRAY( dataOffsetArray, itemStore->dataCount ) ) in ft_var_load_item_variation_store()
496 if ( FT_NEW_ARRAY( itemStore->varRegionList, itemStore->regionCount ) ) in ft_var_load_item_variation_store()
504 if ( FT_NEW_ARRAY( itemStore->varRegionList[i].axisList, in ft_var_load_item_variation_store()
529 if ( FT_NEW_ARRAY( itemStore->varData, itemStore->dataCount ) ) in ft_var_load_item_variation_store()
564 if ( FT_NEW_ARRAY( varData->regionIndices, in ft_var_load_item_variation_store()
587 if ( FT_NEW_ARRAY( varData->deltaSet, in ft_var_load_item_variation_store()
[all …]
Dttobjs.c127 if ( FT_NEW_ARRAY( zone->org, maxPoints ) || in tt_glyphzone_new()
128 FT_NEW_ARRAY( zone->cur, maxPoints ) || in tt_glyphzone_new()
129 FT_NEW_ARRAY( zone->orus, maxPoints ) || in tt_glyphzone_new()
130 FT_NEW_ARRAY( zone->tags, maxPoints ) || in tt_glyphzone_new()
131 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
1125 if ( FT_NEW_ARRAY( size->function_defs, size->max_function_defs ) || in tt_size_init_bytecode()
1126 FT_NEW_ARRAY( size->instruction_defs, size->max_instruction_defs ) || in tt_size_init_bytecode()
1127 FT_NEW_ARRAY( size->cvt, size->cvt_size ) || in tt_size_init_bytecode()
1128 FT_NEW_ARRAY( size->storage, size->storage_size ) ) in tt_size_init_bytecode()
Dttpload.c347 if ( FT_NEW_ARRAY( face->cvt, face->cvt_size ) ) in tt_face_load_cvt()
584 if ( FT_NEW_ARRAY( face->hdmx_record_sizes, num_records ) ) in tt_face_load_hdmx()
/external/freetype/src/base/
Dftsnames.c68 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name()
124 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag()
Dfthash.c145 if ( FT_NEW_ARRAY( hash->table, hash->size ) ) in hash_rehash()
Dftoutln.c319 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || in FT_Outline_New()
320 FT_NEW_ARRAY( anoutline->tags, numPoints ) || in FT_Outline_New()
321 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New()
Dftrfork.c259 if ( FT_NEW_ARRAY( ref, *count ) ) in FT_Raccess_Get_DataOffsets()
308 if ( FT_NEW_ARRAY( offsets_internal, *count ) ) in FT_Raccess_Get_DataOffsets()
Dftgloadr.c176 if ( !FT_NEW_ARRAY( loader->base.extra_points, 2 * loader->max_points ) ) in FT_GlyphLoader_CreateExtra()
/external/freetype/src/cff/
Dcffload.c359 if ( FT_NEW_ARRAY( idx->offsets, idx->count + 1 ) || in cff_index_load_offsets()
430 !FT_NEW_ARRAY( tbl, idx->count + 1 ) && in cff_index_get_pointers()
852 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) in cff_charset_compute_cids()
935 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1028 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1046 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1064 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1172 if ( FT_NEW_ARRAY( dataOffsetArray, vstore->dataCount ) ) in cff_vstore_load()
1187 if ( FT_NEW_ARRAY( vstore->varRegionList, vstore->regionCount ) ) in cff_vstore_load()
1195 if ( FT_NEW_ARRAY( region->axisList, vstore->axisCount ) ) in cff_vstore_load()
[all …]
/external/freetype/src/pcf/
Dpcfread.c130 if ( FT_NEW_ARRAY( face->toc.tables, toc->count ) ) in pcf_read_TOC()
543 if ( FT_NEW_ARRAY( props, nprops ) ) in pcf_get_properties()
610 if ( FT_NEW_ARRAY( strings, string_size + 1 ) ) in pcf_get_properties()
617 if ( FT_NEW_ARRAY( properties, nprops ) ) in pcf_get_properties()
770 if ( FT_NEW_ARRAY( face->metrics, face->nmetrics ) ) in pcf_get_metrics()
1041 if ( FT_NEW_ARRAY( enc->offset, nencoding ) ) in pcf_get_encodings()
1536 if ( FT_NEW_ARRAY( root->family_name, l ) ) in pcf_load_font()
1545 if ( FT_NEW_ARRAY( root->family_name, l ) ) in pcf_load_font()
1569 if ( FT_NEW_ARRAY( root->available_sizes, 1 ) ) in pcf_load_font()
/external/freetype/src/bdf/
Dbdflib.c541 if ( FT_NEW_ARRAY( buf, buf_size ) ) in _bdf_readstream()
859 if ( FT_NEW_ARRAY( p->name, n ) ) in bdf_create_property()
1164 if ( FT_NEW_ARRAY( font->props, 1 ) ) in _bdf_add_property()
1364 if ( FT_NEW_ARRAY( font->glyphs, font->glyphs_size ) ) in _bdf_parse_glyphs()
1441 if ( FT_NEW_ARRAY( p->glyph_name, slen + 1 ) ) in _bdf_parse_glyphs()
1738 if ( FT_NEW_ARRAY( glyph->bitmap, glyph->bytes ) ) in _bdf_parse_glyphs()
1995 if ( FT_NEW_ARRAY( p->font->props, p->cnt ) ) in _bdf_parse_start()
2058 if ( FT_NEW_ARRAY( p->font->name, slen + 1 ) ) in _bdf_parse_start()
Dbdfdrivr.c445 if ( FT_NEW_ARRAY( bdfface->available_sizes, 1 ) ) in BDF_Face_Init()
611 if ( FT_NEW_ARRAY( face->en_table, font->glyphs_size ) ) in BDF_Face_Init()
/external/freetype/src/type1/
Dt1load.c133 if ( FT_NEW_ARRAY( blend->font_infos[1], num_designs ) || in t1_allocate_blend()
134 FT_NEW_ARRAY( blend->privates [1], num_designs ) || in t1_allocate_blend()
135 FT_NEW_ARRAY( blend->bboxes [1], num_designs ) || in t1_allocate_blend()
136 FT_NEW_ARRAY( blend->weight_vector, num_designs * 2 ) ) in t1_allocate_blend()
175 if ( FT_NEW_ARRAY( blend->design_pos[0], num_designs * num_axis ) ) in t1_allocate_blend()
1047 if ( FT_NEW_ARRAY( map->design_points, num_points * 2 ) ) in parse_blend_design_map()
1523 if ( FT_NEW_ARRAY( encode->char_index, array_size ) || in parse_encoding()
1524 FT_NEW_ARRAY( encode->char_name, array_size ) || in parse_encoding()
2602 if ( FT_NEW_ARRAY( face->buildchar, face->len_buildchar ) ) in T1_Open_Face()
/external/freetype/src/pfr/
Dpfrload.c604 if ( FT_NEW_ARRAY( snaps, count ) ) in pfr_extra_item_load_stem_snaps()
956 if ( FT_NEW_ARRAY( phy_font->blue_values, count ) ) in pfr_phy_font_load()
996 if ( FT_NEW_ARRAY( phy_font->chars, count ) ) in pfr_phy_font_load()
/external/freetype/src/cid/
Dcidload.c289 if ( FT_NEW_ARRAY( cid->font_dicts, num_dicts ) ) in parse_fd_array()
527 if ( FT_NEW_ARRAY( face->subrs, cid->num_dicts ) ) in cid_read_subrs()
592 if ( FT_NEW_ARRAY( subr->code, num_subrs + 1 ) || in cid_read_subrs()
/external/freetype/src/pshinter/
Dpshalgo.c185 if ( FT_NEW_ARRAY( table->sort, 2 * count ) || in psh_hint_table_init()
186 FT_NEW_ARRAY( table->hints, count ) || in psh_hint_table_init()
187 FT_NEW_ARRAY( table->zones, 2 * count + 1 ) ) in psh_hint_table_init()
1169 if ( FT_NEW_ARRAY( glyph->points, outline->n_points ) || in psh_glyph_init()
1170 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1808 if ( FT_NEW_ARRAY( strongs, num_strongs ) ) in psh_glyph_interpolate_normal_points()
/external/freetype/src/psaux/
Dpsstack.c70 if ( FT_NEW_ARRAY( stack->buffer, stackSize ) ) in cf2_stack_init()
/external/freetype/src/psnames/
Dpsmodule.c331 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init()
/external/freetype/include/freetype/internal/
Dftmemory.h341 #define FT_NEW_ARRAY( ptr, count ) \ macro

12