HomeSort by relevance Sort by last modified time
    Searched refs:cmap (Results 1 - 25 of 230) sorted by null

1 2 3 4 5 6 7 8 910

  /external/pdfium/testing/libfuzzer/
pdf_cmap_fuzzer.cc 10 CPDF_CMap cmap; local
11 cmap.LoadEmbedded(data, size);
  /external/skia/src/pdf/
SkPDFMakeToUnicodeCmap.cpp 12 static void append_tounicode_header(SkDynamicMemoryWStream* cmap,
20 cmap->writeText(kHeader);
32 cmap->writeText(kSysInfo);
41 cmap->writeText(kTypeInfoHeader);
43 cmap->writeText("<0000> <FFFF>\n");
45 cmap->writeText("<00> <FF>\n");
47 cmap->writeText("endcodespacerange\n");
50 static void append_cmap_footer(SkDynamicMemoryWStream* cmap) {
53 "CMapName currentdict /CMap defineresource pop\n"
56 cmap->writeText(kFooter)
    [all...]
SkPDFMakeToUnicodeCmap.h 24 SkDynamicMemoryWStream* cmap,
  /external/freetype/src/psaux/
t1cmap.c 35 t1_cmap_std_init( T1_CMapStd cmap,
38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap );
42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs;
43 cmap->glyph_names = (const char* const*)face->type1.glyph_names;
44 cmap->sid_to_string = psnames->adobe_std_strings;
45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding
48 FT_ASSERT( cmap->code_to_sid != NULL );
53 t1_cmap_std_done( T1_CMapStd cmap )
55 cmap->num_glyphs = 0;
56 cmap->glyph_names = NULL
    [all...]
t1cmap.h 42 FT_CMapRec cmap; member in struct:T1_CMapStdRec_
63 /***** TYPE1 CUSTOM ENCODING CMAP *****/
72 FT_CMapRec cmap; member in struct:T1_CMapCustomRec_
87 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP *****/
  /external/pdfium/third_party/freetype/src/psaux/
t1cmap.c 35 t1_cmap_std_init( T1_CMapStd cmap,
38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap );
42 cmap->num_glyphs = (FT_UInt)face->type1.num_glyphs;
43 cmap->glyph_names = (const char* const*)face->type1.glyph_names;
44 cmap->sid_to_string = psnames->adobe_std_strings;
45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding
48 FT_ASSERT( cmap->code_to_sid != NULL );
53 t1_cmap_std_done( T1_CMapStd cmap )
55 cmap->num_glyphs = 0;
56 cmap->glyph_names = NULL
    [all...]
t1cmap.h 42 FT_CMapRec cmap; member in struct:T1_CMapStdRec_
63 /***** TYPE1 CUSTOM ENCODING CMAP *****/
72 FT_CMapRec cmap; member in struct:T1_CMapCustomRec_
87 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP *****/
  /external/sfntly/cpp/src/test/
cmap_editing_test.cc 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap);
59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
61 CMapTable::CMapPtr cmap; local
62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP));
63 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id());
76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap);
84 CMapTable::CMapPtr cmap; local
85 cmap.Attach(cmap_iter.Next());
86 if (!cmap)
96 CMapTable::CMapPtr cmap; local
    [all...]
  /external/icu/icu4c/source/samples/layout/
cmaps.h 33 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap);
36 CMAPMapper(const CMAPTable *cmap);
47 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header);
68 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
83 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap)
84 : fcmap(cmap)
cmaps.cpp 65 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap)
68 le_uint16 nSubtables = SWAPW(cmap->numberSubtables);
73 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i];
91 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10);
93 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1);
100 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable);
106 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
116 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header)
117 : CMAPMapper(cmap)
176 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups
    [all...]
  /external/icu/icu4c/source/test/letest/
cmaps.h 25 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap);
28 CMAPMapper(const CMAPTable *cmap);
39 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header);
60 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
75 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap)
76 : fcmap(cmap)
cmaps.cpp 56 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap)
59 le_uint16 nSubtables = SWAPW(cmap->numberSubtables);
68 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i];
94 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i];
124 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset);
139 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable);
145 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
156 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header)
157 : CMAPMapper(cmap)
216 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups
    [all...]
  /external/icu/icu4c/source/test/perf/leperf/
cmaps.h 29 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap);
32 CMAPMapper(const CMAPTable *cmap);
43 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header);
64 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
79 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap)
80 : fcmap(cmap)
cmaps.cpp 60 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap)
63 le_uint16 nSubtables = SWAPW(cmap->numberSubtables);
72 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i];
98 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i];
128 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset);
140 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable);
146 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
157 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header)
158 : CMAPMapper(cmap)
217 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups
    [all...]
  /external/freetype/src/cff/
