Home
last modified time | relevance | path

Searched refs:maxp (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/ots/src/
Dmaxp.cc15 OpenTypeMAXP *maxp = new OpenTypeMAXP; in ots_maxp_parse() local
16 file->maxp = maxp; in ots_maxp_parse()
27 if (!table.ReadU16(&maxp->num_glyphs)) { in ots_maxp_parse()
31 if (!maxp->num_glyphs) { in ots_maxp_parse()
36 maxp->version_1 = true; in ots_maxp_parse()
37 if (!table.ReadU16(&maxp->max_points) || in ots_maxp_parse()
38 !table.ReadU16(&maxp->max_contours) || in ots_maxp_parse()
39 !table.ReadU16(&maxp->max_c_points) || in ots_maxp_parse()
40 !table.ReadU16(&maxp->max_c_contours) || in ots_maxp_parse()
41 !table.ReadU16(&maxp->max_zones) || in ots_maxp_parse()
[all …]
Dhdmx.cc22 if (!file->head || !file->maxp) { in ots_hdmx_parse()
50 const int32_t actual_size_device_record = file->maxp->num_glyphs + 2; in ots_hdmx_parse()
79 rec.widths.reserve(file->maxp->num_glyphs); in ots_hdmx_parse()
80 for (unsigned j = 0; j < file->maxp->num_glyphs; ++j) { in ots_hdmx_parse()
Dgpos.cc241 file->maxp->num_glyphs)) { in ParseSingleAdjustment()
391 file->maxp->num_glyphs)) { in ParsePairAdjustment()
396 file->maxp->num_glyphs)) { in ParsePairAdjustment()
408 file->maxp->num_glyphs)) { in ParsePairAdjustment()
475 file->maxp->num_glyphs)) { in ParseCursiveAttachment()
575 file->maxp->num_glyphs)) { in ParseMarkToAttachmentSubtables()
583 file->maxp->num_glyphs)) { in ParseMarkToAttachmentSubtables()
647 return ots::ParseContextSubtable(data, length, file->maxp->num_glyphs, in ParseContextPositioning()
656 file->maxp->num_glyphs, in ParseChainedContextPositioning()
723 if (!file->maxp) { in ots_gpos_parse()
Dhmtx.cc20 if (!file->hhea || !file->maxp) { in ots_hmtx_parse()
24 if (!ParseMetricsTable(&table, file->maxp->num_glyphs, in ots_hmtx_parse()
Dvmtx.cc21 if (!file->vhea || !file->maxp) { in ots_vmtx_parse()
25 if (!ParseMetricsTable(&table, file->maxp->num_glyphs, in ots_vmtx_parse()
Dgsub.cc85 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseSingleSubstitution()
173 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseMutipleSubstitution()
248 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseAlternateSubstitution()
364 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseLigatureSubstitution()
400 return ots::ParseContextSubtable(data, length, file->maxp->num_glyphs, in ParseContextSubstitution()
410 file->maxp->num_glyphs, in ParseChainingContextSubstitution()
436 const uint16_t num_glyphs = file->maxp->num_glyphs; in ParseReverseChainingContextSingleSubstitution()
587 if (!file->maxp) { in ots_gsub_parse()
Dpost.cc54 if (!file->maxp) { in ots_post_parse()
59 if (file->maxp->num_glyphs > 258) { in ots_post_parse()
69 if (num_glyphs != file->maxp->num_glyphs) { in ots_post_parse()
Dglyf.cc102 if ((file->maxp->version_1) && in ParseSimpleGlyph()
103 (file->maxp->max_size_glyf_instructions < bytecode_length)) { in ParseSimpleGlyph()
177 if (!file->maxp || !file->loca || !file->head) { in ots_glyf_parse()
184 const unsigned num_glyphs = file->maxp->num_glyphs; in ots_glyf_parse()
Dltsh.cc20 if (!file->maxp) { in ots_ltsh_parse()
39 if (num_glyphs != file->maxp->num_glyphs) { in ots_ltsh_parse()
Dloca.cc24 if (!file->maxp || !file->head) { in ots_loca_parse()
28 const unsigned num_glyphs = file->maxp->num_glyphs; in ots_loca_parse()
Dmetrics.cc68 if (!file->maxp) { in ParseMetricsHeader()
72 if (header->num_metrics > file->maxp->num_glyphs) { in ParseMetricsHeader()
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dverify_maxp.cc41 MaximumProfileTablePtr maxp = down_cast<MaximumProfileTable*>(table); in VerifyMAXP() local
42 if (maxp == NULL) { in VerifyMAXP()
46 EXPECT_EQ(maxp->TableVersion(), Fixed1616::Fixed(1, 0)); in VerifyMAXP()
47 EXPECT_EQ(maxp->NumGlyphs(), MAXP_NUM_GLYPHS); in VerifyMAXP()
48 EXPECT_EQ(maxp->MaxPoints(), MAXP_MAX_POINTS); in VerifyMAXP()
49 EXPECT_EQ(maxp->MaxContours(), MAXP_MAX_CONTOURS); in VerifyMAXP()
50 EXPECT_EQ(maxp->MaxCompositePoints(), MAXP_MAX_COMPOSITE_POINTS); in VerifyMAXP()
51 EXPECT_EQ(maxp->MaxCompositeContours(), MAXP_MAX_COMPOSITE_CONTOURS); in VerifyMAXP()
52 EXPECT_EQ(maxp->MaxZones(), MAXP_MAX_ZONES); in VerifyMAXP()
53 EXPECT_EQ(maxp->MaxTwilightPoints(), MAXP_MAX_TWILIGHT_POINTS); in VerifyMAXP()
[all …]
Dtest_data.cc42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post,
49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
/external/sfntly/cpp/src/test/
Dverify_maxp.cc41 MaximumProfileTablePtr maxp = down_cast<MaximumProfileTable*>(table); in VerifyMAXP() local
42 if (maxp == NULL) { in VerifyMAXP()
46 EXPECT_EQ(maxp->TableVersion(), Fixed1616::Fixed(1, 0)); in VerifyMAXP()
47 EXPECT_EQ(maxp->NumGlyphs(), MAXP_NUM_GLYPHS); in VerifyMAXP()
48 EXPECT_EQ(maxp->MaxPoints(), MAXP_MAX_POINTS); in VerifyMAXP()
49 EXPECT_EQ(maxp->MaxContours(), MAXP_MAX_CONTOURS); in VerifyMAXP()
50 EXPECT_EQ(maxp->MaxCompositePoints(), MAXP_MAX_COMPOSITE_POINTS); in VerifyMAXP()
51 EXPECT_EQ(maxp->MaxCompositeContours(), MAXP_MAX_COMPOSITE_CONTOURS); in VerifyMAXP()
52 EXPECT_EQ(maxp->MaxZones(), MAXP_MAX_ZONES); in VerifyMAXP()
53 EXPECT_EQ(maxp->MaxTwilightPoints(), MAXP_MAX_TWILIGHT_POINTS); in VerifyMAXP()
[all …]
Dtest_data.cc42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post,
49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
/external/sfntly/cpp/src/sfntly/
Dtag.cc31 const int32_t Tag::maxp = TAG('m', 'a', 'x', 'p'); member in sfntly::Tag
77 Tag::maxp,
89 Tag::maxp,
Dtag.h37 static const int32_t maxp; member
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/
Dtag.cc31 const int32_t Tag::maxp = TAG('m', 'a', 'x', 'p'); member in sfntly::Tag
77 Tag::maxp,
89 Tag::maxp,
Dtag.h37 static const int32_t maxp; member
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-face.cc476 hb_blob_t *maxp_blob = OT::Sanitizer<OT::maxp>::sanitize (reference_table (HB_OT_TAG_maxp)); in load_num_glyphs()
477 const OT::maxp *maxp_table = OT::Sanitizer<OT::maxp>::lock_instance (maxp_blob); in load_num_glyphs()
Dhb-ot-maxp-table.hh42 struct maxp struct
/external/chromium_org/third_party/ots/
Dots-common.gypi46 'src/maxp.cc',
47 'src/maxp.h',
/external/harfbuzz_ng/src/
Dhb-ot-maxp-table.hh42 struct maxp struct
/external/chromium_org/third_party/freetype/src/truetype/
Dttobjs.c969 TT_MaxProfile* maxp = &face->max_profile; in tt_size_init_bytecode() local
975 size->max_function_defs = maxp->maxFunctionDefs; in tt_size_init_bytecode()
976 size->max_instruction_defs = maxp->maxInstructionDefs; in tt_size_init_bytecode()
985 size->storage_size = maxp->maxStorage; in tt_size_init_bytecode()
1008 n_twilight = maxp->maxTwilightPoints; in tt_size_init_bytecode()
/external/freetype/src/truetype/
Dttobjs.c969 TT_MaxProfile* maxp = &face->max_profile; in tt_size_init_bytecode() local
975 size->max_function_defs = maxp->maxFunctionDefs; in tt_size_init_bytecode()
976 size->max_instruction_defs = maxp->maxInstructionDefs; in tt_size_init_bytecode()
985 size->storage_size = maxp->maxStorage; in tt_size_init_bytecode()
1008 n_twilight = maxp->maxTwilightPoints; in tt_size_init_bytecode()

123