/external/sfntly/cpp/src/sfntly/data/ |
D | readable_font_data.cc | 29 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 …]
|
D | readable_font_data.h | 48 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/ |
D | subtable.h | 38 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()
|
D | subtable.cc | 25 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()
|
D | font_data_table.h | 42 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();
|
D | font_data_table.cc | 27 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/ |
D | glyph_table.h | 57 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 …]
|
D | glyph_table.cc | 58 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/ |
D | cmap_table.h | 126 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 …]
|
D | cmap_table.cc | 54 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/ |
D | bitmap_size_table.h | 56 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,
|
D | index_sub_table_format3.h | 49 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,
|
D | index_sub_table_format1.h | 50 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,
|
D | index_sub_table_format5.h | 49 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);
|
D | index_sub_table_format4.h | 75 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);
|
D | bitmap_glyph.cc | 28 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()
|
D | ebdt_table.h | 42 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);
|
D | bitmap_glyph.h | 79 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);
|
D | eblc_table.h | 133 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,
|
D | index_sub_table_format3.cc | 49 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()
|
D | index_sub_table_format2.h | 50 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);
|
D | index_sub_table_format1.cc | 26 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()
|
D | index_sub_table.h | 86 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,
|
D | index_sub_table_format5.cc | 64 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/ |
D | font_data_test.cc | 81 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 …]
|