Searched refs:unitSize (Results 1 – 7 of 7) sorted by relevance
/external/freetype/src/gxvalid/ |
D | gxvcommn.c | 248 FT_UShort unitSize; member 266 if ( binSrchHeader->unitSize == 0 ) 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() 298 binSrchHeader->unitSize, binSrchHeader->nUnits, in gxv_BinSrchHeader_check_consistency() 304 binSrchHeader->unitSize, binSrchHeader->nUnits, in gxv_BinSrchHeader_check_consistency() 343 binSrchHeader.unitSize = FT_NEXT_USHORT( p ); in gxv_BinSrchHeader_validate() 346 binSrchHeader.unitSize = *unitSize_p; in gxv_BinSrchHeader_validate() 365 *unitSize_p = binSrchHeader.unitSize; in gxv_BinSrchHeader_validate() 475 FT_UShort unitSize, in gxv_LookupTable_fmt2_skip_endmarkers() argument [all …]
|
D | gxvkern.c | 179 FT_UShort unitSize; in gxv_kern_subtable_fmt0_validate() local 184 unitSize = 2 + 2 + 2; in gxv_kern_subtable_fmt0_validate() 189 gxv_BinSrchHeader_validate( p, limit, &unitSize, &nPairs, gxvalid ); in gxv_kern_subtable_fmt0_validate()
|
D | README | 232 parameters for real (`unitSize' and `nUnits'), BinSrchHeader has 233 three additional parameters which can be calculated from `unitSize'
|
/external/clang/lib/CodeGen/ |
D | SwiftCallingConv.cpp | 402 static CharUnits getOffsetAtStartOfUnit(CharUnits offset, CharUnits unitSize) { in getOffsetAtStartOfUnit() argument 403 assert(isPowerOf2(unitSize.getQuantity())); in getOffsetAtStartOfUnit() 404 auto unitMask = ~(unitSize.getQuantity() - 1); in getOffsetAtStartOfUnit() 481 CharUnits unitSize = CharUnits::One(); in finish() local 483 for (; ; unitSize *= 2) { in finish() 484 assert(unitSize <= chunkSize); in finish() 485 unitBegin = getOffsetAtStartOfUnit(localBegin, unitSize); in finish() 486 unitEnd = unitBegin + unitSize; in finish() 493 CGM.getContext().toBits(unitSize)); in finish()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 641 def writeBinSearchHeader(writer, numUnits, unitSize): argument 642 writer.writeUShort(unitSize) 645 getSearchRange(n=numUnits, itemSize=unitSize) 678 numUnits, unitSize = len(segments) + 1, valueSize + 4 679 return (2 + self.BIN_SEARCH_HEADER_SIZE + numUnits * unitSize, 2, 685 numUnits, unitSize = len(segments), valueSize + 4 686 self.writeBinSearchHeader(writer, numUnits, unitSize) 699 numUnits, unitSize = len(values), valueSize + 2 700 return (2 + self.BIN_SEARCH_HEADER_SIZE + (numUnits + 1) * unitSize, 6, 706 numUnits, unitSize = len(values), valueSize + 2 [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-open-type.hh | 875 HBUINT16 unitSize; /* Size of a lookup unit for this search in bytes. */ member 903 …const HBUINT16 *words = &StructAtOffset<HBUINT16> (&bytesZ, (header.nUnits - 1) * header.unitSize); in last_is_terminator() 915 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []() 921 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []() 926 { return header.static_size + header.nUnits * header.unitSize; } in get_size() 969 unsigned int size = header.unitSize; in bsearch() 988 Type::static_size <= header.unitSize && in sanitize_shallow() 991 header.unitSize)); in sanitize_shallow()
|
/external/icu/icu4c/source/i18n/ |
D | reldatefmt.cpp | 584 … int32_t unitSize = static_cast<int32_t>(uprv_strlen(key)) - styleSuffixLength(style); in put() local 585 genericUnit = unitOrNegativeFromString(key, unitSize); in put()
|