Home
last modified time | relevance | path

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

/external/icu/icu4c/source/layout/
DKernTable.cpp32 le_uint16 nPairs; member
113 nPairs = SWAPW(table->nPairs); in LE_CORRECT_SIZE()
120 entrySelector = OpenTypeUtilities::highBit(nPairs); in LE_CORRECT_SIZE()
122 rangeShift = (nPairs * KERN_PAIRINFO_SIZE) - searchRange; in LE_CORRECT_SIZE()
125 if(LE_SUCCESS(success) && nPairs>0) { in LE_CORRECT_SIZE()
133 nPairs); // count in LE_CORRECT_SIZE()
137 … fprintf(stderr, "coverage: %0.4x nPairs: %d pairs %p\n", coverage, nPairs, pairs.getAlias()); in LE_CORRECT_SIZE()
142 fprintf(stderr, "coverage: %0.4x nPairs: %d pairs 0x%x\n", coverage, nPairs, pairs); in LE_CORRECT_SIZE()
157 for (i = 0; i < nPairs; ++i) { in LE_CORRECT_SIZE()
DKernTable.h34 le_uint16 nPairs; variable
/external/fonttools/Lib/fontTools/ttLib/tables/
D_k_e_r_n.py102 nPairs, searchRange, entrySelector, rangeShift = struct.unpack(">HHHH", data[:8])
105 for k in range(nPairs):
118 nPairs = len(self.kernTable)
119 searchRange, entrySelector, rangeShift = getSearchRange(nPairs, 6)
120 data = struct.pack(">HHHH", nPairs, searchRange, entrySelector, rangeShift)