Home
last modified time | relevance | path

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

/external/freetype/src/sfnt/
Dttkern.c49 FT_Byte* p_limit; in tt_face_load_kern() local
77 p_limit = p + table_size; in tt_face_load_kern()
92 if ( p + 6 > p_limit ) in tt_face_load_kern()
106 if ( p_next > p_limit ) /* handle broken table */ in tt_face_load_kern()
107 p_next = p_limit; in tt_face_load_kern()
193 FT_Byte* p_limit = p + face->kern_table_size; in tt_face_get_kerning() local
200 count > 0 && p + 6 <= p_limit; in tt_face_get_kerning()
216 if ( next > p_limit ) /* handle broken table */ in tt_face_get_kerning()
217 next = p_limit; in tt_face_get_kerning()
Dttsbit.c1116 FT_Byte* p_limit; in tt_sbit_decoder_load_bitmap() local
1133 p_limit = p + glyph_size; in tt_sbit_decoder_load_bitmap()
1142 error = tt_sbit_decoder_load_metrics( decoder, &p, p_limit, 0 ); in tt_sbit_decoder_load_bitmap()
1149 error = tt_sbit_decoder_load_metrics( decoder, &p, p_limit, 1 ); in tt_sbit_decoder_load_bitmap()
1193 byte_size == (FT_UInt)( p_limit - p ) ) in tt_sbit_decoder_load_bitmap()
1205 if ( p + 1 > p_limit ) in tt_sbit_decoder_load_bitmap()
1242 error = loader( decoder, p, p_limit, x_pos, y_pos, recurse_count ); in tt_sbit_decoder_load_bitmap()
1262 FT_Byte* p_limit = decoder->eblc_limit; in tt_sbit_decoder_load_image() local
1296 if ( image_offset > (FT_ULong)( p_limit - p ) ) in tt_sbit_decoder_load_image()
1300 if ( p + 8 > p_limit ) in tt_sbit_decoder_load_image()
[all …]
/external/freetype/src/truetype/
Dttpload.c202 FT_Byte* p_limit; in tt_face_get_location() local
212 p_limit = face->glyph_locations + face->num_locations * 4; in tt_face_get_location()
217 if ( p + 4 <= p_limit ) in tt_face_get_location()
223 p_limit = face->glyph_locations + face->num_locations * 2; in tt_face_get_location()
228 if ( p + 2 <= p_limit ) in tt_face_get_location()
/external/freetype/src/cff/
Dcffload.c785 FT_Byte* p_limit = p + fdselect->data_size; in cff_fd_select_get() local
811 } 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'