Home
last modified time | relevance | path

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

/external/freetype/src/gxvalid/
Dgxvcommn.c248 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 …]
Dgxvkern.c179 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()
DREADME232 parameters for real (`unitSize' and `nUnits'), BinSrchHeader has
233 three additional parameters which can be calculated from `unitSize'
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp402 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/
DotConverters.py712 def writeBinSearchHeader(writer, numUnits, unitSize): argument
713 writer.writeUShort(unitSize)
716 getSearchRange(n=numUnits, itemSize=unitSize)
749 numUnits, unitSize = len(segments) + 1, valueSize + 4
750 return (2 + self.BIN_SEARCH_HEADER_SIZE + numUnits * unitSize, 2,
756 numUnits, unitSize = len(segments), valueSize + 4
757 self.writeBinSearchHeader(writer, numUnits, unitSize)
770 numUnits, unitSize = len(values), valueSize + 2
771 return (2 + self.BIN_SEARCH_HEADER_SIZE + (numUnits + 1) * unitSize, 6,
777 numUnits, unitSize = len(values), valueSize + 2
[all …]
/external/llvm-project/clang/lib/CodeGen/
DSwiftCallingConv.cpp421 static CharUnits getOffsetAtStartOfUnit(CharUnits offset, CharUnits unitSize) { in getOffsetAtStartOfUnit() argument
422 assert(isPowerOf2(unitSize.getQuantity())); in getOffsetAtStartOfUnit()
423 auto unitMask = ~(unitSize.getQuantity() - 1); in getOffsetAtStartOfUnit()
534 CharUnits unitSize = CharUnits::One(); in finish() local
536 for (; ; unitSize *= 2) { in finish()
537 assert(unitSize <= chunkSize); in finish()
538 unitBegin = getOffsetAtStartOfUnit(localBegin, unitSize); in finish()
539 unitEnd = unitBegin + unitSize; in finish()
546 CGM.getContext().toBits(unitSize)); in finish()
/external/harfbuzz_ng/src/
Dhb-open-type.hh960 HBUINT16 unitSize; /* Size of a lookup unit for this search in bytes. */ member
988 …const HBUINT16 *words = &StructAtOffset<HBUINT16> (&bytesZ, (header.nUnits - 1) * header.unitSize); in last_is_terminator()
1000 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
1006 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
1011 { return header.static_size + header.nUnits * header.unitSize; } in get_size()
1029 unsigned int size = header.unitSize; in bsearch()
1048 Type::static_size <= header.unitSize && in sanitize_shallow()
1051 header.unitSize)); in sanitize_shallow()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp3166 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in getIndexBufferForElementArrayBuffer() local
3167 size_t allocateBytes = unitSize * (indexCount + 1) + 1; in getIndexBufferForElementArrayBuffer()
3181 {sourceOffset, *bufferOffsetOut, unitCount * unitSize}, in getIndexBufferForElementArrayBuffer()
3182 {sourceOffset, *bufferOffsetOut + unitCount * unitSize, unitSize}, in getIndexBufferForElementArrayBuffer()
3185 copies.push_back({sourceOffset, *bufferOffsetOut + (unitCount + 1) * unitSize, 1}); in getIndexBufferForElementArrayBuffer()
3209 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in streamIndices() local
3219 size_t allocateBytes = unitSize * numOutIndices; in streamIndices()
3246 memcpy(indices, srcPtr, unitSize * indexCount); in streamIndices()
3247 memcpy(indices + unitSize * indexCount, srcPtr, unitSize); in streamIndices()
3266 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in streamIndicesIndirect() local
[all …]
/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp600 … int32_t unitSize = static_cast<int32_t>(uprv_strlen(key)) - styleSuffixLength(style); in put() local
601 genericUnit = unitOrNegativeFromString(key, unitSize); in put()