Home
last modified time | relevance | path

Searched refs:CPDF_CMap (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_cmap.cpp29 CPDF_CMap::CodingScheme m_CodingScheme;
38 CPDF_CMap::MixedTwoBytes,
44 CPDF_CMap::MixedTwoBytes,
50 CPDF_CMap::MixedTwoBytes,
56 CPDF_CMap::MixedTwoBytes,
62 CPDF_CMap::MixedTwoBytes,
68 CPDF_CMap::MixedTwoBytes,
71 {"UniGB-UCS2", CIDSET_GB1, CIDCODING_UCS2, CPDF_CMap::TwoBytes, 0, {}},
72 {"UniGB-UTF16", CIDSET_GB1, CIDCODING_UTF16, CPDF_CMap::TwoBytes, 0, {}},
76 CPDF_CMap::MixedTwoBytes,
[all …]
Dcpdf_cmapparser.h20 explicit CPDF_CMapParser(CPDF_CMap* pCMap);
46 static Optional<CPDF_CMap::CodeRange> GetCodeRange(ByteStringView first,
51 UnownedPtr<CPDF_CMap> const m_pCMap;
52 std::vector<CPDF_CMap::CodeRange> m_Ranges;
53 std::vector<CPDF_CMap::CodeRange> m_PendingRanges;
54 std::vector<CPDF_CMap::CIDRange> m_AdditionalCharcodeToCIDMappings;
Dcpdf_cmapmanager.cpp17 RetainPtr<const CPDF_CMap> LoadPredefinedCMap(ByteStringView name) { in LoadPredefinedCMap()
20 return pdfium::MakeRetain<CPDF_CMap>(name); in LoadPredefinedCMap()
29 RetainPtr<const CPDF_CMap> CPDF_CMapManager::GetPredefinedCMap( in GetPredefinedCMap()
35 RetainPtr<const CPDF_CMap> pCMap = LoadPredefinedCMap(name.AsStringView()); in GetPredefinedCMap()
Dcpdf_cmapparser.cpp30 CPDF_CMapParser::CPDF_CMapParser(CPDF_CMap* pCMap) : m_pCMap(pCMap) {} in CPDF_CMapParser()
117 Optional<CPDF_CMap::CodeRange> range = in HandleCodeSpaceRange()
130 m_pCMap->SetCodingScheme(first_range.m_CharSize == 2 ? CPDF_CMap::TwoBytes in HandleCodeSpaceRange()
131 : CPDF_CMap::OneByte); in HandleCodeSpaceRange()
133 m_pCMap->SetCodingScheme(CPDF_CMap::MixedFourBytes); in HandleCodeSpaceRange()
166 Optional<CPDF_CMap::CodeRange> CPDF_CMapParser::GetCodeRange( in GetCodeRange()
181 CPDF_CMap::CodeRange range; in GetCodeRange()
Dcpdf_cmap.h29 class CPDF_CMap final : public Retainable {
81 explicit CPDF_CMap(ByteStringView bsPredefinedName);
82 explicit CPDF_CMap(pdfium::span<const uint8_t> spEmbeddedData);
83 ~CPDF_CMap() override;
Dcpdf_cmapmanager.h22 RetainPtr<const CPDF_CMap> GetPredefinedCMap(const ByteString& name);
26 std::map<ByteString, RetainPtr<const CPDF_CMap>> m_CMaps;
Dcpdf_cidfont.h32 class CPDF_CMap; variable
78 RetainPtr<const CPDF_CMap> m_pCMap;
Dcpdf_cmapparser_unittest.cpp40 Optional<CPDF_CMap::CodeRange> range; in TEST()
Dcpdf_cidfont.cpp364 m_pCMap = pdfium::MakeRetain<CPDF_CMap>(span); in Load()
/external/pdfium/testing/fuzzers/
Dpdf_cmap_fuzzer.cc14 pdfium::MakeRetain<CPDF_CMap>(pdfium::make_span(data, size)); in LLVMFuzzerTestOneInput()