/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table_format1.cc | 43 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 44 if (loca == -1) { in GlyphStartOffset() 47 return Loca(loca); in GlyphStartOffset() 51 int32_t loca = CheckGlyphRange(glyph_id); in GlyphLength() local 52 if (loca == -1) { in GlyphLength() 55 return Loca(loca + 1) - Loca(loca); in GlyphLength() 64 int32_t IndexSubTableFormat1::Loca(int32_t loca) { in Loca() argument 67 loca * DataSize::kULONG); in Loca() 81 int32_t loca = CheckGlyphRange(glyph_id); in GlyphLength() local 82 if (loca == -1) { in GlyphLength() [all …]
|
D | index_sub_table_format3.cc | 33 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 34 if (loca != -1) { in GlyphStartOffset() 35 return Loca(loca); in GlyphStartOffset() 41 int32_t loca = CheckGlyphRange(glyph_id); in GlyphLength() local 42 if (loca != -1) { in GlyphLength() 64 int32_t IndexSubTableFormat3::Loca(int32_t loca) { in Loca() argument 67 loca * DataSize::kUSHORT); in Loca() 82 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 83 if (loca == -1) { in GlyphStartOffset() 86 return GetOffsetArray()->at(loca); in GlyphStartOffset() [all …]
|
D | index_sub_table_format2.cc | 46 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 47 if (loca == -1) { in GlyphStartOffset() 50 return loca * image_size_; in GlyphStartOffset() 79 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 80 if (loca == -1) { in GlyphStartOffset() 83 return loca * ImageSize(); in GlyphStartOffset() 87 int32_t loca = CheckGlyphRange(glyph_id); in GlyphLength() local 88 if (loca == -1) { in GlyphLength()
|
D | index_sub_table_format4.cc | 33 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 34 if (loca == -1) { in GlyphStartOffset() 48 int32_t loca = CheckGlyphRange(glyph_id); in GlyphLength() local 49 if (loca == -1) { in GlyphLength() 120 int32_t loca = CheckGlyphRange(glyph_id); in GlyphLength() local 121 if (loca == -1) { in GlyphLength() 133 int32_t loca = CheckGlyphRange(glyph_id); in GlyphStartOffset() local 134 if (loca == -1) { in GlyphStartOffset()
|
D | index_sub_table_format5.cc | 39 int32_t loca = ReadFontData()->SearchUShort( in GlyphStartOffset() local 44 if (loca == -1) { in GlyphStartOffset() 45 return loca; in GlyphStartOffset() 47 return loca * ImageSize(); in GlyphStartOffset()
|
D | index_sub_table.cc | 31 int32_t loca = CheckGlyphRange(glyph_id); in GlyphInfo() local 32 if (loca == -1) { in GlyphInfo()
|
/external/sfntly/cpp/src/test/ |
D | verify_loca.cc | 41 LocaTablePtr loca = down_cast<LocaTable*>(table); in VerifyLOCA() local 42 if (loca == NULL) { in VerifyLOCA() 46 EXPECT_EQ(loca->NumLocas(), LOCA_NUM_LOCAS); in VerifyLOCA() 47 EXPECT_EQ(loca->num_glyphs(), LOCA_NUM_LOCAS - 1); in VerifyLOCA() 50 EXPECT_EQ(loca->GlyphOffset(i), LOCAS[i]); in VerifyLOCA() 51 EXPECT_EQ(loca->GlyphLength(i), LOCAS[i + 1] - LOCAS[i]); in VerifyLOCA()
|
D | test_data.cc | 42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post, 49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
|
D | serialization_test.cc | 80 } else if (TTF_KNOWN_TAGS[i] == Tag::loca) { in TestSerialization()
|
/external/sfntly/cpp/src/sample/chromium/ |
D | subsetter_impl.cc | 237 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); in SetupGlyfBuilders() 392 ConstructIndexFormat4(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, in ConstructIndexFormat4() argument 402 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); in ConstructIndexFormat4() 403 BitmapGlyphInfoMap::const_iterator end = loca.end(); in ConstructIndexFormat4() 430 ConstructIndexFormat5(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, in ConstructIndexFormat5() argument 455 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); in ConstructIndexFormat5() 456 BitmapGlyphInfoMap::const_iterator end = loca.end(); in ConstructIndexFormat5() 480 const BitmapGlyphInfoMap& loca, in SubsetIndexSubTable() argument 486 return ConstructIndexFormat4(builder, loca, image_data_offset); in SubsetIndexSubTable() 489 return ConstructIndexFormat5(builder, loca, image_data_offset); in SubsetIndexSubTable() [all …]
|
D | subsetter_impl.h | 69 GlyphTable* glyf, LocaTable* loca);
|
/external/harfbuzz_ng/src/ |
D | hb-ot-glyf-table.hh | 44 struct loca struct 110 loca_blob = Sanitizer<loca>::sanitize (face->reference_table (HB_OT_TAG_loca)); in init() 111 loca_table = Sanitizer<loca>::lock_instance (loca_blob); in init() 164 const loca *loca_table;
|
/external/valgrind/memcheck/tests/ |
D | inlinfo.c | 25 static int loca = 0; in fun_a() local 26 loca += arga; in fun_a() 27 return fun_b(loca); in fun_a()
|
/external/valgrind/memcheck/tests/solaris/ |
D | inlinfo_nested.c | 28 static int loca = 0; in fun_a() local 29 loca += arga; in fun_a() 30 return fun_b(loca); in fun_a()
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
D | glyph_table_subsetter.cc | 27 const int32_t kGlyphTableSubsetterTags[2] = {Tag::glyf, Tag::loca}; 47 LocaTablePtr loca_table = down_cast<LocaTable*>(font->GetTable(Tag::loca)); in Subset() 60 (font_builder->NewTableBuilder(Tag::loca)); in Subset()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_assembler.cc | 146 (font_builder_->NewTableBuilder(Tag::loca)); in AssembleGlyphAndLocaTables() 159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca)); in AssembleGlyphAndLocaTables() 172 (font_info_->GetTable(font_info_->fonts()->begin()->first, Tag::loca)); in AssembleGlyphAndLocaTables() 189 (font_info_->GetTable(font_id, Tag::loca)); in AssembleGlyphAndLocaTables()
|
D | font_info.cc | 136 loca_table_ = down_cast<LocaTable*>(font_->GetTable(Tag::loca)); in Initialize()
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
D | glyph_table.cc | 72 void GlyphTable::Builder::SetLoca(const IntegerList& loca) { in SetLoca() argument 73 loca_ = loca; in SetLoca() 161 const IntegerList& loca) { in Initialize() argument 167 int32_t last_loca_value = loca[0]; in Initialize() 168 for (size_t i = 1; i < loca.size(); ++i) { in Initialize() 169 loca_value = loca[i]; in Initialize()
|
D | glyph_table.h | 118 virtual void SetLoca(const IntegerList& loca); 153 void Initialize(ReadableFontData* data, const IntegerList& loca);
|
/external/sfntly/cpp/src/sfntly/ |
D | tag.cc | 38 const int32_t Tag::loca = TAG('l', 'o', 'c', 'a'); member in sfntly::Tag 99 Tag::loca,
|
D | tag.h | 46 static const int32_t loca; member
|
/external/skia/src/sfnt/ |
D | SkOTTable_glyf.h | 32 const SkOTTableIndexToLocation& loca, in Iterator() 37 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); } in Iterator()
|
/external/skqp/src/sfnt/ |
D | SkOTTable_glyf.h | 32 const SkOTTableIndexToLocation& loca, in Iterator() 37 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); } in Iterator()
|
/external/sfntly/cpp/src/sfntly/table/ |
D | table.cc | 116 } else if (tag == Tag::loca) { in GetBuilder()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_l_y_f.py | 35 loca = ttFont['loca'] 36 last = int(loca[0]) 40 for i in range(0, len(loca)-1): 46 next = int(loca[i+1])
|