Home
last modified time | relevance | path

Searched refs:idRangeOffset (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java57 int idRangeOffset = this.idRangeOffset(segment); in retrieveGlyphId() local
58 if (idRangeOffset == 0) { in retrieveGlyphId()
62 idRangeOffset + this.idRangeOffsetLocation(segment) + 2 * (character - startCode)); in retrieveGlyphId()
130 private static int idRangeOffset(ReadableFontData data, int segCount, int index) { in idRangeOffset() method in CMapFormat4
131 int idRangeOffset = in idRangeOffset() local
133 return idRangeOffset; in idRangeOffset()
184 public int idRangeOffset(int segment) { in idRangeOffset() method in CMapFormat4
282 private int idRangeOffset; field in CMapFormat4.Builder.Segment
288 this(other.startCount, other.endCount, other.idDelta, other.idRangeOffset); in Segment()
291 public Segment(int startCount, int endCount, int idDelta, int idRangeOffset) { in Segment() argument
[all …]
DCMapFormat2.java45 private int idRangeOffset(int subHeaderIndex) { in idRangeOffset() method in CMapFormat2
47 int idRangeOffset = this.data.readUShort(subHeaderOffset + Offset.format2SubHeaderKeys.offset in idRangeOffset() local
49 return idRangeOffset; in idRangeOffset()
102 int idRangeOffset = idRangeOffset(highByte); in glyphId() local
106 int pLocation = (offset + Offset.format2SubHeader_idRangeOffset.offset) + idRangeOffset in glyphId()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java57 int idRangeOffset = this.idRangeOffset(segment); in retrieveGlyphId() local
58 if (idRangeOffset == 0) { in retrieveGlyphId()
62 idRangeOffset + this.idRangeOffsetLocation(segment) + 2 * (character - startCode)); in retrieveGlyphId()
130 private static int idRangeOffset(ReadableFontData data, int segCount, int index) { in idRangeOffset() method in CMapFormat4
131 int idRangeOffset = in idRangeOffset() local
133 return idRangeOffset; in idRangeOffset()
184 public int idRangeOffset(int segment) { in idRangeOffset() method in CMapFormat4
282 private int idRangeOffset; field in CMapFormat4.Builder.Segment
288 this(other.startCount, other.endCount, other.idDelta, other.idRangeOffset); in Segment()
291 public Segment(int startCount, int endCount, int idDelta, int idRangeOffset) { in Segment() argument
[all …]
DCMapFormat2.java45 private int idRangeOffset(int subHeaderIndex) { in idRangeOffset() method in CMapFormat2
47 int idRangeOffset = this.data.readUShort(subHeaderOffset + Offset.format2SubHeaderKeys.offset in idRangeOffset() local
49 return idRangeOffset; in idRangeOffset()
102 int idRangeOffset = idRangeOffset(highByte); in glyphId() local
106 int pLocation = (offset + Offset.format2SubHeader_idRangeOffset.offset) + idRangeOffset in glyphId()
/third_party/flutter/skia/third_party/externals/sfntly/doc/
DSfntlyCPlusPlusNotes.md49 segment) and an **`idRangeOffset`** (offset into glyphIdArray or 0).
51 `idDelta` and `idRangeOffset` seem to be the same thing, offsets. In
52 fact, `idRangeOffset` uses the glyph array to get the index by relying
53 on the fact that the array is immediately after the `idRangeOffset`
54 table in the font file. So, the segment’s offset is `idRangeOffset[i]`
55 but since the `idRangeOffset` table contains words and not bytes, the
59 glyphIndex = *(&idRangeOffset[i] + idRangeOffset[i] / 2 + (c - startCode[i]))
63 `idRangeOffset[i] = 0`, in which case it is added directly to the
/third_party/skia/third_party/externals/sfntly/doc/
DSfntlyCPlusPlusNotes.md49 segment) and an **`idRangeOffset`** (offset into glyphIdArray or 0).
51 `idDelta` and `idRangeOffset` seem to be the same thing, offsets. In
52 fact, `idRangeOffset` uses the glyph array to get the index by relying
53 on the fact that the array is immediately after the `idRangeOffset`
54 table in the font file. So, the segment’s offset is `idRangeOffset[i]`
55 but since the `idRangeOffset` table contains words and not bytes, the
59 glyphIndex = *(&idRangeOffset[i] + idRangeOffset[i] / 2 + (c - startCode[i]))
63 `idRangeOffset[i] = 0`, in which case it is added directly to the
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DCMapTableBuilder.java133 int idRangeOffset; in buildCMapFormat4() local
135 idRangeOffset = 0; in buildCMapFormat4()
137 idRangeOffset = (idOffset - i) * FontData.DataSize.USHORT.size(); in buildCMapFormat4()
142 segment.idDelta(), idRangeOffset)); in buildCMapFormat4()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DCMapTableBuilder.java133 int idRangeOffset; in buildCMapFormat4() local
135 idRangeOffset = 0; in buildCMapFormat4()
137 idRangeOffset = (idOffset - i) * FontData.DataSize.USHORT.size(); in buildCMapFormat4()
142 segment.idDelta(), idRangeOffset)); in buildCMapFormat4()
/third_party/harfbuzz/src/
Dhb-ot-cmap-table.hh215 HBUINT16 *idRangeOffset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segcount); in serialize_rangeoffset_glyid() local
216 if (unlikely (!c->check_success (idRangeOffset))) return nullptr; in serialize_rangeoffset_glyid()
217 …if (unlikely ((char *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_si… in serialize_rangeoffset_glyid()
223 idRangeOffset[i] = 2 * (c->start_embed<HBUINT16> () - idRangeOffset - i); in serialize_rangeoffset_glyid()
239 return idRangeOffset; in serialize_rangeoffset_glyid()
276 …HBUINT16 *idRangeOffset = serialize_rangeoffset_glyid (c, format4_iter, endCode, startCode, idDelt… in serialize() local
277 if (unlikely (!c->check_success (idRangeOffset))) return; in serialize()
302 idRangeOffset = idDelta + segCount; in init()
303 glyphIdArray = idRangeOffset + segCount; in init()
333 unsigned int rangeOffset = this->idRangeOffset[i]; in get_glyph()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cmap-table.hh224 HBUINT16 *idRangeOffset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segcount); in serialize_rangeoffset_glyid() local
225 if (unlikely (!c->check_success (idRangeOffset))) return nullptr; in serialize_rangeoffset_glyid()
226 …if (unlikely ((char *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_si… in serialize_rangeoffset_glyid()
231 idRangeOffset[i] = 2 * (c->start_embed<HBUINT16> () - idRangeOffset - i); in serialize_rangeoffset_glyid()
240 return idRangeOffset; in serialize_rangeoffset_glyid()
277 …HBUINT16 *idRangeOffset = serialize_rangeoffset_glyid (c, format4_iter, endCode, startCode, idDelt… in serialize() local
278 if (unlikely (!c->check_success (idRangeOffset))) return; in serialize()
316 idRangeOffset = idDelta + segCount; in init()
317 glyphIdArray = idRangeOffset + segCount; in init()
347 unsigned int rangeOffset = this->idRangeOffset[i]; in get_glyph()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cmap-table.hh238 idRangeOffset = idDelta + segCount; in init()
239 glyphIdArray = idRangeOffset + segCount; in init()
268 unsigned int rangeOffset = this->idRangeOffset[i]; in get_glyph()
299 unsigned int rangeOffset = this->idRangeOffset[i]; in collect_unicodes()
323 const HBUINT16 *idRangeOffset; member
381 HBUINT16 idRangeOffset[segCount];/* Offsets into glyphIdArray or 0 */
/third_party/icu/icu4c/source/samples/layout/
Dsfnt.h80 le_uint16 idRangeOffset; member
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h80 le_uint16 idRangeOffset; member
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h80 le_uint16 idRangeOffset; member
/third_party/icu/icu4c/source/test/perf/leperf/
DFontObject.h77 le_uint16 idRangeOffset; member
Dsfnt.h106 le_uint16 idRangeOffset; member
/third_party/icu/icu4c/source/test/letest/
DFontObject.h73 le_uint16 idRangeOffset; member
Dsfnt.h102 le_uint16 idRangeOffset; member
/third_party/harfbuzz/perf/texts/
Den-words.txt5076 idRangeOffset
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt5076 idRangeOffset
/third_party/chromium/patch/
D0001-cve.patch33418 glyphIdArray = idRangeOffset + segCount;