/external/chromium_org/third_party/ots/src/ |
D | layout.cc | 47 bool ParseLangSysTable(ots::Buffer *subtable, const uint32_t tag, in ParseLangSysTable() argument 52 if (!subtable->ReadU16(&offset_lookup_order) || in ParseLangSysTable() 53 !subtable->ReadU16(&req_feature_index) || in ParseLangSysTable() 54 !subtable->ReadU16(&feature_count)) { in ParseLangSysTable() 71 if (!subtable->ReadU16(&feature_index)) { in ParseLangSysTable() 83 ots::Buffer subtable(data, length); in ParseScriptTable() local 87 if (!subtable.ReadU16(&offset_default_lang_sys) || in ParseScriptTable() 88 !subtable.ReadU16(&lang_sys_count)) { in ParseScriptTable() 110 if (!subtable.ReadU32(&lang_sys_records[i].tag) || in ParseScriptTable() 111 !subtable.ReadU16(&lang_sys_records[i].offset)) { in ParseScriptTable() [all …]
|
D | math.cc | 51 bool ParseMathValueRecord(ots::Buffer* subtable, const uint8_t *data, in ParseMathValueRecord() argument 54 if (!subtable->Skip(2)) { in ParseMathValueRecord() 60 if (!subtable->ReadU16(&offset)) { in ParseMathValueRecord() 76 ots::Buffer subtable(data, length); in ParseMathConstantsTable() local 83 if (!subtable.Skip(4 * 2)) { in ParseMathConstantsTable() 145 if (!ParseMathValueRecord(&subtable, data, length)) { in ParseMathConstantsTable() 152 if (!subtable.Skip(2)) { in ParseMathConstantsTable() 159 bool ParseMathValueRecordSequenceForGlyphs(ots::Buffer* subtable, in ParseMathValueRecordSequenceForGlyphs() argument 166 if (!subtable->ReadU16(&offset_coverage) || in ParseMathValueRecordSequenceForGlyphs() 167 !subtable->ReadU16(&sequence_count)) { in ParseMathValueRecordSequenceForGlyphs() [all …]
|
D | gpos.cc | 79 bool ParseValueRecord(ots::Buffer* subtable, const uint8_t *data, in ParseValueRecord() argument 85 if (!subtable->Skip(2)) { in ParseValueRecord() 95 if (!subtable->ReadU16(&offset)) { in ParseValueRecord() 114 ots::Buffer subtable(data, length); in ParseAnchorTable() local 118 if (!subtable.ReadU16(&format) || in ParseAnchorTable() 119 !subtable.Skip(4)) { in ParseAnchorTable() 132 if (!subtable.ReadU16(&anchor_point)) { in ParseAnchorTable() 138 if (!subtable.ReadU16(&offset_x_device) || in ParseAnchorTable() 139 !subtable.ReadU16(&offset_y_device)) { in ParseAnchorTable() 167 ots::Buffer subtable(data, length); in ParseMarkArrayTable() local [all …]
|
D | gsub.cc | 75 ots::Buffer subtable(data, length); in ParseSingleSubstitution() local 80 if (!subtable.ReadU16(&format) || in ParseSingleSubstitution() 81 !subtable.ReadU16(&offset_coverage)) { in ParseSingleSubstitution() 89 if (!subtable.ReadS16(&delta_glyph_id)) { in ParseSingleSubstitution() 98 if (!subtable.ReadU16(&glyph_count)) { in ParseSingleSubstitution() 106 if (!subtable.ReadU16(&substitute)) { in ParseSingleSubstitution() 118 if (offset_coverage < subtable.offset() || offset_coverage >= length) { in ParseSingleSubstitution() 131 ots::Buffer subtable(data, length); in ParseSequenceTable() local 134 if (!subtable.ReadU16(&glyph_count)) { in ParseSequenceTable() 142 if (!subtable.ReadU16(&substitute)) { in ParseSequenceTable() [all …]
|
D | kern.cc | 40 OpenTypeKERNFormat0 subtable; in ots_kern_parse() local 43 if (!table.ReadU16(&subtable.version) || in ots_kern_parse() 48 if (subtable.version > 0) { in ots_kern_parse() 49 OTS_WARNING("Bad subtable version: %d", subtable.version); in ots_kern_parse() 58 if (!table.ReadU16(&subtable.coverage)) { in ots_kern_parse() 62 if (!(subtable.coverage & 0x1)) { in ots_kern_parse() 67 if (subtable.coverage & 0xF0) { in ots_kern_parse() 72 const uint32_t format = (subtable.coverage & 0xFF00) >> 8; in ots_kern_parse() 81 !table.ReadU16(&subtable.search_range) || in ots_kern_parse() 82 !table.ReadU16(&subtable.entry_selector) || in ots_kern_parse() [all …]
|
D | gdef.cc | 37 ots::Buffer subtable(data, length); in ParseAttachListTable() local 41 if (!subtable.ReadU16(&offset_coverage) || in ParseAttachListTable() 42 !subtable.ReadU16(&glyph_count)) { in ParseAttachListTable() 62 if (!subtable.ReadU16(&attach_points[i])) { in ParseAttachListTable() 79 subtable.set_offset(attach_points[i]); in ParseAttachListTable() 81 if (!subtable.ReadU16(&point_count)) { in ParseAttachListTable() 90 if (!subtable.ReadU16(&point_index)) { in ParseAttachListTable() 107 ots::Buffer subtable(data, length); in ParseLigCaretListTable() local 110 if (!subtable.ReadU16(&offset_coverage) || in ParseLigCaretListTable() 111 !subtable.ReadU16(&lig_glyph_count)) { in ParseLigCaretListTable() [all …]
|
D | cmap.cc | 63 ots::Buffer subtable(data, length); in ParseFormat4() local 73 if (!subtable.Skip(4)) { in ParseFormat4() 77 if (!subtable.ReadU16(&language)) { in ParseFormat4() 87 if (!subtable.ReadU16(&segcountx2) || in ParseFormat4() 88 !subtable.ReadU16(&search_range) || in ParseFormat4() 89 !subtable.ReadU16(&entry_selector) || in ParseFormat4() 90 !subtable.ReadU16(&range_shift)) { in ParseFormat4() 126 if (!subtable.ReadU16(&ranges[i].end_range)) { in ParseFormat4() 132 if (!subtable.ReadU16(&padding)) { in ParseFormat4() 140 if (!subtable.ReadU16(&ranges[i].start_range)) { in ParseFormat4() [all …]
|
/external/icu/icu4c/source/layout/ |
D | GlyphPosnLookupProc.cpp | 80 LEReferenceTo<SinglePositioningSubtable> subtable(lookupSubtable, success); in applySubtable() local 82 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable() 88 LEReferenceTo<PairPositioningSubtable> subtable(lookupSubtable, success); in applySubtable() local 90 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable() 96 LEReferenceTo<CursiveAttachmentSubtable> subtable(lookupSubtable, success); in applySubtable() local 98 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable() 104 LEReferenceTo<MarkToBasePositioningSubtable> subtable(lookupSubtable, success); in applySubtable() local 106 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable() 112 LEReferenceTo<MarkToLigaturePositioningSubtable> subtable(lookupSubtable, success); in applySubtable() local 114 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable() [all …]
|
D | GlyphSubstLookupProc.cpp | 67 const LEReferenceTo<SingleSubstitutionSubtable> subtable(lookupSubtable, success); in applySubtable() local 69 delta = subtable->process(subtable, glyphIterator, success, fFilter); in applySubtable() 75 const LEReferenceTo<MultipleSubstitutionSubtable> subtable(lookupSubtable, success); in applySubtable() local 77 delta = subtable->process(subtable, glyphIterator, success, fFilter); in applySubtable() 83 const LEReferenceTo<AlternateSubstitutionSubtable> subtable(lookupSubtable, success); in applySubtable() local 85 delta = subtable->process(subtable, glyphIterator, success, fFilter); in applySubtable() 91 const LEReferenceTo<LigatureSubstitutionSubtable> subtable(lookupSubtable, success); in applySubtable() local 93 delta = subtable->process(subtable, glyphIterator, success, fFilter); in applySubtable() 99 const LEReferenceTo<ContextualSubstitutionSubtable> subtable(lookupSubtable, success); in applySubtable() local 101 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable() [all …]
|
D | SinglePositioningSubtables.cpp | 27 …const LEReferenceTo<SinglePositioningFormat1Subtable> subtable(base, success, (const SinglePositio… in process() local 29 return subtable->process(subtable, glyphIterator, fontInstance, success); in process() 34 …const LEReferenceTo<SinglePositioningFormat2Subtable> subtable(base, success, (const SinglePositio… in process() local 36 return subtable->process(subtable, glyphIterator, fontInstance, success); in process()
|
D | SingleSubstitutionSubtables.cpp | 26 …const LEReferenceTo<SingleSubstitutionFormat1Subtable> subtable(base, success, (const SingleSubsti… in process() local 28 return subtable->process(subtable, glyphIterator, success, filter); in process() 33 …const LEReferenceTo<SingleSubstitutionFormat2Subtable> subtable(base, success, (const SingleSubsti… in process() local 35 return subtable->process(subtable, glyphIterator, success, filter); in process()
|
D | PairPositioningSubtables.cpp | 28 …const LEReferenceTo<PairPositioningFormat1Subtable> subtable(base, success, (const PairPositioning… in process() local 31 return subtable->process(subtable, glyphIterator, fontInstance, success); in process() 38 …const LEReferenceTo<PairPositioningFormat2Subtable> subtable(base, success, (const PairPositioning… in process() local 41 return subtable->process(subtable, glyphIterator, fontInstance, success); in process()
|
D | MorphTables.cpp | 37 le_int16 subtable; in process() local 39 for (subtable = 0; LE_SUCCESS(success) && (subtable < nSubtables); subtable += 1) { in process()
|
D | ContextualSubstSubtables.cpp | 167 …const ContextualSubstitutionFormat1Subtable *subtable = (const ContextualSubstitutionFormat1Subtab… in process() local 168 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process() 173 …const ContextualSubstitutionFormat2Subtable *subtable = (const ContextualSubstitutionFormat2Subtab… in process() local 174 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process() 179 …const ContextualSubstitutionFormat3Subtable *subtable = (const ContextualSubstitutionFormat3Subtab… in process() local 180 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process() 343 …const ChainingContextualSubstitutionFormat1Subtable *subtable = (const ChainingContextualSubstitut… in process() local 344 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process() 349 …const ChainingContextualSubstitutionFormat2Subtable *subtable = (const ChainingContextualSubstitut… in process() local 350 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process() [all …]
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-ot-font.cc | 80 const OT::CmapSubtable *subtable = NULL; in _hb_ot_font_create() local 84 if (!subtable) subtable = cmap->find_subtable (3, 10); in _hb_ot_font_create() 85 if (!subtable) subtable = cmap->find_subtable (0, 6); in _hb_ot_font_create() 86 if (!subtable) subtable = cmap->find_subtable (0, 4); in _hb_ot_font_create() 88 if (!subtable) subtable = cmap->find_subtable (3, 1); in _hb_ot_font_create() 89 if (!subtable) subtable = cmap->find_subtable (0, 3); in _hb_ot_font_create() 90 if (!subtable) subtable = cmap->find_subtable (0, 2); in _hb_ot_font_create() 91 if (!subtable) subtable = cmap->find_subtable (0, 1); in _hb_ot_font_create() 92 if (!subtable) subtable = cmap->find_subtable (0, 0); in _hb_ot_font_create() 94 if (!subtable) subtable = &OT::Null(OT::CmapSubtable); in _hb_ot_font_create() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-font.cc | 80 const OT::CmapSubtable *subtable = NULL; in _hb_ot_font_create() local 84 if (!subtable) subtable = cmap->find_subtable (0, 6); in _hb_ot_font_create() 85 if (!subtable) subtable = cmap->find_subtable (0, 4); in _hb_ot_font_create() 86 if (!subtable) subtable = cmap->find_subtable (3, 10); in _hb_ot_font_create() 88 if (!subtable) subtable = cmap->find_subtable (0, 3); in _hb_ot_font_create() 89 if (!subtable) subtable = cmap->find_subtable (3, 1); in _hb_ot_font_create() 91 if (!subtable) subtable = &OT::Null(OT::CmapSubtable); in _hb_ot_font_create() 98 ot_font->cmap = subtable; in _hb_ot_font_create()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _k_e_r_n.py | 14 for subtable in self.kernTables: 15 if subtable.version == format: 16 return subtable 42 subtable = KernTable_format_unkown(version) 44 subtable = kern_classes[version]() 45 subtable.apple = apple 46 subtable.decompile(data[:length], ttFont) 47 self.kernTables.append(subtable) 61 for subtable in self.kernTables: 62 data = data + subtable.compile(ttFont) [all …]
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | bitmap_size_table.cc | 88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphOffset() local 89 if (subtable == NULL) { in GlyphOffset() 92 return subtable->GlyphOffset(glyph_id); in GlyphOffset() 96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphLength() local 97 if (subtable == NULL) { in GlyphLength() 100 return subtable->GlyphLength(glyph_id); in GlyphLength() 112 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphFormat() local 113 if (subtable == NULL) { in GlyphFormat() 116 return subtable->image_format(); in GlyphFormat() 160 IndexSubTable* subtable = (*subtable_list)[index]; in BinarySearchIndexSubTables() local [all …]
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
D | bitmap_size_table.cc | 88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphOffset() local 89 if (subtable == NULL) { in GlyphOffset() 92 return subtable->GlyphOffset(glyph_id); in GlyphOffset() 96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphLength() local 97 if (subtable == NULL) { in GlyphLength() 100 return subtable->GlyphLength(glyph_id); in GlyphLength() 112 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphFormat() local 113 if (subtable == NULL) { in GlyphFormat() 116 return subtable->image_format(); in GlyphFormat() 160 IndexSubTable* subtable = (*subtable_list)[index]; in BinarySearchIndexSubTables() local [all …]
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
D | cmaps.cpp | 63 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local 85 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); in createUnicodeMapper() 87 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper() 92 switch (SWAPW(subtable->format)) { in createUnicodeMapper() 94 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 98 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper()
|
/external/icu/icu4c/source/samples/layout/ |
D | cmaps.cpp | 63 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local 85 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); in createUnicodeMapper() 87 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper() 92 switch (SWAPW(subtable->format)) { in createUnicodeMapper() 94 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 98 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | cmaps.cpp | 58 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper() 129 le_uint16 tableFormat = SWAPW(subtable->format); in createUnicodeMapper() 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 138 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper() 147 printf("%s:%d: Unknown format %x.\n", __FILE__, __LINE__, (SWAPW(subtable->format))); in createUnicodeMapper()
|
/external/icu/icu4c/source/test/letest/ |
D | cmaps.cpp | 58 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper() 129 le_uint16 tableFormat = SWAPW(subtable->format); in createUnicodeMapper() 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 138 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper() 147 printf("%s:%d: Unknown format %x.\n", __FILE__, __LINE__, (SWAPW(subtable->format))); in createUnicodeMapper()
|
/external/chromium_org/third_party/icu/source/test/letest/ |
D | cmaps.cpp | 58 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper() 129 le_uint16 tableFormat = SWAPW(subtable->format); in createUnicodeMapper() 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 138 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper() 147 printf("%s:%d: Unknown format %x.\n", __FILE__, __LINE__, (SWAPW(subtable->format))); in createUnicodeMapper()
|
/external/chromium_org/third_party/icu/source/test/perf/leperf/ |
D | cmaps.cpp | 58 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper() 129 le_uint16 tableFormat = SWAPW(subtable->format); in createUnicodeMapper() 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 138 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper() 147 printf("%s:%d: Unknown format %x.\n", __FILE__, __LINE__, (SWAPW(subtable->format))); in createUnicodeMapper()
|