Home
last modified time | relevance | path

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

12

/external/freetype/src/sfnt/
Dttpost.c194 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) || in load_format_20()
231 if ( FT_NEW_ARRAY( name_strings, num_names ) ) in load_format_20()
263 if ( FT_NEW_ARRAY( name_strings[n], len + 1 ) || in load_format_20()
277 if ( FT_NEW_ARRAY( name_strings[n], 1 ) ) in load_format_20()
340 if ( FT_NEW_ARRAY( offset_table, num_glyphs ) || in load_format_25()
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()
501 if ( FT_NEW_ARRAY( tables, woff.num_tables ) || in woff_open_font()
502 FT_NEW_ARRAY( indices, woff.num_tables ) ) in woff_open_font()
825 if ( FT_NEW_ARRAY( face->ttc_header.offsets, face->ttc_header.count ) ) in sfnt_open_font()
1576 if ( FT_NEW_ARRAY( root->available_sizes, count ) || in sfnt_load_face()
1577 FT_NEW_ARRAY( sbit_strike_map, count ) ) in sfnt_load_face()
Dttcpal.c216 if ( FT_NEW_ARRAY( face->palette, in tt_face_load_cpal()
Dpngshim.c425 if ( FT_NEW_ARRAY( rows, imgHeight ) ) in Load_SBit_Png()
Dttload.c912 if ( FT_NEW_ARRAY( table->langTags, table->numLangTagRecords ) || in tt_face_load_name()
943 if ( FT_NEW_ARRAY( table->names, table->numNameRecords ) || in tt_face_load_name()
/external/freetype/src/truetype/
Dttgxvar.c179 if ( FT_NEW_ARRAY( points, n + 1 ) ) in ft_var_readpackedpoints()
277 if ( FT_NEW_ARRAY( deltas, delta_cnt ) ) in ft_var_readpackeddeltas()
377 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) ) in ft_var_load_avar()
387 FT_NEW_ARRAY( segment->correspondence, segment->pairCount ) ) in ft_var_load_avar()
466 if ( FT_NEW_ARRAY( dataOffsetArray, itemStore->dataCount ) ) in ft_var_load_item_variation_store()
493 if ( FT_NEW_ARRAY( itemStore->varRegionList, itemStore->regionCount ) ) in ft_var_load_item_variation_store()
501 if ( FT_NEW_ARRAY( itemStore->varRegionList[i].axisList, in ft_var_load_item_variation_store()
526 if ( FT_NEW_ARRAY( itemStore->varData, itemStore->dataCount ) ) in ft_var_load_item_variation_store()
561 if ( FT_NEW_ARRAY( varData->regionIndices, in ft_var_load_item_variation_store()
584 if ( FT_NEW_ARRAY( varData->deltaSet, in ft_var_load_item_variation_store()
[all …]
Dttobjs.c128 if ( FT_NEW_ARRAY( zone->org, maxPoints ) || in tt_glyphzone_new()
129 FT_NEW_ARRAY( zone->cur, maxPoints ) || in tt_glyphzone_new()
130 FT_NEW_ARRAY( zone->orus, maxPoints ) || in tt_glyphzone_new()
131 FT_NEW_ARRAY( zone->tags, maxPoints ) || in tt_glyphzone_new()
132 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
1105 if ( FT_NEW_ARRAY( size->function_defs, size->max_function_defs ) || in tt_size_init_bytecode()
1106 FT_NEW_ARRAY( size->instruction_defs, size->max_instruction_defs ) || in tt_size_init_bytecode()
1107 FT_NEW_ARRAY( size->cvt, size->cvt_size ) || in tt_size_init_bytecode()
1108 FT_NEW_ARRAY( size->storage, size->storage_size ) ) in tt_size_init_bytecode()
Dttpload.c348 if ( FT_NEW_ARRAY( face->cvt, face->cvt_size ) ) in tt_face_load_cvt()
585 if ( FT_NEW_ARRAY( face->hdmx_record_sizes, num_records ) ) in tt_face_load_hdmx()
/external/freetype/src/pcf/
Dpcfread.c131 if ( FT_NEW_ARRAY( face->toc.tables, toc->count ) ) in pcf_read_TOC()
544 if ( FT_NEW_ARRAY( props, nprops ) ) in pcf_get_properties()
611 if ( FT_NEW_ARRAY( strings, string_size + 1 ) ) in pcf_get_properties()
618 if ( FT_NEW_ARRAY( properties, nprops ) ) in pcf_get_properties()
766 if ( FT_NEW_ARRAY( face->metrics, nmetrics ) ) in pcf_get_metrics()
874 if ( FT_NEW_ARRAY( offsets, nbitmaps ) ) in pcf_get_bitmaps()
1019 if ( FT_NEW_ARRAY( encoding, nencoding ) ) in pcf_get_encodings()
1519 if ( FT_NEW_ARRAY( root->family_name, l ) ) in pcf_load_font()
1528 if ( FT_NEW_ARRAY( root->family_name, l ) ) in pcf_load_font()
1552 if ( FT_NEW_ARRAY( root->available_sizes, 1 ) ) in pcf_load_font()
/external/freetype/src/cff/
Dcffload.c360 if ( FT_NEW_ARRAY( idx->offsets, idx->count + 1 ) || in cff_index_load_offsets()
431 !FT_NEW_ARRAY( t, idx->count + 1 ) && in cff_index_get_pointers()
846 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) in cff_charset_compute_cids()
929 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1022 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1040 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1058 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) ) in cff_charset_load()
1166 if ( FT_NEW_ARRAY( dataOffsetArray, vstore->dataCount ) ) in cff_vstore_load()
1181 if ( FT_NEW_ARRAY( vstore->varRegionList, vstore->regionCount ) ) in cff_vstore_load()
1189 if ( FT_NEW_ARRAY( region->axisList, vstore->axisCount ) ) in cff_vstore_load()
[all …]
/external/freetype/src/base/
Dftsnames.c69 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name()
125 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag()
Dftoutln.c320 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || in FT_Outline_New_Internal()
321 FT_NEW_ARRAY( anoutline->tags, numPoints ) || in FT_Outline_New_Internal()
322 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
Dfthash.c146 if ( FT_NEW_ARRAY( hash->table, hash->size ) ) in hash_rehash()
Dftrfork.c260 if ( FT_NEW_ARRAY( ref, *count ) ) in FT_Raccess_Get_DataOffsets()
309 if ( FT_NEW_ARRAY( offsets_internal, *count ) ) in FT_Raccess_Get_DataOffsets()
Dftgloadr.c172 if ( !FT_NEW_ARRAY( loader->base.extra_points, 2 * loader->max_points ) ) in FT_GlyphLoader_CreateExtra()
/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()
947 if ( FT_NEW_ARRAY( map->design_points, num_points * 2 ) ) in parse_blend_design_map()
1417 if ( FT_NEW_ARRAY( encode->char_index, array_size ) || in parse_encoding()
1418 FT_NEW_ARRAY( encode->char_name, array_size ) || in parse_encoding()
2502 if ( FT_NEW_ARRAY( face->buildchar, face->len_buildchar ) ) in T1_Open_Face()
/external/freetype/src/bdf/
Dbdflib.c544 if ( FT_NEW_ARRAY( buf, buf_size ) ) in _bdf_readstream()
862 if ( FT_NEW_ARRAY( p->name, n ) ) in bdf_create_property()
1167 if ( FT_NEW_ARRAY( font->props, 1 ) ) in _bdf_add_property()
1347 if ( FT_NEW_ARRAY( font->glyphs, font->glyphs_size ) ) in _bdf_parse_glyphs()
1423 if ( FT_NEW_ARRAY( p->glyph_name, slen + 1 ) ) in _bdf_parse_glyphs()
1759 if ( FT_NEW_ARRAY( glyph->bitmap, glyph->bytes ) ) in _bdf_parse_glyphs()
2018 if ( FT_NEW_ARRAY( p->font->props, p->cnt ) ) in _bdf_parse_start()
2081 if ( FT_NEW_ARRAY( p->font->name, slen + 1 ) ) in _bdf_parse_start()
Dbdfdrivr.c433 if ( FT_NEW_ARRAY( bdfface->available_sizes, 1 ) ) in BDF_Face_Init()
599 if ( FT_NEW_ARRAY( face->en_table, font->glyphs_size ) ) in BDF_Face_Init()
/external/freetype/src/cid/
Dcidload.c286 if ( FT_NEW_ARRAY( cid->font_dicts, num_dicts ) ) in parse_fd_array()
524 if ( FT_NEW_ARRAY( face->subrs, cid->num_dicts ) ) in cid_read_subrs()
589 if ( FT_NEW_ARRAY( subr->code, num_subrs + 1 ) || in cid_read_subrs()
/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/pshinter/
Dpshalgo.c186 if ( FT_NEW_ARRAY( table->sort, 2 * count ) || in psh_hint_table_init()
187 FT_NEW_ARRAY( table->hints, count ) || in psh_hint_table_init()
188 FT_NEW_ARRAY( table->zones, 2 * count + 1 ) ) in psh_hint_table_init()
1170 if ( FT_NEW_ARRAY( glyph->points, outline->n_points ) || in psh_glyph_init()
1171 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1809 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.c332 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init()
/external/freetype/include/freetype/internal/
Dftmemory.h333 #define FT_NEW_ARRAY( ptr, count ) \ macro
/external/freetype/src/cache/
Dftccache.c345 (void)FT_NEW_ARRAY( cache->buckets, FTC_HASH_INITIAL_SIZE * 2 ); in ftc_cache_init()

12