Home
last modified time | relevance | path

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

/external/freetype/src/sfnt/
Dttcmap.c838 FT_UInt num_segs; in tt_cmap4_validate() local
862 num_segs = TT_NEXT_USHORT( p ); /* read segCountX2 */ in tt_cmap4_validate()
867 if ( num_segs & 1 ) in tt_cmap4_validate()
871 num_segs /= 2; in tt_cmap4_validate()
873 if ( length < 16 + num_segs * 2 * 4 ) in tt_cmap4_validate()
894 if ( search_range > num_segs || in tt_cmap4_validate()
895 search_range * 2 < num_segs || in tt_cmap4_validate()
896 search_range + range_shift != num_segs || in tt_cmap4_validate()
902 starts = table + 16 + num_segs * 2; in tt_cmap4_validate()
903 deltas = starts + num_segs * 2; in tt_cmap4_validate()
[all …]
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.c838 FT_UInt num_segs; in tt_cmap4_validate() local
862 num_segs = TT_NEXT_USHORT( p ); /* read segCountX2 */ in tt_cmap4_validate()
867 if ( num_segs & 1 ) in tt_cmap4_validate()
871 num_segs /= 2; in tt_cmap4_validate()
873 if ( length < 16 + num_segs * 2 * 4 ) in tt_cmap4_validate()
894 if ( search_range > num_segs || in tt_cmap4_validate()
895 search_range * 2 < num_segs || in tt_cmap4_validate()
896 search_range + range_shift != num_segs || in tt_cmap4_validate()
902 starts = table + 16 + num_segs * 2; in tt_cmap4_validate()
903 deltas = starts + num_segs * 2; in tt_cmap4_validate()
[all …]
/external/sfntly/cpp/src/sample/subtly/
Dfont_assembler.cc126 for (int32_t i = 0, num_segs = segment_list->size(); i < num_segs; ++i) { in AssembleCMapTable() local
129 + (num_segs - i + 1) * DataSize::kSHORT); in AssembleCMapTable()