Home
last modified time | relevance | path

Searched refs:WriteUShort (Results 1 – 19 of 19) sorted by relevance

/external/sfntly/cpp/src/sfntly/table/core/
Dmaximum_profile_table.cc118 InternalWriteData()->WriteUShort(Offset::kVersion, version); in SetTableVersion()
126 InternalWriteData()->WriteUShort(Offset::kNumGlyphs, num_glyphs); in SetNumGlyphs()
134 InternalWriteData()->WriteUShort(Offset::kMaxPoints, max_points); in SetMaxPoints()
142 InternalWriteData()->WriteUShort(Offset::kMaxContours, max_contours); in SetMaxContours()
151 InternalWriteData()->WriteUShort(Offset::kMaxCompositePoints, in SetMaxCompositePoints()
161 InternalWriteData()->WriteUShort(Offset::kMaxCompositeContours, in SetMaxCompositeContours()
170 InternalWriteData()->WriteUShort(Offset::kMaxZones, max_zones); in SetMaxZones()
179 InternalWriteData()->WriteUShort(Offset::kMaxTwilightPoints, in SetMaxTwilightPoints()
188 InternalWriteData()->WriteUShort(Offset::kMaxStorage, max_storage); in SetMaxStorage()
197 InternalWriteData()->WriteUShort(Offset::kMaxFunctionDefs, max_function_defs); in SetMaxFunctionDefs()
[all …]
Dhorizontal_header_table.cc146 InternalWriteData()->WriteUShort(Offset::kAdvanceWidthMax, value); in SetAdvanceWidthMax()
178 InternalWriteData()->WriteUShort(Offset::kCaretSlopeRise, value); in SetCaretSlopeRise()
186 InternalWriteData()->WriteUShort(Offset::kCaretSlopeRun, value); in SetCaretSlopeRun()
194 InternalWriteData()->WriteUShort(Offset::kCaretOffset, value); in SetCaretOffset()
202 InternalWriteData()->WriteUShort(Offset::kMetricDataFormat, value); in SetMetricDataFormat()
210 InternalWriteData()->WriteUShort(Offset::kNumberOfHMetrics, value); in SetNumberOfHMetrics()
Dos2_table.cc295 InternalWriteData()->WriteUShort(Offset::kVersion, version); in SetTableVersion()
311 InternalWriteData()->WriteUShort(Offset::kUsWeightClass, weight); in SetUsWeightClass()
319 InternalWriteData()->WriteUShort(Offset::kUsWidthClass, width); in SetUsWidthClass()
327 InternalWriteData()->WriteUShort(Offset::kFsType, fs_type); in SetFsType()
495 InternalWriteData()->WriteUShort(Offset::kFsSelection, fs_selection); in SetFsSelection()
503 InternalWriteData()->WriteUShort(Offset::kUsFirstCharIndex, first_index); in SetUsFirstCharIndex()
511 InternalWriteData()->WriteUShort(Offset::kUsLastCharIndex, last_index); in SetUsLastCharIndex()
543 InternalWriteData()->WriteUShort(Offset::kUsWinAscent, ascent); in SetUsWinAscent()
551 InternalWriteData()->WriteUShort(Offset::kUsWinDescent, descent); in SetUsWinDescent()
591 InternalWriteData()->WriteUShort(Offset::kUsDefaultChar, default_char); in SetUsDefaultChar()
[all …]
Dcmap_table.cc1071 index += new_data->WriteUShort(index, CMapFormat::kFormat4); in SubSerialize()
1073 index += new_data->WriteUShort(index, language()); in SubSerialize()
1076 index += new_data->WriteUShort(index, seg_count * 2); in SubSerialize()
1079 index += new_data->WriteUShort(index, search_range); in SubSerialize()
1081 index += new_data->WriteUShort(index, entry_selector); in SubSerialize()
1083 index += new_data->WriteUShort(index, range_shift); in SubSerialize()
1086 index += new_data->WriteUShort(index, segments_[i]->end_count()); in SubSerialize()
1088 index += new_data->WriteUShort(index, 0); // reserved ushort in SubSerialize()
1093 index += new_data->WriteUShort(index, segments_[i]->start_count()); in SubSerialize()
1099 index += new_data->WriteUShort(index, segments_[i]->id_range_offset()); in SubSerialize()
[all …]
Dname_table.cc371 new_data->WriteUShort(NameTable::Offset::kFormat, 0); in SubSerialize()
372 new_data->WriteUShort(NameTable::Offset::kCount, name_entry_map_.size()); in SubSerialize()
373 new_data->WriteUShort(NameTable::Offset::kStringOffset, in SubSerialize()
383 new_data->WriteUShort( in SubSerialize()
386 new_data->WriteUShort( in SubSerialize()
389 new_data->WriteUShort( in SubSerialize()
392 new_data->WriteUShort( in SubSerialize()
396 new_data->WriteUShort( in SubSerialize()
399 new_data->WriteUShort( in SubSerialize()
Dfont_header_table.cc158 InternalWriteData()->WriteUShort(Offset::kFlags, flags); in SetFlagsAsInt()
166 InternalWriteData()->WriteUShort(Offset::kUnitsPerEm, units); in SetUnitsPerEm()
222 InternalWriteData()->WriteUShort(Offset::kMacStyle, style); in SetMacStyleAsInt()
230 InternalWriteData()->WriteUShort(Offset::kLowestRecPPEM, size); in SetLowestRecPPEM()
/external/sfntly/cpp/src/sfntly/data/
Dfont_output_stream.cc81 void FontOutputStream::WriteUShort(int32_t us) { in WriteUShort() function in sfntly::FontOutputStream
87 WriteUShort(s); in WriteShort()
Dwritable_font_data.cc108 int32_t WritableFontData::WriteUShort(int32_t index, int32_t us) { in WriteUShort() function in sfntly::WritableFontData
121 return WriteUShort(index, s); in WriteShort()
Dfont_output_stream.h56 virtual void WriteUShort(int32_t us);
Dwritable_font_data.h113 virtual int32_t WriteUShort(int32_t index, int32_t us);
/external/sfntly/cpp/src/test/
Dendian_test.cc61 fos.WriteUShort(24); in TestEndian()
Dfont_data_test.cc92 wfd->WriteUShort(offset, lower_data[i]); in FillTestFontDataWithShortsForSearching()
99 wfd->WriteUShort(offset, upper_data[i]); in FillTestFontDataWithShortsForSearching()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table.cc260 data->WriteUShort(EblcTable::Offset::kIndexSubHeader_indexFormat, in SerializeIndexSubHeader()
262 size += data->WriteUShort(EblcTable::Offset::kIndexSubHeader_imageFormat, in SerializeIndexSubHeader()
Deblc_table.cc154 index_sub_table_array_offset += new_data->WriteUShort( in SubSerialize()
157 index_sub_table_array_offset += new_data->WriteUShort( in SubSerialize()
Dindex_sub_table_format4.cc247 size += new_data->WriteUShort(size, b->glyph_code()); in SubSerialize()
248 size += new_data->WriteUShort(size, b->offset()); in SubSerialize()
Dindex_sub_table_format3.cc210 size += new_data->WriteUShort(size, *b); in SubSerialize()
Dindex_sub_table_format5.cc220 size += new_data->WriteUShort(size, *b); in SubSerialize()
/external/sfntly/cpp/src/sfntly/
Dfont.cc122 fos->WriteUShort(table_headers->size()); in SerializeHeader()
125 fos->WriteUShort(search_range); in SerializeHeader()
126 fos->WriteUShort(log2_of_max_power_of_2); in SerializeHeader()
127 fos->WriteUShort((table_headers->size() * 16) - search_range); in SerializeHeader()
/external/sfntly/cpp/src/sfntly/table/truetype/
Dloca_table.cc196 size += new_data->WriteUShort(size, *l / 2); in SubSerialize()