Home
last modified time | relevance | path

Searched refs:ReadUByte (Results 1 – 7 of 7) sorted by relevance

/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc60 int32_t ReadableFontData::ReadUByte(int32_t index) { in ReadUByte() function in sfntly::ReadableFontData
90 return ReadUByte(index); in ReadChar()
94 return 0xffff & (ReadUByte(index) << 8 | ReadUByte(index + 1)); in ReadUShort()
98 return ((ReadByte(index) << 8 | ReadUByte(index + 1)) << 16) >> 16; in ReadShort()
102 return 0xffffff & (ReadUByte(index) << 16 | in ReadUInt24()
103 ReadUByte(index + 1) << 8 | in ReadUInt24()
104 ReadUByte(index + 2)); in ReadUInt24()
108 return 0xffffffffL & (ReadUByte(index) << 24 | in ReadULong()
109 ReadUByte(index + 1) << 16 | in ReadULong()
110 ReadUByte(index + 2) << 8 | in ReadULong()
[all …]
Dreadable_font_data.h75 virtual int32_t ReadUByte(int32_t index);
/external/sfntly/cpp/src/sfntly/table/core/
Dhorizontal_device_metrics_table.cc44 return data_->ReadUByte(Offset::kRecords + record_index * RecordSize() + in PixelSize()
55 return data_->ReadUByte(Offset::kRecords + record_index * RecordSize() + in MaxWidth()
68 return data_->ReadUByte(Offset::kRecords + record_index * RecordSize() + in Width()
Dcmap_table.cc351 return data_->ReadUByte(character + Offset::kFormat0GlyphIdArray); in GlyphId()
/external/sfntly/cpp/src/test/
Dendian_test.cc44 EXPECT_EQ(rfd->ReadUByte(4), 202); in TestEndian()
Dopen_type_data_test.cc35 EXPECT_EQ(0xff, data->ReadUByte(0)); in TestOTFRead()
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc454 data_->ReadUByte(x_coordinates_offset_ + x_byte_index); in ParseData()
477 data_->ReadUByte(y_coordinates_offset_ + y_byte_index); in ParseData()
501 return data_->ReadUByte(flags_offset_ + index * DataSize::kBYTE); in FlagAsInt()