/external/sfntly/cpp/src/sfntly/data/ |
D | writable_font_data.cc | 27 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(std::vector<uint8_t>* b) { in CreateWritableFontData() 53 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData() 57 int32_t WritableFontData::WriteByte(int32_t index, uint8_t b) { in WriteByte() 62 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes() 72 int32_t WritableFontData::WriteBytes(int32_t index, std::vector<uint8_t>* b) { in WriteBytes() 77 int32_t WritableFontData::WriteBytesPad(int32_t index, in WriteBytesPad() [all …]
|
D | writable_font_data.h | 26 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(std::vector<uint8_t>* 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/ |
D | font_data_table.cc | 45 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()
|
D | font_data_table.h | 41 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);
|
D | generic_table_builder.h | 33 CreateBuilder(Header* header, WritableFontData* data); 36 GenericTableBuilder(Header* header, WritableFontData* data);
|
D | table_based_table_builder.h | 28 virtual int32_t SubSerialize(WritableFontData* new_data); 35 TableBasedTableBuilder(Header* header, WritableFontData* data);
|
D | generic_table_builder.cc | 33 GenericTableBuilder::CreateBuilder(Header* header, WritableFontData* data) { in CreateBuilder() 40 WritableFontData* data) in GenericTableBuilder()
|
/external/sfntly/cpp/src/test/ |
D | font_data_test.cc | 82 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/ |
D | font_factory.h | 110 CALLER_ATTACH Font* LoadSingleOTF(WritableFontData* wfd); 113 void LoadCollection(WritableFontData* wfd, FontArray* output); 117 LoadSingleOTFForBuilding(WritableFontData* wfd, 121 void LoadCollectionForBuilding(WritableFontData* ba,
|
D | font_factory.cc | 57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFonts() 86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFontsForBuilding() 113 CALLER_ATTACH Font* FontFactory::LoadSingleOTF(WritableFontData* wfd) { in LoadSingleOTF() 131 void FontFactory::LoadCollection(WritableFontData* wfd, FontArray* output) { in LoadCollection() 153 FontFactory::LoadSingleOTFForBuilding(WritableFontData* wfd, in LoadSingleOTFForBuilding() 167 wfd.Attach(WritableFontData::CreateWritableFontData(is->Available())); in LoadCollectionForBuilding() 172 void FontFactory::LoadCollectionForBuilding(WritableFontData* wfd, in LoadCollectionForBuilding()
|
D | font.h | 138 WritableFontData* ba, 194 virtual void LoadFont(WritableFontData* wfd, 200 GetTableBuilder(Header* header, WritableFontData* data); 218 WritableFontData* fd,
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table_format2.cc | 114 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()
|
D | ebdt_table.h | 41 Builder(Header* header, WritableFontData* data); 45 virtual int32_t SubSerialize(WritableFontData* new_data); 80 WritableFontData* data);
|
D | index_sub_table_format5.cc | 156 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()
|
D | ebsc_table.cc | 71 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()
|
D | ebsc_table.h | 72 WritableFontData* data); 75 Builder(Header* header, WritableFontData* data); 82 virtual int32_t SubSerialize(WritableFontData* new_data);
|
D | index_sub_table_format2.h | 54 virtual int32_t SubSerialize(WritableFontData* new_data); 65 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data, 71 Builder(WritableFontData* data,
|
D | index_sub_table_format3.h | 53 virtual int32_t SubSerialize(WritableFontData* new_data); 62 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data, 72 Builder(WritableFontData* data,
|
D | index_sub_table_format5.h | 53 virtual int32_t SubSerialize(WritableFontData* new_data); 66 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data, 75 Builder(WritableFontData* data,
|
D | index_sub_table_format1.h | 54 virtual int32_t SubSerialize(WritableFontData* new_data); 65 static CALLER_ATTACH Builder* CreateBuilder(WritableFontData* data, 75 Builder(WritableFontData* data,
|
D | index_sub_table_format3.cc | 149 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()
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | cmap_table.h | 145 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 …]
|
D | cmap_table.cc | 309 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/ |
D | glyph_table.h | 56 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); 252 explicit CompositeGlyphBuilder(WritableFontData* data);
|
D | loca_table.h | 44 Builder(Header* header, WritableFontData* data); 49 WritableFontData* data); 114 virtual int32_t SubSerialize(WritableFontData* new_data);
|