Home
last modified time | relevance | path

Searched refs:ReadUShort (Results 1 – 23 of 23) sorted by relevance

/external/sfntly/cpp/src/sfntly/table/core/
Dmaximum_profile_table.cc30 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 …]
Dos2_table.cc104 return data_->ReadUShort(Offset::kVersion); in TableVersion()
112 return data_->ReadUShort(Offset::kUsWeightClass); in UsWeightClass()
116 return data_->ReadUShort(Offset::kUsWidthClass); in UsWidthClass()
120 return data_->ReadUShort(Offset::kFsType); in FsType()
198 return data_->ReadUShort(Offset::kFsSelection); in FsSelection()
202 return data_->ReadUShort(Offset::kUsFirstCharIndex); in UsFirstCharIndex()
206 return data_->ReadUShort(Offset::kUsLastCharIndex); in UsLastCharIndex()
222 return data_->ReadUShort(Offset::kUsWinAscent); in UsWinAscent()
226 return data_->ReadUShort(Offset::kUsWinDescent); in UsWinDescent()
246 return data_->ReadUShort(Offset::kUsDefaultChar); in UsDefaultChar()
[all …]
Dhorizontal_header_table.cc42 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()
Dcmap_table.cc107 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 …]
Dfont_header_table.cc42 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()
Dname_table.cc443 return data_->ReadUShort(Offset::kFormat); in Format()
447 return data_->ReadUShort(Offset::kCount); in NameCount()
451 return data_->ReadUShort(Offset::kNameRecordPlatformId + in PlatformId()
456 return data_->ReadUShort(Offset::kNameRecordEncodingId + in EncodingId()
461 return data_->ReadUShort(Offset::kNameRecordLanguageId + in LanguageId()
466 return data_->ReadUShort(Offset::kNameRecordNameId + in NameId()
553 return data_->ReadUShort(Offset::kStringOffset); in StringOffset()
561 return data_->ReadUShort(Offset::kNameRecordStringLength + in NameLength()
566 return data_->ReadUShort(Offset::kNameRecordStringOffset + in NameOffset()
Dhorizontal_device_metrics_table.cc26 return data_->ReadUShort(Offset::kVersion); in Version()
Dhorizontal_metrics_table.cc43 return data_->ReadUShort(offset); in HMetricAdvanceWidth()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table.cc72 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()
Dindex_sub_table_format4.cc41 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()
Dcomposite_bitmap_glyph.cc33 return data_->ReadUShort(num_components_offset_); in NumComponents()
41 data_->ReadUShort(component_offset + Offset::kEbdtComponent_glyphCode), in GetComponent()
Dbitmap_size_table.cc56 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()
Dindex_sub_table_format3.cc66 data_->ReadUShort(EblcTable::Offset::kIndexSubTable3_offsetArray + in Loca()
246 offset_array_.push_back(data->ReadUShort( in Initialize()
Dindex_sub_table_format5.cc293 glyph_array_.push_back(data->ReadUShort( in Initialize()
/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc93 int32_t ReadableFontData::ReadUShort(int32_t index) { in ReadUShort() function in sfntly::ReadableFontData
151 return ReadUShort(index); in ReadFUFWord()
180 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort()
186 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort()
210 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort()
Dfont_input_stream.h78 virtual int32_t ReadUShort();
Dfont_input_stream.cc99 int32_t FontInputStream::ReadUShort() { in ReadUShort() function in sfntly::FontInputStream
Dreadable_font_data.h105 virtual int32_t ReadUShort(int32_t index);
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc395 instruction_size_ = data_->ReadUShort(Offset::kSimpleEndPtsOfCountours + in Initialize()
505 return data_->ReadUShort(contour * DataSize::kUSHORT + in ContourEndPoint()
547 return data_->ReadUShort(contour_index_[contour]); in Flags()
555 return data_->ReadUShort(DataSize::kUSHORT + contour_index_[contour]); in GlyphIndex()
563 return data_->ReadUShort(index); in Argument1()
573 return data_->ReadUShort(index + DataSize::kUSHORT); in Argument2()
627 flags = data_->ReadUShort(index); in Initialize()
645 instruction_size_ = data_->ReadUShort(index); in Initialize()
Dloca_table.cc58 return 2 * data_->ReadUShort(index * DataSize::kUSHORT); in Loca()
/external/sfntly/cpp/src/sfntly/
Dfont.cc484 num_tables_ = is->ReadUShort(); in ReadHeader()
485 search_range_ = is->ReadUShort(); in ReadHeader()
486 entry_selector_ = is->ReadUShort(); in ReadHeader()
487 range_shift_ = is->ReadUShort(); in ReadHeader()
506 num_tables_ = fd->ReadUShort(offset + Offset::kNumTables); in ReadHeader()
507 search_range_ = fd->ReadUShort(offset + Offset::kSearchRange); in ReadHeader()
508 entry_selector_ = fd->ReadUShort(offset + Offset::kEntrySelector); in ReadHeader()
509 range_shift_ = fd->ReadUShort(offset + Offset::kRangeShift); in ReadHeader()
/external/sfntly/cpp/src/test/
Dendian_test.cc47 EXPECT_EQ(rfd->ReadUShort(8), 24); in TestEndian()
Dopen_type_data_test.cc37 EXPECT_EQ(65281, data->ReadUShort(0)); in TestOTFRead()