Home
last modified time | relevance | path

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

/external/freetype/src/gxvalid/
Dgxvcommn.c258 gxv_BinSrchHeader_check_consistency( GXV_BinSrchHeader* binSrchHeader, in gxv_BinSrchHeader_check_consistency() argument
266 if ( binSrchHeader->unitSize == 0 ) in gxv_BinSrchHeader_check_consistency()
269 if ( binSrchHeader->nUnits == 0 ) in gxv_BinSrchHeader_check_consistency()
271 if ( binSrchHeader->searchRange == 0 && in gxv_BinSrchHeader_check_consistency()
272 binSrchHeader->entrySelector == 0 && in gxv_BinSrchHeader_check_consistency()
273 binSrchHeader->rangeShift == 0 ) in gxv_BinSrchHeader_check_consistency()
280 ( searchRange * 2 ) <= binSrchHeader->nUnits && in gxv_BinSrchHeader_check_consistency()
286 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
287 rangeShift = (FT_UShort)( binSrchHeader->nUnits * binSrchHeader->unitSize in gxv_BinSrchHeader_check_consistency()
290 if ( searchRange != binSrchHeader->searchRange || in gxv_BinSrchHeader_check_consistency()
[all …]