Home
last modified time | relevance | path

Searched refs:ReadableFontData (Results 1 – 25 of 77) sorted by relevance

1234

/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.cc29 ReadableFontData::ReadableFontData(ByteArray* array) in ReadableFontData() function in sfntly::ReadableFontData
35 ReadableFontData::~ReadableFontData() {} in ~ReadableFontData()
41 ReadableFontData* ReadableFontData::CreateReadableFontData(ByteVector* b) { in CreateReadableFontData()
45 ReadableFontDataPtr wfd = new ReadableFontData(ba); in CreateReadableFontData()
49 int64_t ReadableFontData::Checksum() { in Checksum()
57 void ReadableFontData::SetCheckSumRanges(const IntegerList& ranges) { in SetCheckSumRanges()
62 int32_t ReadableFontData::ReadUByte(int32_t index) { in ReadUByte()
74 int32_t ReadableFontData::ReadByte(int32_t index) { in ReadByte()
86 int32_t ReadableFontData::ReadBytes(int32_t index, in ReadBytes()
93 int32_t ReadableFontData::ReadChar(int32_t index) { in ReadChar()
[all …]
Dreadable_font_data.h48 class ReadableFontData : public FontData,
49 public RefCounted<ReadableFontData> {
51 explicit ReadableFontData(ByteArray* array);
52 virtual ~ReadableFontData();
60 static CALLER_ATTACH ReadableFontData* CreateReadableFontData(ByteVector* b);
280 ReadableFontData(ReadableFontData* data, int32_t offset);
287 ReadableFontData(ReadableFontData* data, int32_t offset, int32_t length);
311 typedef Ptr<ReadableFontData> ReadableFontDataPtr;
/external/sfntly/cpp/src/sfntly/table/
Dsubtable.h38 Builder(WritableFontData* data, ReadableFontData* master_data);
39 Builder(ReadableFontData* data, ReadableFontData* master_data);
41 explicit Builder(ReadableFontData* data);
43 ReadableFontData* master_read_data() { return master_data_; } in master_read_data()
57 SubTable(ReadableFontData* data, ReadableFontData* master_data);
61 explicit SubTable(ReadableFontData* data);
63 ReadableFontData* master_read_data() { return master_data_; } in master_read_data()
Dsubtable.cc25 SubTable::SubTable(ReadableFontData* data, ReadableFontData* master_data) in SubTable()
30 SubTable::SubTable(ReadableFontData* data) in SubTable()
45 ReadableFontData* master_data) in Builder()
50 SubTable::Builder::Builder(ReadableFontData* data, in Builder()
51 ReadableFontData* master_data) in Builder()
60 SubTable::Builder::Builder(ReadableFontData* data) in Builder()
Dfont_data_table.h42 virtual void SetData(ReadableFontData* data);
48 ReadableFontData* InternalReadData();
76 Builder(ReadableFontData* data);
86 SubBuildTable(ReadableFontData* data) = 0;
90 void InternalSetData(ReadableFontData* data, bool data_changed);
99 explicit FontDataTable(ReadableFontData* data);
103 ReadableFontData* ReadFontData();
Dfont_data_table.cc27 FontDataTable::FontDataTable(ReadableFontData* data) { in FontDataTable()
33 ReadableFontData* FontDataTable::ReadFontData() { in ReadFontData()
75 void FontDataTable::Builder::SetData(ReadableFontData* data) { in SetData()
112 ReadableFontData* FontDataTable::Builder::InternalReadData() { in InternalReadData()
114 static_cast<ReadableFontData*>(w_data_.p_); in InternalReadData()
158 FontDataTable::Builder::Builder(ReadableFontData* data) in Builder()
183 void FontDataTable::Builder::InternalSetData(ReadableFontData* data, in InternalSetData()
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.h57 explicit Builder(ReadableFontData* data);
61 ReadableFontData* data);
64 ReadableFontData* data,
78 ReadableFontData* data,
91 virtual ReadableFontData* Instructions() = 0;
96 Glyph(ReadableFontData* data, int32_t glyph_type);
101 static int32_t GlyphType(ReadableFontData* data,
115 Builder(Header* header, ReadableFontData* data);
143 CALLER_ATTACH Glyph::Builder* GlyphBuilder(ReadableFontData* data);
146 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
[all …]
Dglyph_table.cc58 GlyphTable::GlyphTable(Header* header, ReadableFontData* data) in GlyphTable()
65 GlyphTable::Builder::Builder(Header* header, ReadableFontData* data) in Builder()
113 GlyphTable::Builder::GlyphBuilder(ReadableFontData* data) { in GlyphBuilder()
118 GlyphTable::Builder::SubBuildTable(ReadableFontData* data) { in SubBuildTable()
160 void GlyphTable::Builder::Initialize(ReadableFontData* data, in Initialize()
209 ReadableFontData* data, in GetGlyph()
217 sliced_data.Attach(down_cast<ReadableFontData*>(data->Slice(offset, length))); in GetGlyph()
256 GlyphTable::Glyph::Glyph(ReadableFontData* data, int32_t glyph_type) in Glyph()
267 int32_t GlyphTable::Glyph::GlyphType(ReadableFontData* data, in GlyphType()
290 GlyphTable::Glyph::Builder::Builder(ReadableFontData* data) in Builder()
[all …]
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h126 GetBuilder(ReadableFontData* data,
142 Builder(ReadableFontData* data,
177 CMap(ReadableFontData* data, int32_t format, const CMapId& cmap_id);
222 CALLER_ATTACH static Builder* NewInstance(ReadableFontData* data,
233 SubBuildTable(ReadableFontData* data);
238 Builder(ReadableFontData* data, int32_t offset, const CMapId& cmap_id);
262 CMapFormat0(ReadableFontData* data, const CMapId& cmap_id);
274 Builder(ReadableFontData* data,
284 SubBuildTable(ReadableFontData* data);
309 CMapFormat2(ReadableFontData* data, const CMapId& cmap_id);
[all …]
Dcmap_table.cc54 CMapTable::CMapTable(Header* header, ReadableFontData* data) in CMapTable()
233 CMapTable::CMap::CMap(ReadableFontData* data, int32_t format, in CMap()
248 CMapTable::CMap::Builder::GetBuilder(ReadableFontData* data, int32_t offset, in GetBuilder()
300 CMapTable::CMap::Builder::Builder(ReadableFontData* data, in Builder()
354 CMapTable::CMapFormat0::CMapFormat0(ReadableFontData* data, in CMapFormat0()
407 CMapTable::CMapFormat0::Builder::NewInstance(ReadableFontData* data, in NewInstance()
412 rdata.Attach(down_cast<ReadableFontData*>( in NewInstance()
434 ReadableFontData* data, in Builder()
442 : CMap::Builder(reinterpret_cast<ReadableFontData*>(NULL), in Builder()
451 CMapTable::CMapFormat0::Builder::SubBuildTable(ReadableFontData* data) { in SubBuildTable()
[all …]
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_size_table.h56 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
63 ReadableFontData* master_data);
64 static CALLER_ATTACH Builder* CreateBuilder(ReadableFontData* data,
65 ReadableFontData* master_data);
113 Builder(WritableFontData* data, ReadableFontData* master_data);
114 Builder(ReadableFontData* data, ReadableFontData* master_data);
121 void Initialize(ReadableFontData* data);
151 BitmapSizeTable(ReadableFontData* data,
152 ReadableFontData* master_data);
155 static int32_t NumberOfIndexSubTables(ReadableFontData* data,
Dindex_sub_table_format3.h49 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
58 static CALLER_ATTACH Builder* CreateBuilder(ReadableFontData* data,
75 Builder(ReadableFontData* data,
79 void Initialize(ReadableFontData* data);
81 static int32_t DataLength(ReadableFontData* data,
95 static int32_t GetDataLength(ReadableFontData* data,
101 IndexSubTableFormat3(ReadableFontData* data,
Dindex_sub_table_format1.h50 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
61 static CALLER_ATTACH Builder* CreateBuilder(ReadableFontData* data,
78 Builder(ReadableFontData* data,
82 void Initialize(ReadableFontData* data);
84 static int32_t DataLength(ReadableFontData* data,
98 static int32_t GetDataLength(ReadableFontData* data,
104 IndexSubTableFormat1(ReadableFontData* data,
Dindex_sub_table_format5.h49 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
62 static CALLER_ATTACH Builder* CreateBuilder(ReadableFontData* data,
78 Builder(ReadableFontData* data,
83 void Initialize(ReadableFontData* data);
85 static int32_t DataLength(ReadableFontData* data,
103 IndexSubTableFormat5(ReadableFontData* data,
107 static int32_t NumGlyphs(ReadableFontData* dta, int32_t table_offset);
Dindex_sub_table_format4.h75 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
85 static CALLER_ATTACH Builder* CreateBuilder(ReadableFontData* data,
98 Builder(ReadableFontData* data,
102 void Initialize(ReadableFontData* data);
105 static int32_t DataLength(ReadableFontData* data,
120 IndexSubTableFormat4(ReadableFontData* data,
125 static int32_t NumGlyphs(ReadableFontData* data, int32_t table_offset);
Dbitmap_glyph.cc28 CALLER_ATTACH BitmapGlyph* BitmapGlyph::CreateGlyph(ReadableFontData* data, in CreateGlyph()
39 BitmapGlyph::BitmapGlyph(ReadableFontData* data, int32_t format) in BitmapGlyph()
50 BitmapGlyph::Builder::CreateGlyphBuilder(ReadableFontData* data, in CreateGlyphBuilder()
75 BitmapGlyph::Builder::Builder(ReadableFontData* data, int32_t format) in Builder()
80 FontDataTable* BitmapGlyph::Builder::SubBuildTable(ReadableFontData* data) { in SubBuildTable()
Debdt_table.h42 Builder(Header* header, ReadableFontData* data);
49 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
82 ReadableFontData* data);
86 static void Initialize(ReadableFontData* data,
101 EbdtTable(Header* header, ReadableFontData* data);
Dbitmap_glyph.h79 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
87 static CALLER_ATTACH Builder* CreateGlyphBuilder(ReadableFontData* data,
92 Builder(ReadableFontData* data, int32_t format);
100 static CALLER_ATTACH BitmapGlyph* CreateGlyph(ReadableFontData* data,
107 BitmapGlyph(ReadableFontData* data, int32_t format);
Deblc_table.h133 Builder(Header* header, ReadableFontData* data);
140 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
159 ReadableFontData* data);
163 void Initialize(ReadableFontData* data, BitmapSizeTableBuilderList* output);
178 EblcTable(Header* header, ReadableFontData* data);
183 static void CreateBitmapSizeTable(ReadableFontData* data,
Dindex_sub_table_format3.cc49 int32_t IndexSubTableFormat3::GetDataLength(ReadableFontData* data, in GetDataLength()
58 IndexSubTableFormat3::IndexSubTableFormat3(ReadableFontData* data, in IndexSubTableFormat3()
126 IndexSubTableFormat3::Builder::CreateBuilder(ReadableFontData* data, in CreateBuilder()
135 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder()
168 ReadableFontData* data) { in SubBuildTable()
202 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize()
227 IndexSubTableFormat3::Builder::Builder(ReadableFontData* data, in Builder()
241 void IndexSubTableFormat3::Builder::Initialize(ReadableFontData* data) { in Initialize()
255 ReadableFontData* data, in DataLength()
Dindex_sub_table_format2.h50 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
61 static CALLER_ATTACH Builder* CreateBuilder(ReadableFontData* data,
74 Builder(ReadableFontData* data,
78 static int32_t DataLength(ReadableFontData* data,
96 IndexSubTableFormat2(ReadableFontData* data, int32_t first, int32_t last);
Dindex_sub_table_format1.cc26 int32_t IndexSubTableFormat1::GetDataLength(ReadableFontData* data, in GetDataLength()
58 IndexSubTableFormat1::IndexSubTableFormat1(ReadableFontData* data, in IndexSubTableFormat1()
113 IndexSubTableFormat1::Builder::CreateBuilder(ReadableFontData* data, in CreateBuilder()
122 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder()
156 ReadableFontData* data) { in SubBuildTable()
190 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize()
231 IndexSubTableFormat1::Builder::Builder(ReadableFontData* data, in Builder()
245 void IndexSubTableFormat1::Builder::Initialize(ReadableFontData* data) { in Initialize()
259 ReadableFontData* data, in DataLength()
Dindex_sub_table.h86 CreateBuilder(ReadableFontData* data,
93 virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data);
108 Builder(ReadableFontData* data,
122 void Initialize(ReadableFontData* data);
144 CreateIndexSubTable(ReadableFontData* data,
153 IndexSubTable(ReadableFontData* data,
Dindex_sub_table_format5.cc64 data.Attach(down_cast<ReadableFontData*>(data_->Slice( in BigMetrics()
71 IndexSubTableFormat5::IndexSubTableFormat5(ReadableFontData* data, in IndexSubTableFormat5()
80 int32_t IndexSubTableFormat5::NumGlyphs(ReadableFontData* data, in NumGlyphs()
133 IndexSubTableFormat5::Builder::CreateBuilder(ReadableFontData* data, in CreateBuilder()
142 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder()
175 ReadableFontData* data) { in SubBuildTable()
206 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize()
274 IndexSubTableFormat5::Builder::Builder(ReadableFontData* data, in Builder()
288 void IndexSubTableFormat5::Builder::Initialize(ReadableFontData* data) { in Initialize()
302 ReadableFontData* data, in DataLength()
/external/sfntly/cpp/src/test/
Dfont_data_test.cc81 ReadableFontData*
143 void ReadFontDataWithSingleByte(ReadableFontData* rfd, ByteVector* buffer) { in ReadFontDataWithSingleByte()
150 void ReadFontDataWithBuffer(ReadableFontData* rfd, in ReadFontDataWithBuffer()
165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, in ReadFontDataWithSlidingWindow()
179 void WriteFontDataWithSingleByte(ReadableFontData* rfd, WritableFontData* wfd) { in WriteFontDataWithSingleByte()
186 void WriteFontDataWithBuffer(ReadableFontData* rfd, in WriteFontDataWithBuffer()
198 void WriteFontDataWithSlidingWindow(ReadableFontData* rfd, in WriteFontDataWithSlidingWindow()
213 ReadableFontData* rfd1, in ReadComparison()
214 ReadableFontData* rfd2) { in ReadComparison()
254 void SlicingReadTest(ReadableFontData* rfd) { in SlicingReadTest()
[all …]

1234