Home
last modified time | relevance | path

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

/third_party/freetype/src/gxvalid/
Dgxvcommn.c247 FT_UShort unitSize; member
265 if ( binSrchHeader->unitSize == 0 ) in gxv_BinSrchHeader_check_consistency()
285 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
286 rangeShift = (FT_UShort)( binSrchHeader->nUnits * binSrchHeader->unitSize in gxv_BinSrchHeader_check_consistency()
297 binSrchHeader->unitSize, binSrchHeader->nUnits, in gxv_BinSrchHeader_check_consistency()
303 binSrchHeader->unitSize, binSrchHeader->nUnits, in gxv_BinSrchHeader_check_consistency()
342 binSrchHeader.unitSize = FT_NEXT_USHORT( p ); in gxv_BinSrchHeader_validate()
345 binSrchHeader.unitSize = *unitSize_p; in gxv_BinSrchHeader_validate()
364 *unitSize_p = binSrchHeader.unitSize; in gxv_BinSrchHeader_validate()
474 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'
/third_party/flutter/skia/third_party/externals/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'
/third_party/skia/third_party/externals/freetype/src/gxvalid/
Dgxvcommn.c247 FT_UShort unitSize; member
265 if ( binSrchHeader->unitSize == 0 ) in gxv_BinSrchHeader_check_consistency()
285 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
286 rangeShift = (FT_UShort)( binSrchHeader->nUnits * binSrchHeader->unitSize in gxv_BinSrchHeader_check_consistency()
297 binSrchHeader->unitSize, binSrchHeader->nUnits, in gxv_BinSrchHeader_check_consistency()
303 binSrchHeader->unitSize, binSrchHeader->nUnits, in gxv_BinSrchHeader_check_consistency()
342 binSrchHeader.unitSize = FT_NEXT_USHORT( p ); in gxv_BinSrchHeader_validate()
345 binSrchHeader.unitSize = *unitSize_p; in gxv_BinSrchHeader_validate()
364 *unitSize_p = binSrchHeader.unitSize; in gxv_BinSrchHeader_validate()
474 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'
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-open-type.hh915 HBUINT16 unitSize; /* Size of a lookup unit for this search in bytes. */ member
943 …const HBUINT16 *words = &StructAtOffset<HBUINT16> (&bytesZ, (header.nUnits - 1) * header.unitSize); in last_is_terminator()
955 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
961 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
966 { return header.static_size + header.nUnits * header.unitSize; } in get_size()
984 unsigned int size = header.unitSize; in bsearch()
1003 Type::static_size <= header.unitSize && in sanitize_shallow()
1006 header.unitSize)); in sanitize_shallow()
/third_party/harfbuzz/src/
Dhb-open-type.hh1003 HBUINT16 unitSize; /* Size of a lookup unit for this search in bytes. */ member
1031 …const HBUINT16 *words = &StructAtOffset<HBUINT16> (&bytesZ, (header.nUnits - 1) * header.unitSize); in last_is_terminator()
1043 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
1049 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
1054 { return header.static_size + header.nUnits * header.unitSize; } in get_size()
1077 header.unitSize, in bsearch()
1079 ? (const Type *) (((const char *) &bytesZ) + (pos * header.unitSize)) in bsearch()
1088 Type::static_size <= header.unitSize && in sanitize_shallow()
1091 header.unitSize)); in sanitize_shallow()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-open-type.hh1015 HBUINT16 unitSize; /* Size of a lookup unit for this search in bytes. */ member
1043 …const HBUINT16 *words = &StructAtOffset<HBUINT16> (&bytesZ, (header.nUnits - 1) * header.unitSize); in last_is_terminator()
1055 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
1061 return StructAtOffset<Type> (&bytesZ, i * header.unitSize); in operator []()
1066 { return header.static_size + header.nUnits * header.unitSize; } in get_size()
1089 header.unitSize, in bsearch()
1091 ? (const Type *) (((const char *) &bytesZ) + (pos * header.unitSize)) in bsearch()
1100 Type::static_size <= header.unitSize && in sanitize_shallow()
1103 header.unitSize)); in sanitize_shallow()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp1147 auto unitSize = (indexType == VK_INDEX_TYPE_UINT16 ? sizeof(uint16_t) : sizeof(uint32_t)); in getIndexBufferForElementArrayBuffer() local
1148 size_t allocateBytes = unitSize * (indexCount + 1) + 1; in getIndexBufferForElementArrayBuffer()
1159 {sourceOffset, *bufferOffsetOut, unitCount * unitSize}, in getIndexBufferForElementArrayBuffer()
1160 {sourceOffset, *bufferOffsetOut + unitCount * unitSize, unitSize}, in getIndexBufferForElementArrayBuffer()
1163 copies.push_back({sourceOffset, *bufferOffsetOut + (unitCount + 1) * unitSize, 1}); in getIndexBufferForElementArrayBuffer()
1183 auto unitSize = (indexType == VK_INDEX_TYPE_UINT16 ? sizeof(uint16_t) : sizeof(uint32_t)); in streamIndices() local
1190 size_t allocateBytes = unitSize * numOutIndices; in streamIndices()
1216 memcpy(indices, srcPtr, unitSize * indexCount); in streamIndices()
1217 memcpy(indices + unitSize * indexCount, srcPtr, unitSize); in streamIndices()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp3424 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in getIndexBufferForElementArrayBuffer() local
3425 size_t allocateBytes = unitSize * (indexCount + 1) + 1; in getIndexBufferForElementArrayBuffer()
3439 {sourceOffset, *bufferOffsetOut, unitCount * unitSize}, in getIndexBufferForElementArrayBuffer()
3440 {sourceOffset, *bufferOffsetOut + unitCount * unitSize, unitSize}, in getIndexBufferForElementArrayBuffer()
3465 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in streamIndices() local
3475 size_t allocateBytes = unitSize * numOutIndices; in streamIndices()
3502 memcpy(indices, srcPtr, unitSize * indexCount); in streamIndices()
3503 memcpy(indices + unitSize * indexCount, srcPtr, unitSize); in streamIndices()
3522 size_t unitSize = contextVk->getVkIndexTypeSize(glIndexType); in streamIndicesIndirect() local
3523 size_t allocateBytes = static_cast<size_t>(indexBuffer->getSize() + unitSize); in streamIndicesIndirect()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dreldatefmt.cpp584 … int32_t unitSize = static_cast<int32_t>(uprv_strlen(key)) - styleSuffixLength(style); in put() local
585 genericUnit = unitOrNegativeFromString(key, unitSize); in put()
/third_party/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()
/third_party/node/deps/icu-small/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/harfbuzz/perf/texts/
Den-words.txt11406 unitSize
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt11406 unitSize