Home
last modified time | relevance | path

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

/external/freetype/src/gxvalid/
Dgxvcommn.c257 gxv_BinSrchHeader_check_consistency( GXV_BinSrchHeader* binSrchHeader, in gxv_BinSrchHeader_check_consistency() argument
265 if ( binSrchHeader->unitSize == 0 ) in gxv_BinSrchHeader_check_consistency()
268 if ( binSrchHeader->nUnits == 0 ) in gxv_BinSrchHeader_check_consistency()
270 if ( binSrchHeader->searchRange == 0 && in gxv_BinSrchHeader_check_consistency()
271 binSrchHeader->entrySelector == 0 && in gxv_BinSrchHeader_check_consistency()
272 binSrchHeader->rangeShift == 0 ) in gxv_BinSrchHeader_check_consistency()
279 ( searchRange * 2 ) <= binSrchHeader->nUnits && in gxv_BinSrchHeader_check_consistency()
285 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
286 rangeShift = (FT_UShort)( binSrchHeader->nUnits * binSrchHeader->unitSize in gxv_BinSrchHeader_check_consistency()
289 if ( searchRange != binSrchHeader->searchRange || in gxv_BinSrchHeader_check_consistency()
[all …]