Home
last modified time | relevance | path

Searched refs:loca (Results 1 – 25 of 44) 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.cc276 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); in SetupGlyfBuilders()
436 ConstructIndexFormat4(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, in ConstructIndexFormat4() argument
446 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); in ConstructIndexFormat4()
447 BitmapGlyphInfoMap::const_iterator end = loca.end(); in ConstructIndexFormat4()
474 ConstructIndexFormat5(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, in ConstructIndexFormat5() argument
499 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); in ConstructIndexFormat5()
500 BitmapGlyphInfoMap::const_iterator end = loca.end(); in ConstructIndexFormat5()
524 const BitmapGlyphInfoMap& loca, in SubsetIndexSubTable() argument
530 return ConstructIndexFormat4(builder, loca, image_data_offset); in SubsetIndexSubTable()
533 return ConstructIndexFormat5(builder, loca, image_data_offset); in SubsetIndexSubTable()
[all …]
Dsubsetter_impl.h69 GlyphTable* glyf, LocaTable* loca);
/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 std::vector<int32_t>& loca) { in SetLoca() argument
73 loca_ = loca; in SetLoca()
161 const std::vector<int32_t>& 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 std::vector<int32_t>& loca);
153 void Initialize(ReadableFontData* data, const std::vector<int32_t>& 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/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh50 struct loca struct
770 loca_table = hb_sanitize_context_t ().reference_table<loca> (face); in init()
1045 hb_blob_ptr_t<loca> loca_table;
/external/tensorflow/tensorflow/tools/ci_build/
DDockerfile.rbe.cuda10.0-cudnn7-ubuntu14.0428 # TODO(b/110903506): /usr/loca/cuda/lib64/stubs should not be needed in
DDockerfile.rbe.cuda9.0-cudnn7-ubuntu14.0431 # TODO(b/110903506): /usr/loca/cuda/lib64/stubs should not be needed in
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py57 loca = ttFont['loca']
58 last = int(loca[0])
62 for i in range(0, len(loca)-1):
68 next = int(loca[i+1])

12