cffcmap.h 5 /* CFF character mapping table (cmap) support (specification). */
40 FT_CMapRec cmap; member in struct:CFF_CMapStdRec_
52 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
cffcmap.c 5 /* CFF character mapping table (cmap) support (body). */
36 cff_cmap_encoding_init( CFF_CMapStd cmap,
39 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap );
46 cmap->gids = encoding->codes;
53 cff_cmap_encoding_done( CFF_CMapStd cmap )
55 cmap->gids = NULL;
60 cff_cmap_encoding_char_index( CFF_CMapStd cmap,
67 result = cmap->gids[char_code];
74 cff_cmap_encoding_char_next( CFF_CMapStd cmap,
93 result = cmap->gids[code]
    [all...]
  /external/pdfium/third_party/freetype/src/cff/
cffcmap.h 5 /* CFF character mapping table (cmap) support (specification). */
40 FT_CMapRec cmap; member in struct:CFF_CMapStdRec_
52 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
cffcmap.c 5 /* CFF character mapping table (cmap) support (body). */
36 cff_cmap_encoding_init( CFF_CMapStd cmap,
39 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap );
46 cmap->gids = encoding->codes;
53 cff_cmap_encoding_done( CFF_CMapStd cmap )
55 cmap->gids = NULL;
60 cff_cmap_encoding_char_index( CFF_CMapStd cmap,
67 result = cmap->gids[char_code];
74 cff_cmap_encoding_char_next( CFF_CMapStd cmap,
93 result = cmap->gids[code]
    [all...]
  /external/trappy/trappy/plotter/
ColorMap.py 43 def __init__(self, num_colors, cmap='hsv'):
45 self.scalar_map = cmx.ScalarMappable(norm=self.color_norm, cmap=cmap)
48 def cmap(self, index): member in class:ColorMap
64 return self.cmap(self.num_colors - index)
80 return cls(num_colors, cmap=rgb_map)
  /external/freetype/src/sfnt/
ttcmap.c 5 /* TrueType character mapping table (cmap) support (body). */
62 tt_cmap_init( TT_CMap cmap,
65 cmap->data = table;
131 tt_cmap0_char_index( TT_CMap cmap,
134 FT_Byte* table = cmap->data;
142 tt_cmap0_char_next( TT_CMap cmap,
145 FT_Byte* table = cmap->data;
168 tt_cmap0_get_info( TT_CMap cmap,
171 FT_Byte* p = cmap->data + 4;
288 /* outside of the CMap). *
673 TT_CMapRec cmap; member in struct:TT_CMap4Rec_
2214 TT_CMapRec cmap; member in struct:TT_CMap12Rec_
2570 TT_CMapRec cmap; member in struct:TT_CMap13Rec_
2928 TT_CMapRec cmap; member in struct:TT_CMap14Rec_
    [all...]
  /external/pdfium/third_party/freetype/src/sfnt/
ttcmap.c 5 /* TrueType character mapping table (cmap) support (body). */
62 tt_cmap_init( TT_CMap cmap,
65 cmap->data = table;
131 tt_cmap0_char_index( TT_CMap cmap,
134 FT_Byte* table = cmap->data;
142 tt_cmap0_char_next( TT_CMap cmap,
145 FT_Byte* table = cmap->data;
168 tt_cmap0_get_info( TT_CMap cmap,
171 FT_Byte* p = cmap->data + 4;
286 /* outside of the CMap). *
669 TT_CMapRec cmap; member in struct:TT_CMap4Rec_
2145 TT_CMapRec cmap; member in struct:TT_CMap12Rec_
2496 TT_CMapRec cmap; member in struct:TT_CMap13Rec_
2852 TT_CMapRec cmap; member in struct:TT_CMap14Rec_
    [all...]
  /frameworks/minikin/tests/unittest/
CmapCoverageTest.cpp 61 // Returns valid cmap format 4 table contents. All glyph ID is same value as code point. (e.g.
112 // Returns valid cmap format 4 table contents. All glyph ID is same value as code point. (e.g.
136 // Cmap can store 32 bit glyph ID but due to the size of numGlyph, a font file can contain
288 SCOPED_TRACE("Reading beyond buffer size - Too small cmap size");
289 std::vector<uint8_t> cmap = local
293 CmapCoverage::getCoverage(cmap.data(), 3 /* too small */, &vsTables);
298 SCOPED_TRACE("Reading beyond buffer size - space needed for tables goes beyond cmap size");
299 std::vector<uint8_t> cmap = local
302 writeU16(1000, cmap.data(), 2 /* offset of num tables in cmap header */)
309 std::vector<uint8_t> cmap = local
319 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap(0, 0, std::vector<uint16_t>( local
328 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap(0, 0, std::vector<uint16_t>( local
353 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( local
377 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( local
390 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( local
400 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( local
445 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat4Cmap( local
462 std::vector<uint8_t> cmap = builder.build(); local
474 std::vector<uint8_t> cmap = builder.build(); local
487 std::vector<uint8_t> cmap = builder.build(); local
504 std::vector<uint8_t> cmap = builder.build(); local
517 std::vector<uint8_t> cmap = builder.build(); local
531 std::vector<uint8_t> cmap = builder.build(); local
539 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( local
548 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( local
556 std::vector<uint8_t> cmap = CmapBuilder::buildSingleFormat12Cmap( local
594 std::vector<uint8_t> cmap = builder.build(); local
620 std::vector<uint8_t> cmap = builder.build(); local
640 std::vector<uint8_t> cmap = builder.build(); local
654 std::vector<uint8_t> cmap = builder.build(); local
668 std::vector<uint8_t> cmap = builder.build(); local
688 std::vector<uint8_t> cmap = builder.build(); local
702 std::vector<uint8_t> cmap = builder.build(); local
716 std::vector<uint8_t> cmap = builder.build(); local
736 std::vector<uint8_t> cmap = builder.build(); local
776 std::vector<uint8_t> cmap = builder.build(); local
850 std::vector<uint8_t> cmap = builder.build(); local
867 std::vector<uint8_t> cmap = builder.build(); local
882 std::vector<uint8_t> cmap = builder.build(); local
897 std::vector<uint8_t> cmap = builder.build(); local
913 std::vector<uint8_t> cmap = builder.build(); local
929 std::vector<uint8_t> cmap = builder.build(); local
943 std::vector<uint8_t> cmap = builder.build(); local
957 std::vector<uint8_t> cmap = builder.build(); local
971 std::vector<uint8_t> cmap = builder.build(); local
985 std::vector<uint8_t> cmap = builder.build(); local
1005 std::vector<uint8_t> cmap = builder.build(); local
1029 std::vector<uint8_t> cmap = builder.build(); local
1052 std::vector<uint8_t> cmap = builder.build(); local
1078 std::vector<uint8_t> cmap = builder.build(); local
1102 std::vector<uint8_t> cmap = builder.build(); local
    [all...]
  /external/sfntly/cpp/src/test/autogenerated/
cmap_basic_test.cc 71 cmap_table_ = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
73 fprintf(stderr, "No CMap: %s\n", font_name.c_str());
83 // A font can only have one CMap table
85 TiXmlNodeVector* cmaps = GetNodesWithName(cmap_table->at(0), "cmap");
89 // But there may be more than one CMap in this table
95 Ptr<CMapTable::CMap> cmap; local
96 cmap.Attach(cmap_table_->GetCMap(platform_id, encoding_id));
97 if (!cmap) {
102 ASSERT_EQ(cmap->platform_id(), platform_id)
    [all...]
  /frameworks/base/core/jni/android/graphics/
GIFMovie.cpp 120 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap,
124 if (*src != transparent && *src < cmap->ColorCount) {
125 const GifColorType& col = cmap->Colors[*src];
133 const ColorMapObject* cmap, int transparent, int copyWidth,
141 copyLine(dst, src, cmap, transparent, copyWidth);
149 static void blitInterlace(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap,
168 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 0);
171 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 4);
174 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 4, 2);
176 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 2, 1)
    [all...]
  /external/fonttools/Lib/fontTools/ttLib/tables/
_c_m_a_p.py 38 print("Error: cmap subtable is reported as having zero length: platformID %s, platEncID %s, format %s offset %s. Skipping table." % (platformID, platEncID,format, offset))
51 table.cmap = tables[seenOffsets[offset]].cmap
66 offset = seen[id(table.cmap)]
72 offset = seen[id(table.cmap)] = done[chunk] = totalOffset + len(tableData)
118 # called with an attribute that the cmap subtable doesn't have.
123 assert len(data) == length, "corrupt cmap table format %d (data length: %d, header length: %d)" % (format, len(data), length)
137 codes = sorted(self.cmap.items())
185 assert 262 == self.length, "Format 0 cmap subtable not 262 bytes"
188 self.cmap = cmap = {
    [all...]

Completed in 1007 milliseconds

1 2 3 4 5 6 7 8 910