/external/sfntly/cpp/src/sfntly/table/core/ |
D | maximum_profile_table.cc | 30 return data_->ReadUShort(Offset::kNumGlyphs); in NumGlyphs() 34 return data_->ReadUShort(Offset::kMaxPoints); in MaxPoints() 38 return data_->ReadUShort(Offset::kMaxContours); in MaxContours() 42 return data_->ReadUShort(Offset::kMaxCompositePoints); in MaxCompositePoints() 46 return data_->ReadUShort(Offset::kMaxCompositeContours); in MaxCompositeContours() 50 return data_->ReadUShort(Offset::kMaxZones); in MaxZones() 54 return data_->ReadUShort(Offset::kMaxTwilightPoints); in MaxTwilightPoints() 58 return data_->ReadUShort(Offset::kMaxStorage); in MaxStorage() 62 return data_->ReadUShort(Offset::kMaxFunctionDefs); in MaxFunctionDefs() 66 return data_->ReadUShort(Offset::kMaxStackElements); in MaxStackElements() [all …]
|
D | os2_table.cc | 106 return data_->ReadUShort(Offset::kVersion); in TableVersion() 114 return data_->ReadUShort(Offset::kUsWeightClass); in UsWeightClass() 118 return data_->ReadUShort(Offset::kUsWidthClass); in UsWidthClass() 122 return data_->ReadUShort(Offset::kFsType); in FsType() 200 return data_->ReadUShort(Offset::kFsSelection); in FsSelection() 204 return data_->ReadUShort(Offset::kUsFirstCharIndex); in UsFirstCharIndex() 208 return data_->ReadUShort(Offset::kUsLastCharIndex); in UsLastCharIndex() 224 return data_->ReadUShort(Offset::kUsWinAscent); in UsWinAscent() 228 return data_->ReadUShort(Offset::kUsWinDescent); in UsWinDescent() 248 return data_->ReadUShort(Offset::kUsDefaultChar); in UsDefaultChar() [all …]
|
D | horizontal_header_table.cc | 42 return data_->ReadUShort(Offset::kAdvanceWidthMax); in AdvanceWidthMax() 74 return data_->ReadUShort(Offset::kNumberOfHMetrics); in NumberOfHMetrics() 142 return InternalReadData()->ReadUShort(Offset::kAdvanceWidthMax); in AdvanceWidthMax() 174 return InternalReadData()->ReadUShort(Offset::kCaretSlopeRise); in CaretSlopeRise() 182 return InternalReadData()->ReadUShort(Offset::kCaretSlopeRun); in CaretSlopeRun() 190 return InternalReadData()->ReadUShort(Offset::kCaretOffset); in CaretOffset() 198 return InternalReadData()->ReadUShort(Offset::kMetricDataFormat); in MetricDataFormat() 206 return InternalReadData()->ReadUShort(Offset::kNumberOfHMetrics); in NumberOfHMetrics()
|
D | cmap_table.cc | 107 return data_->ReadUShort(Offset::kVersion); in Version() 111 return data_->ReadUShort(Offset::kNumTables); in NumCMaps() 119 return data_->ReadUShort(Offset::kEncodingRecordPlatformId + in PlatformId() 124 return data_->ReadUShort(Offset::kEncodingRecordEncodingId + in EncodingId() 251 int32_t format = data->ReadUShort(offset); in GetBuilder() 400 data->ReadUShort(offset + Offset::kFormat0Length)))); in NewInstance() 414 data->ReadUShort(offset + Offset::kFormat0Length)))); in NewInstance() 495 int p = data_->ReadUShort(p_location); in GlyphId() 520 return data_->ReadUShort(Offset::kFormat2SubHeaderKeys + in SubHeaderOffset() 526 return data_->ReadUShort(sub_header_offset + in FirstCode() [all …]
|
D | font_header_table.cc | 42 return data_->ReadUShort(Offset::kFlags); in FlagsAsInt() 46 return data_->ReadUShort(Offset::kUnitsPerEm); in UnitsPerEm() 58 return data_->ReadUShort(Offset::kXMin); in XMin() 62 return data_->ReadUShort(Offset::kYMin); in YMin() 66 return data_->ReadUShort(Offset::kXMax); in XMax() 70 return data_->ReadUShort(Offset::kYMax); in YMax() 74 return data_->ReadUShort(Offset::kMacStyle); in MacStyleAsInt() 78 return data_->ReadUShort(Offset::kLowestRecPPEM); in LowestRecPPEM()
|
D | name_table.cc | 441 return data_->ReadUShort(Offset::kFormat); in Format() 445 return data_->ReadUShort(Offset::kCount); in NameCount() 449 return data_->ReadUShort(Offset::kNameRecordPlatformId + in PlatformId() 454 return data_->ReadUShort(Offset::kNameRecordEncodingId + in EncodingId() 459 return data_->ReadUShort(Offset::kNameRecordLanguageId + in LanguageId() 464 return data_->ReadUShort(Offset::kNameRecordNameId + in NameId() 557 return data_->ReadUShort(Offset::kStringOffset); in StringOffset() 565 return data_->ReadUShort(Offset::kNameRecordStringLength + in NameLength() 570 return data_->ReadUShort(Offset::kNameRecordStringOffset + in NameOffset()
|
D | horizontal_device_metrics_table.cc | 26 return data_->ReadUShort(Offset::kVersion); in Version()
|
D | horizontal_metrics_table.cc | 43 return data_->ReadUShort(offset); in HMetricAdvanceWidth()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table.cc | 72 data_->ReadUShort(EblcTable::Offset::kIndexSubHeader_indexFormat); in IndexSubTable() 74 data_->ReadUShort(EblcTable::Offset::kIndexSubHeader_imageFormat); in IndexSubTable() 152 data->ReadUShort(index_sub_table_entry_offset + in CreateBuilder() 155 data->ReadUShort(index_sub_table_entry_offset + in CreateBuilder() 162 int32_t index_format = data->ReadUShort(index_sub_table_offset); in CreateBuilder() 271 data->ReadUShort(EblcTable::Offset::kIndexSubHeader_indexFormat); in Initialize() 273 data->ReadUShort(EblcTable::Offset::kIndexSubHeader_imageFormat); in Initialize()
|
D | index_sub_table_format4.cc | 41 return data_->ReadUShort(EblcTable::Offset::kIndexSubTable4_glyphArray + in GlyphStartOffset() 57 return data_->ReadUShort( in GlyphLength() 61 data_->ReadUShort( in GlyphLength() 298 int32_t glyph_code = data->ReadUShort(offset + in Initialize() 300 int32_t glyph_offset = data->ReadUShort(offset + in Initialize()
|
D | composite_bitmap_glyph.cc | 33 return data_->ReadUShort(num_components_offset_); in NumComponents() 41 data_->ReadUShort(component_offset + Offset::kEbdtComponent_glyphCode), in GetComponent()
|
D | bitmap_size_table.cc | 56 return data_->ReadUShort(EblcTable::Offset::kBitmapSizeTable_startGlyphIndex); in StartGlyphIndex() 60 return data_->ReadUShort(EblcTable::Offset::kBitmapSizeTable_endGlyphIndex); in EndGlyphIndex() 294 return InternalReadData()->ReadUShort( in StartGlyphIndex() 299 return InternalReadData()->ReadUShort( in EndGlyphIndex()
|
D | index_sub_table_format3.cc | 66 data_->ReadUShort(EblcTable::Offset::kIndexSubTable3_offsetArray + in Loca() 246 offset_array_.push_back(data->ReadUShort( in Initialize()
|
D | index_sub_table_format5.cc | 293 glyph_array_.push_back(data->ReadUShort( in Initialize()
|
/external/sfntly/cpp/src/sfntly/ |
D | font.cc | 498 num_tables_ = is->ReadUShort(); in ReadHeader() 499 search_range_ = is->ReadUShort(); in ReadHeader() 500 entry_selector_ = is->ReadUShort(); in ReadHeader() 501 range_shift_ = is->ReadUShort(); in ReadHeader() 523 num_tables_ = fd->ReadUShort(offset + Offset::kNumTables); in ReadHeader() 524 search_range_ = fd->ReadUShort(offset + Offset::kSearchRange); in ReadHeader() 525 entry_selector_ = fd->ReadUShort(offset + Offset::kEntrySelector); in ReadHeader() 526 range_shift_ = fd->ReadUShort(offset + Offset::kRangeShift); in ReadHeader()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | readable_font_data.cc | 97 int32_t ReadableFontData::ReadUShort(int32_t index) { in ReadUShort() function in sfntly::ReadableFontData 209 return ReadUShort(index); in ReadFUFWord() 238 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort() 244 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort() 267 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort()
|
D | font_input_stream.h | 78 virtual int32_t ReadUShort();
|
D | font_input_stream.cc | 106 int32_t FontInputStream::ReadUShort() { in ReadUShort() function in sfntly::FontInputStream
|
D | readable_font_data.h | 111 virtual int32_t ReadUShort(int32_t index);
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
D | glyph_table.cc | 373 instruction_size_ = data_->ReadUShort(Offset::kSimpleEndPtsOfCountours + in Initialize() 483 return data_->ReadUShort(contour * DataSize::kUSHORT + in ContourEndPoint() 527 return data_->ReadUShort(contour_index_[contour]); in Flags() 537 return data_->ReadUShort(DataSize::kUSHORT + contour_index_[contour]); in GlyphIndex() 560 flags = data_->ReadUShort(index); in Initialize() 581 instruction_size_ = data_->ReadUShort(index); in Initialize()
|
D | loca_table.cc | 62 return 2 * data_->ReadUShort(index * DataSize::kUSHORT); in Loca()
|
/external/sfntly/cpp/src/test/ |
D | endian_test.cc | 47 EXPECT_EQ(rfd->ReadUShort(8), 24); in TestEndian()
|
D | open_type_data_test.cc | 37 EXPECT_EQ(65281, data->ReadUShort(0)); in TestOTFRead()
|