Home
last modified time | relevance | path

Searched refs:num_subrs (Results 1 – 15 of 15) sorted by relevance

/external/freetype/src/cid/
Dcidload.c532 FT_UInt count, num_subrs = dict->num_subrs; in cid_read_subrs() local
537 if ( !num_subrs ) in cid_read_subrs()
541 if ( num_subrs + 1 > max_offsets ) in cid_read_subrs()
543 FT_UInt new_max = FT_PAD_CEIL( num_subrs + 1, 4 ); in cid_read_subrs()
560 FT_FRAME_ENTER( ( num_subrs + 1 ) * (FT_UInt)dict->sd_bytes ) ) in cid_read_subrs()
564 for ( count = 0; count <= num_subrs; count++ ) in cid_read_subrs()
570 for ( count = 1; count <= num_subrs; count++ ) in cid_read_subrs()
578 if ( offsets[num_subrs] > stream->size - cid->data_offset ) in cid_read_subrs()
587 data_len = offsets[num_subrs] - offsets[0]; in cid_read_subrs()
589 if ( FT_NEW_ARRAY( subr->code, num_subrs + 1 ) || in cid_read_subrs()
[all …]
Dcidtoken.h72 T1_FIELD_NUM ( "SubrCount", num_subrs, 0 )
Dcidgload.c151 decoder->num_subrs = cid_subrs->num_subrs; in cid_load_glyph()
/external/freetype/src/type1/
Dt1gload.c243 decoder.num_subrs = type1->num_subrs; in T1_Compute_Max_Advance()
321 decoder.num_subrs = type1->num_subrs; in T1_Get_Advances()
430 decoder.num_subrs = type1->num_subrs; in T1_Load_Glyph()
Dt1load.c1610 FT_Int num_subrs; in parse_subrs() local
1630 num_subrs = (FT_Int)T1_ToInt( parser ); in parse_subrs()
1631 if ( num_subrs < 0 ) in parse_subrs()
1639 num_subrs > ( parser->root.limit - parser->root.cursor ) >> 3 ) in parse_subrs()
1658 num_subrs, in parse_subrs()
1660 num_subrs = ( parser->root.limit - parser->root.cursor ) >> 3; in parse_subrs()
1681 if ( !loader->num_subrs ) in parse_subrs()
1683 error = psaux->ps_table_funcs->init( table, num_subrs, memory ); in parse_subrs()
1737 if ( loader->num_subrs ) in parse_subrs()
1775 if ( !loader->num_subrs ) in parse_subrs()
[all …]
Dt1load.h47 FT_Int num_subrs; member
Dt1driver.c339 retval = sizeof ( type1->num_subrs ); in t1_ps_get_font_value()
341 *((FT_Int *)value) = type1->num_subrs; in t1_ps_get_font_value()
364 if ( idx < (FT_UInt)type1->num_subrs ) in t1_ps_get_font_value()
/external/freetype/include/freetype/internal/
Dt1types.h113 FT_Int num_subrs; member
137 FT_Int num_subrs; member
Dpsaux.h963 FT_Int num_subrs; member
/external/freetype/include/freetype/
Dt1tables.h364 FT_UInt num_subrs; member
/external/freetype/src/psaux/
Dcffdecode.c403 FT_UInt num_subrs ) in cff_compute_bias() argument
410 else if ( num_subrs < 1240 ) in cff_compute_bias()
412 else if ( num_subrs < 33900U ) in cff_compute_bias()
Dt1decode.c1452 if ( idx < 0 || idx >= decoder->num_subrs ) in t1_decoder_parse_charstrings()
Dpsobjs.c2438 ps_decoder->num_locals = (FT_UInt)t1_decoder->num_subrs; in ps_decoder_init()
/external/freetype/
DChangeLog.261698 [type1, psaux] Handle large values of num_subrs correctly (#46692).
2566 `fd_bytes', `gd_bytes', `sd_bytes', and `num_subrs'.
DChangeLog.243121 (cid_read_subrs): Protect against invalid values of `num_subrs'.