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.cc106 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 …]
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.cc441 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()
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/
Dfont.cc498 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/
Dreadable_font_data.cc97 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()
Dfont_input_stream.h78 virtual int32_t ReadUShort();
Dfont_input_stream.cc106 int32_t FontInputStream::ReadUShort() { in ReadUShort() function in sfntly::FontInputStream
Dreadable_font_data.h111 virtual int32_t ReadUShort(int32_t index);
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc373 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()
Dloca_table.cc62 return 2 * data_->ReadUShort(index * DataSize::kUSHORT); in Loca()
/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()