Home
last modified time | relevance | path

Searched refs:offSize (Results 1 – 6 of 6) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-cff-common.hh86 static unsigned int calculate_offset_array_size (unsigned int offSize, unsigned int count) in calculate_offset_array_size()
87 { return offSize * (count + 1); } in calculate_offset_array_size()
90 { return calculate_offset_array_size (offSize, count); } in offset_array_size()
125 this->offSize = offSize_; in serialize()
168 HBUINT8 *p = offsets + offSize * index + offSize; in set_offset_at()
169 unsigned int size = offSize; in set_offset_at()
181 const HBUINT8 *p = offsets + offSize * index; in offset_at()
182 unsigned int size = offSize; in offset_at()
220 (c->check_struct (this) && offSize >= 1 && offSize <= 4 && in sanitize()
221 c->check_array (offsets, offSize, count + 1) && in sanitize()
[all …]
Dhb-subset-cff1.cc656 offsets.topDictInfo.offSize = calcOffSize(topDictSize); in create()
657 if (unlikely (offsets.topDictInfo.offSize > 4)) in create()
660 (offsets.topDictInfo.offSize, in create()
696 …exInfo.size = acc.stringIndex->calculate_serialized_size (offsets.stringIndexInfo.offSize, sidmap); in create()
728 offsets.globalSubrsInfo.offSize = calcOffSize (dataSize); in create()
729 if (unlikely (offsets.globalSubrsInfo.offSize > 4)) in create()
731 …nfo.size = CFF1Subrs::calculate_serialized_size (offsets.globalSubrsInfo.offSize, subset_globalsub… in create()
751 offsets.localSubrsInfos[fd].offSize = calcOffSize (dataSize); in create()
752 if (unlikely (offsets.localSubrsInfos[fd].offSize > 4)) in create()
754 …size = CFF1Subrs::calculate_serialized_size (offsets.localSubrsInfos[fd].offSize, subset_localsubr… in create()
[all …]
Dhb-subset-cff2.cc321 offsets.globalSubrsInfo.offSize = calcOffSize (dataSize); in create()
322 …nfo.size = CFF2Subrs::calculate_serialized_size (offsets.globalSubrsInfo.offSize, subset_globalsub… in create()
340 offsets.localSubrsInfos[fd].offSize = calcOffSize (dataSize); in create()
341 …size = CFF2Subrs::calculate_serialized_size (offsets.localSubrsInfos[fd].offSize, subset_localsubr… in create()
385 offsets.FDArrayInfo.offSize = calcOffSize (dictsSize); in create()
386 …final_size += CFF2Index::calculate_serialized_size (offsets.FDArrayInfo.offSize, subset_fdcount, d… in create()
393 offsets.charStringsInfo.offSize = calcOffSize (dataSize); in create()
394 …final_size += CFF2CharStrings::calculate_serialized_size (offsets.charStringsInfo.offSize, plan->n… in create()
477 …if (unlikely (!dest->serialize (&c, plan.offsets.globalSubrsInfo.offSize, plan.subset_globalsubrs)… in _write_cff2()
516 if (unlikely (!fda->serialize (&c, plan.offsets.FDArrayInfo.offSize, in _write_cff2()
[all …]
Dhb-ot-cff1-table.hh1311 HBUINT8 offSize; /* offset size (unused?) */ member
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py89 self.offSize = struct.unpack("B", file.read(1))[0]
172 self.offSize = 4 # will most likely change in CFFWriter.toFile().
174 writer.add(struct.pack("B", self.offSize))
239 self.offSize = 4
410 self.offSize = calcOffSize(lastPosList[-1])
411 self.data[1] = struct.pack("B", self.offSize)
424 offSize = 1
426 offSize = 2
428 offSize = 3
430 offSize = 4
[all …]
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp1093 int32_t offSize = 0; in parseSelectCase() local
1114 offSize += 2; in parseSelectCase()
1121 ++offSize; in parseSelectCase()
1148 bld.getI32VectorAttr({1, offSize, toffSize})); in parseSelectCase()
1335 int32_t offSize = 0; in parseSelectType() local
1342 offSize += argSize; in parseSelectType()
1345 bld.getI32VectorAttr({1, 0, offSize})); in parseSelectType()