Home
last modified time | relevance | path

Searched refs:p_limit (Results 1 – 5 of 5) sorted by relevance

/external/freetype/src/sfnt/
Dttkern.c50 FT_Byte* p_limit; in tt_face_load_kern() local
78 p_limit = p + table_size; in tt_face_load_kern()
93 if ( p + 6 > p_limit ) in tt_face_load_kern()
107 if ( p_next > p_limit ) /* handle broken table */ in tt_face_load_kern()
108 p_next = p_limit; in tt_face_load_kern()
194 FT_Byte* p_limit = p + face->kern_table_size; in tt_face_get_kerning() local
201 count > 0 && p + 6 <= p_limit; in tt_face_get_kerning()
217 if ( next > p_limit ) /* handle broken table */ in tt_face_get_kerning()
218 next = p_limit; in tt_face_get_kerning()
Dttsbit.c1117 FT_Byte* p_limit; in tt_sbit_decoder_load_bitmap() local
1134 p_limit = p + glyph_size; in tt_sbit_decoder_load_bitmap()
1143 error = tt_sbit_decoder_load_metrics( decoder, &p, p_limit, 0 ); in tt_sbit_decoder_load_bitmap()
1150 error = tt_sbit_decoder_load_metrics( decoder, &p, p_limit, 1 ); in tt_sbit_decoder_load_bitmap()
1194 byte_size == (FT_UInt)( p_limit - p ) ) in tt_sbit_decoder_load_bitmap()
1206 if ( p + 1 > p_limit ) in tt_sbit_decoder_load_bitmap()
1243 error = loader( decoder, p, p_limit, x_pos, y_pos, recurse_count ); in tt_sbit_decoder_load_bitmap()
1263 FT_Byte* p_limit = decoder->eblc_limit; in tt_sbit_decoder_load_image() local
1297 if ( image_offset > (FT_ULong)( p_limit - p ) ) in tt_sbit_decoder_load_image()
1301 if ( p + 8 > p_limit ) in tt_sbit_decoder_load_image()
[all …]
/external/freetype/src/truetype/
Dttpload.c203 FT_Byte* p_limit; in tt_face_get_location() local
213 p_limit = face->glyph_locations + face->num_locations * 4; in tt_face_get_location()
218 if ( p + 4 <= p_limit ) in tt_face_get_location()
224 p_limit = face->glyph_locations + face->num_locations * 2; in tt_face_get_location()
229 if ( p + 2 <= p_limit ) in tt_face_get_location()
/external/freetype/src/cff/
Dcffload.c779 FT_Byte* p_limit = p + fdselect->data_size; in cff_fd_select_get() local
805 } while ( p < p_limit ); in cff_fd_select_get()
/external/freetype/
DChangeLog.24644 Use a safe form `n > p_limit - p' instead.
647 `num_glyphs > ( p_limit - p ) / 2' rather than `num_glyphs * 2'