Home
last modified time | relevance | path

Searched refs:WritableFontData (Results 1 – 25 of 78) sorted by relevance

1234

/external/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc27 WritableFontData::WritableFontData(ByteArray* ba) : ReadableFontData(ba) { in WritableFontData() function in sfntly::WritableFontData
30 WritableFontData::~WritableFontData() {} in ~WritableFontData()
34 WritableFontData* WritableFontData::CreateWritableFontData(int32_t length) { in CreateWritableFontData()
42 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData()
50 WritableFontData* WritableFontData::CreateWritableFontData(ByteVector* b) { in CreateWritableFontData()
53 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData()
57 int32_t WritableFontData::WriteByte(int32_t index, byte_t b) { in WriteByte()
62 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes()
72 int32_t WritableFontData::WriteBytes(int32_t index, ByteVector* b) { in WriteBytes()
77 int32_t WritableFontData::WriteBytesPad(int32_t index, in WriteBytesPad()
[all …]
Dwritable_font_data.h26 class WritableFontData : public ReadableFontData {
28 explicit WritableFontData(ByteArray* ba);
29 virtual ~WritableFontData();
38 static CALLER_ATTACH WritableFontData* CreateWritableFontData(int32_t length);
45 static CALLER_ATTACH WritableFontData* CreateWritableFontData(ByteVector* b);
199 WritableFontData(WritableFontData* data, int32_t offset);
205 WritableFontData(WritableFontData* data, int32_t offset, int32_t length);
207 typedef Ptr<WritableFontData> WritableFontDataPtr;
/external/sfntly/cpp/src/sfntly/table/
Dfont_data_table.cc45 int32_t FontDataTable::Serialize(WritableFontData* data) { in Serialize()
52 CALLER_ATTACH WritableFontData* FontDataTable::Builder::Data() { in Data()
62 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Data()
66 new_data.Attach(WritableFontData::CreateWritableFontData( in Data()
93 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Build()
117 WritableFontData* FontDataTable::Builder::InternalWriteData() { in InternalWriteData()
120 new_data.Attach(WritableFontData::CreateWritableFontData( in InternalWriteData()
148 w_data_.Attach(WritableFontData::CreateWritableFontData(data_size)); in Builder()
151 FontDataTable::Builder::Builder(WritableFontData* data) in Builder()
173 void FontDataTable::Builder::InternalSetData(WritableFontData* data, in InternalSetData()
Dfont_data_table.h41 CALLER_ATTACH WritableFontData* Data();
49 WritableFontData* InternalWriteData();
75 Builder(WritableFontData* data);
81 virtual int32_t SubSerialize(WritableFontData* new_data) = 0;
89 void InternalSetData(WritableFontData* data, bool data_changed);
113 virtual int32_t Serialize(WritableFontData* data);
Dgeneric_table_builder.h33 CreateBuilder(Header* header, WritableFontData* data);
36 GenericTableBuilder(Header* header, WritableFontData* data);
Dtable_based_table_builder.h28 virtual int32_t SubSerialize(WritableFontData* new_data);
35 TableBasedTableBuilder(Header* header, WritableFontData* data);
Dgeneric_table_builder.cc33 GenericTableBuilder::CreateBuilder(Header* header, WritableFontData* data) { in CreateBuilder()
40 WritableFontData* data) in GenericTableBuilder()
/external/sfntly/cpp/src/test/
Dfont_data_test.cc82 FillTestFontDataWithShortsForSearching(WritableFontData* wfd, in FillTestFontDataWithShortsForSearching()
110 wfd.Attach(WritableFontData::CreateWritableFontData(array_setup_offset[0])); in TestReadableFontDataSearching()
179 void WriteFontDataWithSingleByte(ReadableFontData* rfd, WritableFontData* wfd) { in WriteFontDataWithSingleByte()
187 WritableFontData* wfd, in WriteFontDataWithBuffer()
199 WritableFontData* wfd, in WriteFontDataWithSlidingWindow()
267 void SlicingWriteTest(ReadableFontData* rfd, WritableFontData* wfd) { in SlicingWriteTest()
277 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
286 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
294 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
319 WritableFontDataPtr wfd = new WritableFontData(ba); in TestWritableFontData()
[all …]
/external/sfntly/cpp/src/sfntly/
Dfont_factory.h116 CALLER_ATTACH Font* LoadSingleOTF(WritableFontData* wfd);
119 void LoadCollection(WritableFontData* wfd, FontArray* output);
123 LoadSingleOTFForBuilding(WritableFontData* wfd,
127 void LoadCollectionForBuilding(WritableFontData* ba,
Dfont_factory.cc57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFonts()
86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFontsForBuilding()
117 CALLER_ATTACH Font* FontFactory::LoadSingleOTF(WritableFontData* wfd) { in LoadSingleOTF()
135 void FontFactory::LoadCollection(WritableFontData* wfd, FontArray* output) { in LoadCollection()
157 FontFactory::LoadSingleOTFForBuilding(WritableFontData* wfd, in LoadSingleOTFForBuilding()
171 wfd.Attach(WritableFontData::CreateWritableFontData(is->Available())); in LoadCollectionForBuilding()
176 void FontFactory::LoadCollectionForBuilding(WritableFontData* wfd, in LoadCollectionForBuilding()
Dfont.h138 WritableFontData* ba,
194 virtual void LoadFont(WritableFontData* wfd,
200 GetTableBuilder(Header* header, WritableFontData* data);
218 WritableFontData* fd,
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format2.cc114 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice( in BigMetrics()
154 IndexSubTableFormat2::Builder::CreateBuilder(WritableFontData* data, in CreateBuilder()
163 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder()
192 WritableFontData* new_data) { in SubSerialize()
199 target.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
205 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
217 IndexSubTableFormat2::Builder::Builder(WritableFontData* data, in Builder()
Debdt_table.h41 Builder(Header* header, WritableFontData* data);
45 virtual int32_t SubSerialize(WritableFontData* new_data);
80 WritableFontData* data);
Dindex_sub_table_format5.cc156 IndexSubTableFormat5::Builder::CreateBuilder(WritableFontData* data, in CreateBuilder()
165 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder()
201 WritableFontData* new_data) { in SubSerialize()
208 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize()
215 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
239 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice( in BigMetrics()
268 IndexSubTableFormat5::Builder::Builder(WritableFontData* data, in Builder()
Debsc_table.cc71 Header* header, WritableFontData* data) { in CreateBuilder()
76 EbscTable::Builder::Builder(Header* header, WritableFontData* data) in Builder()
102 int32_t EbscTable::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize()
Debsc_table.h72 WritableFontData* data);
75 Builder(Header* header, WritableFontData* data);
82 virtual int32_t SubSerialize(WritableFontData* new_data);
Dindex_sub_table_format2.h54 virtual int32_t SubSerialize(WritableFontData* new_data);
65 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data,
71 Builder(WritableFontData* data,
Dindex_sub_table_format3.h53 virtual int32_t SubSerialize(WritableFontData* new_data);
62 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data,
72 Builder(WritableFontData* data,
Dindex_sub_table_format1.h54 virtual int32_t SubSerialize(WritableFontData* new_data);
65 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data,
75 Builder(WritableFontData* data,
Dindex_sub_table_format3.cc149 IndexSubTableFormat3::Builder::CreateBuilder(WritableFontData* data, in CreateBuilder()
158 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder()
194 WritableFontData* new_data) { in SubSerialize()
204 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize()
221 IndexSubTableFormat3::Builder::Builder(WritableFontData* data, in Builder()
Dindex_sub_table_format5.h53 virtual int32_t SubSerialize(WritableFontData* new_data);
66 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data,
75 Builder(WritableFontData* data,
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h145 Builder(WritableFontData* data,
149 virtual int32_t SubSerialize(WritableFontData* new_data);
225 CALLER_ATTACH static Builder* NewInstance(WritableFontData* data,
239 Builder(WritableFontData* data, int32_t offset, const CMapId& cmap_id);
277 Builder(WritableFontData* data,
367 static CALLER_ATTACH Builder* NewInstance(WritableFontData* data,
381 Builder(WritableFontData* data, int32_t offset, const CMapId& cmap_id);
392 virtual int32_t SubSerialize(WritableFontData* new_data);
501 Builder(Header* header, WritableFontData* data);
505 virtual int32_t SubSerialize(WritableFontData* new_data);
[all …]
Dcmap_table.cc309 CMapTable::CMap::Builder::Builder(WritableFontData* data, in Builder()
318 int32_t CMapTable::CMap::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize()
393 CMapTable::CMapFormat0::Builder::NewInstance(WritableFontData* data, in NewInstance()
398 wdata.Attach(down_cast<WritableFontData*>( in NewInstance()
427 CMapTable::CMapFormat0::Builder::Builder(WritableFontData* data, int32_t offset, in Builder()
560 CMapTable::CMapFormat2::Builder::Builder(WritableFontData* data, in Builder()
563 : CMapTable::CMap::Builder(data ? down_cast<WritableFontData*>( in Builder()
566 : reinterpret_cast<WritableFontData*>(NULL), in Builder()
928 CMapTable::CMapFormat4::Builder::NewInstance(WritableFontData* data, in NewInstance()
934 (down_cast<WritableFontData*> in NewInstance()
[all …]
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.h56 explicit Builder(WritableFontData* data);
70 virtual int32_t SubSerialize(WritableFontData* new_data);
122 WritableFontData* data);
150 virtual int32_t SubSerialize(WritableFontData* new_data);
184 explicit SimpleGlyphBuilder(WritableFontData* data);
257 explicit CompositeGlyphBuilder(WritableFontData* data);
Dloca_table.h44 Builder(Header* header, WritableFontData* data);
49 WritableFontData* data);
114 virtual int32_t SubSerialize(WritableFontData* new_data);

1234