Home
last modified time | relevance | path

Searched refs:loca (Results 1 – 25 of 36) sorted by relevance

12

/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format1.cc43 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 …]
Dindex_sub_table_format3.cc33 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 …]
Dindex_sub_table_format2.cc46 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()
Dindex_sub_table_format4.cc33 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()
Dindex_sub_table_format5.cc39 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()
Dindex_sub_table.cc31 int32_t loca = CheckGlyphRange(glyph_id); in GlyphInfo() local
32 if (loca == -1) { in GlyphInfo()
/external/sfntly/cpp/src/test/
Dverify_loca.cc41 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()
Dtest_data.cc42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post,
49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
Dserialization_test.cc80 } else if (TTF_KNOWN_TAGS[i] == Tag::loca) { in TestSerialization()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc237 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 …]
Dsubsetter_impl.h69 GlyphTable* glyf, LocaTable* loca);
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh44 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/
Dinlinfo.c25 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/
Dinlinfo_nested.c28 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/
Dglyph_table_subsetter.cc27 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/
Dfont_assembler.cc146 (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()
Dfont_info.cc136 loca_table_ = down_cast<LocaTable*>(font_->GetTable(Tag::loca)); in Initialize()
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc72 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()
Dglyph_table.h118 virtual void SetLoca(const IntegerList& loca);
153 void Initialize(ReadableFontData* data, const IntegerList& loca);
/external/sfntly/cpp/src/sfntly/
Dtag.cc38 const int32_t Tag::loca = TAG('l', 'o', 'c', 'a'); member in sfntly::Tag
99 Tag::loca,
Dtag.h46 static const int32_t loca; member
/external/skia/src/sfnt/
DSkOTTable_glyf.h32 const SkOTTableIndexToLocation& loca, in Iterator()
37 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); } in Iterator()
/external/skqp/src/sfnt/
DSkOTTable_glyf.h32 const SkOTTableIndexToLocation& loca, in Iterator()
37 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); } in Iterator()
/external/sfntly/cpp/src/sfntly/table/
Dtable.cc116 } else if (tag == Tag::loca) { in GetBuilder()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py35 loca = ttFont['loca']
36 last = int(loca[0])
40 for i in range(0, len(loca)-1):
46 next = int(loca[i+1])

12