Home
last modified time | relevance | path

Searched refs:FT_PAD_FLOOR (Results 1 – 4 of 4) sorted by relevance

/external/freetype/include/freetype/internal/
Dftobjs.h87 #define FT_PAD_FLOOR( x, n ) ( (x) & ~FT_TYPEOF( x )( (n)-1 ) ) macro
88 #define FT_PAD_ROUND( x, n ) FT_PAD_FLOOR( (x) + ((n)/2), n )
89 #define FT_PAD_CEIL( x, n ) FT_PAD_FLOOR( (x) + ((n)-1), n )
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftobjs.h87 #define FT_PAD_FLOOR( x, n ) ( (x) & ~FT_TYPEOF( x )( (n)-1 ) ) macro
88 #define FT_PAD_ROUND( x, n ) FT_PAD_FLOOR( (x) + ((n)/2), n )
89 #define FT_PAD_CEIL( x, n ) FT_PAD_FLOOR( (x) + ((n)-1), n )
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.c438 sub = subs + ( FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 8 ) ); in tt_cmap2_get_subheader()
528 charcode = FT_PAD_FLOOR( charcode, 256 ) + char_lo; in tt_cmap2_char_next()
548 charcode = FT_PAD_FLOOR( charcode, 256 ) + 256; in tt_cmap2_char_next()
1052 num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 ); in tt_cmap4_char_map_linear()
1182 num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 ); in tt_cmap4_char_map_binary()
/external/freetype/src/sfnt/
Dttcmap.c440 sub = subs + ( FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 8 ) ); in tt_cmap2_get_subheader()
530 charcode = FT_PAD_FLOOR( charcode, 256 ) + char_lo; in tt_cmap2_char_next()
550 charcode = FT_PAD_FLOOR( charcode, 256 ) + 256; in tt_cmap2_char_next()
1083 num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 ); in tt_cmap4_char_map_linear()
1216 num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 ); in tt_cmap4_char_map_binary()