/external/sfntly/cpp/src/sfntly/table/core/ |
D | maximum_profile_table.cc | 118 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 …]
|
D | horizontal_header_table.cc | 146 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()
|
D | os2_table.cc | 295 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 …]
|
D | cmap_table.cc | 1071 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 …]
|
D | name_table.cc | 371 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()
|
D | font_header_table.cc | 158 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/ |
D | font_output_stream.cc | 81 void FontOutputStream::WriteUShort(int32_t us) { in WriteUShort() function in sfntly::FontOutputStream 87 WriteUShort(s); in WriteShort()
|
D | writable_font_data.cc | 108 int32_t WritableFontData::WriteUShort(int32_t index, int32_t us) { in WriteUShort() function in sfntly::WritableFontData 121 return WriteUShort(index, s); in WriteShort()
|
D | font_output_stream.h | 56 virtual void WriteUShort(int32_t us);
|
D | writable_font_data.h | 113 virtual int32_t WriteUShort(int32_t index, int32_t us);
|
/external/sfntly/cpp/src/test/ |
D | endian_test.cc | 61 fos.WriteUShort(24); in TestEndian()
|
D | font_data_test.cc | 92 wfd->WriteUShort(offset, lower_data[i]); in FillTestFontDataWithShortsForSearching() 99 wfd->WriteUShort(offset, upper_data[i]); in FillTestFontDataWithShortsForSearching()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table.cc | 260 data->WriteUShort(EblcTable::Offset::kIndexSubHeader_indexFormat, in SerializeIndexSubHeader() 262 size += data->WriteUShort(EblcTable::Offset::kIndexSubHeader_imageFormat, in SerializeIndexSubHeader()
|
D | eblc_table.cc | 154 index_sub_table_array_offset += new_data->WriteUShort( in SubSerialize() 157 index_sub_table_array_offset += new_data->WriteUShort( in SubSerialize()
|
D | index_sub_table_format4.cc | 247 size += new_data->WriteUShort(size, b->glyph_code()); in SubSerialize() 248 size += new_data->WriteUShort(size, b->offset()); in SubSerialize()
|
D | index_sub_table_format3.cc | 210 size += new_data->WriteUShort(size, *b); in SubSerialize()
|
D | index_sub_table_format5.cc | 220 size += new_data->WriteUShort(size, *b); in SubSerialize()
|
/external/sfntly/cpp/src/sfntly/ |
D | font.cc | 122 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/ |
D | loca_table.cc | 196 size += new_data->WriteUShort(size, *l / 2); in SubSerialize()
|