Home
last modified time | relevance | path

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

/external/freetype/src/sfnt/
Dttcmap.c900 FT_UInt num_segs; in tt_cmap4_validate() local
924 num_segs = TT_NEXT_USHORT( p ); /* read segCountX2 */ in tt_cmap4_validate()
929 if ( num_segs & 1 ) in tt_cmap4_validate()
933 num_segs /= 2; in tt_cmap4_validate()
935 if ( length < 16 + num_segs * 2 * 4 ) in tt_cmap4_validate()
956 if ( search_range > num_segs || in tt_cmap4_validate()
957 search_range * 2 < num_segs || in tt_cmap4_validate()
958 search_range + range_shift != num_segs || in tt_cmap4_validate()
964 starts = table + 16 + num_segs * 2; in tt_cmap4_validate()
965 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()
/external/u-boot/drivers/usb/host/
Dxhci-mem.c302 struct xhci_ring *xhci_ring_alloc(unsigned int num_segs, bool link_trbs) in xhci_ring_alloc() argument
310 if (num_segs == 0) in xhci_ring_alloc()
316 num_segs--; in xhci_ring_alloc()
319 while (num_segs > 0) { in xhci_ring_alloc()
328 num_segs--; in xhci_ring_alloc()
Dxhci.h1021 unsigned int num_segs; member
1264 struct xhci_ring *xhci_ring_alloc(unsigned int num_segs, bool link_trbs);