Home
last modified time | relevance | path

Searched refs:segCount (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java19 private final int segCount; field in CMapFormat4
25 this.segCount = this.data.readUShort(Offset.format4SegCountX2.offset) / 2; in CMapFormat4()
26 this.glyphIdArrayOffset = glyphIdArrayOffset(this.segCount); in CMapFormat4()
31 int segment = this.data.searchUShort(CMapFormat4.startCodeOffset(this.segCount), in glyphId()
35 this.segCount, in glyphId()
75 return segCount; in getSegCount()
86 return startCode(this.data, this.segCount, segment); in startCode()
94 private static int segCount(ReadableFontData data) { in segCount() method in CMapFormat4
95 int segCount = data.readUShort(Offset.format4SegCountX2.offset) / 2; in segCount() local
96 return segCount; in segCount()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java19 private final int segCount; field in CMapFormat4
25 this.segCount = this.data.readUShort(Offset.format4SegCountX2.offset) / 2; in CMapFormat4()
26 this.glyphIdArrayOffset = glyphIdArrayOffset(this.segCount); in CMapFormat4()
31 int segment = this.data.searchUShort(CMapFormat4.startCodeOffset(this.segCount), in glyphId()
35 this.segCount, in glyphId()
75 return segCount; in getSegCount()
86 return startCode(this.data, this.segCount, segment); in startCode()
94 private static int segCount(ReadableFontData data) { in segCount() method in CMapFormat4
95 int segCount = data.readUShort(Offset.format4SegCountX2.offset) / 2; in segCount() local
96 return segCount; in segCount()
[all …]
/third_party/flutter/txt/src/minikin/
DCmapCoverage.cpp67 size_t segCount = readU16(data, kSegCountOffset) >> 1; in getCoverageFormat4() local
68 if (kHeaderSize + segCount * kSegmentSize > size) { in getCoverageFormat4()
71 for (size_t i = 0; i < segCount; i++) { in getCoverageFormat4()
73 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4()
79 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4()
81 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4()
94 kHeaderSize + 6 * segCount + rangeOffset + (i + j - start) * 2; in getCoverageFormat4()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DCmapCoverage.cpp67 size_t segCount = readU16(data, kSegCountOffset) >> 1; in getCoverageFormat4() local
68 if (kHeaderSize + segCount * kSegmentSize > size) { in getCoverageFormat4()
71 for (size_t i = 0; i < segCount; i++) { in getCoverageFormat4()
73 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4()
79 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4()
81 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4()
94 kHeaderSize + 6 * segCount + rangeOffset + (i + j - start) * 2; in getCoverageFormat4()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cmap-table.hh234 segCount = subtable->segCountX2 / 2; in init()
236 startCount = endCount + segCount + 1; in init()
237 idDelta = startCount + segCount; in init()
238 idRangeOffset = idDelta + segCount; in init()
239 glyphIdArray = idRangeOffset + segCount; in init()
240 glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2; in init()
247 int min = 0, max = (int) this->segCount - 1; in get_glyph()
274 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
294 unsigned int count = this->segCount; in collect_unicodes()
308 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in collect_unicodes()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dcmaps.cpp119 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper() local
124 fStartCodes = &header->endCodes[segCount + 1]; // + 1 for reservedPad... in CMAPFormat4Mapper()
125 fIdDelta = &fStartCodes[segCount]; in CMAPFormat4Mapper()
126 fIdRangeOffset = &fIdDelta[segCount]; in CMAPFormat4Mapper()
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
Dcmaps.cpp119 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper() local
124 fStartCodes = &header->endCodes[segCount + 1]; // + 1 for reservedPad... in CMAPFormat4Mapper()
125 fIdDelta = &fStartCodes[segCount]; in CMAPFormat4Mapper()
126 fIdRangeOffset = &fIdDelta[segCount]; in CMAPFormat4Mapper()
/third_party/icu/icu4c/source/samples/layout/
Dcmaps.cpp119 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper() local
124 fStartCodes = &header->endCodes[segCount + 1]; // + 1 for reservedPad... in CMAPFormat4Mapper()
125 fIdDelta = &fStartCodes[segCount]; in CMAPFormat4Mapper()
126 fIdRangeOffset = &fIdDelta[segCount]; in CMAPFormat4Mapper()
/third_party/icu/icu4c/source/test/letest/
Dcmaps.cpp159 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper() local
164 fStartCodes = &header->endCodes[segCount + 1]; // + 1 for reservedPad... in CMAPFormat4Mapper()
165 fIdDelta = &fStartCodes[segCount]; in CMAPFormat4Mapper()
166 fIdRangeOffset = &fIdDelta[segCount]; in CMAPFormat4Mapper()
/third_party/icu/icu4c/source/test/perf/leperf/
Dcmaps.cpp160 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper() local
165 fStartCodes = &header->endCodes[segCount + 1]; // + 1 for reservedPad... in CMAPFormat4Mapper()
166 fIdDelta = &fStartCodes[segCount]; in CMAPFormat4Mapper()
167 fIdRangeOffset = &fIdDelta[segCount]; in CMAPFormat4Mapper()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cmap-table.hh312 segCount = subtable->segCountX2 / 2; in init()
314 startCount = endCount + segCount + 1; in init()
315 idDelta = startCount + segCount; in init()
316 idRangeOffset = idDelta + segCount; in init()
317 glyphIdArray = idRangeOffset + segCount; in init()
318 glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2; in init()
338 this->segCount, in get_glyph()
341 this->segCount + 1); in get_glyph()
353 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
373 unsigned int count = this->segCount; in collect_unicodes()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-cmap-table.hh298 segCount = subtable->segCountX2 / 2; in init()
300 startCount = endCount + segCount + 1; in init()
301 idDelta = startCount + segCount; in init()
302 idRangeOffset = idDelta + segCount; in init()
303 glyphIdArray = idRangeOffset + segCount; in init()
304 glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2; in init()
324 this->segCount, in get_glyph()
327 this->segCount + 1); in get_glyph()
339 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
359 unsigned int count = this->segCount; in collect_unicodes()
[all …]
/third_party/skia/src/utils/
DSkDashPath.cpp307 int segCount = 0; in InternalFilter() local
396 ++segCount; in InternalFilter()
428 ++segCount; in InternalFilter()
433 if (segCount > 1) { in InternalFilter()
/third_party/flutter/skia/src/utils/
DSkDashPath.cpp302 int segCount = 0; in InternalFilter() local
391 ++segCount; in InternalFilter()
423 ++segCount; in InternalFilter()
427 if (segCount > 1) { in InternalFilter()
/third_party/harfbuzz/perf/texts/
Den-words.txt9617 segCount
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt9617 segCount
/third_party/chromium/patch/
D0001-cve.patch33418 glyphIdArray = idRangeOffset + segCount;
33419 glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2;