Home
last modified time | relevance | path

Searched refs:CPDF_ToUnicodeMap (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_tounicodemap_unittest.cpp11 EXPECT_THAT(CPDF_ToUnicodeMap::StringToCode("<0001>"), testing::Optional(1u)); in TEST()
12 EXPECT_THAT(CPDF_ToUnicodeMap::StringToCode("<c2>"), testing::Optional(194u)); in TEST()
13 EXPECT_THAT(CPDF_ToUnicodeMap::StringToCode("<A2>"), testing::Optional(162u)); in TEST()
14 EXPECT_THAT(CPDF_ToUnicodeMap::StringToCode("<Af2>"), in TEST()
16 EXPECT_THAT(CPDF_ToUnicodeMap::StringToCode("<FFFFFFFF>"), in TEST()
20 EXPECT_FALSE(CPDF_ToUnicodeMap::StringToCode("<100000000>").has_value()); in TEST()
21 EXPECT_FALSE(CPDF_ToUnicodeMap::StringToCode("<1abcdFFFF>").has_value()); in TEST()
24 EXPECT_FALSE(CPDF_ToUnicodeMap::StringToCode("").has_value()); in TEST()
25 EXPECT_FALSE(CPDF_ToUnicodeMap::StringToCode("<>").has_value()); in TEST()
26 EXPECT_FALSE(CPDF_ToUnicodeMap::StringToCode("12").has_value()); in TEST()
[all …]
Dcpdf_tounicodemap.cpp40 CPDF_ToUnicodeMap::CPDF_ToUnicodeMap(const CPDF_Stream* pStream) { in CPDF_ToUnicodeMap() function in CPDF_ToUnicodeMap
44 CPDF_ToUnicodeMap::~CPDF_ToUnicodeMap() = default;
46 WideString CPDF_ToUnicodeMap::Lookup(uint32_t charcode) const { in Lookup()
66 uint32_t CPDF_ToUnicodeMap::ReverseLookup(wchar_t unicode) const { in ReverseLookup()
75 pdfium::Optional<uint32_t> CPDF_ToUnicodeMap::StringToCode(ByteStringView str) { in StringToCode()
93 WideString CPDF_ToUnicodeMap::StringToWideString(ByteStringView str) { in StringToWideString()
116 void CPDF_ToUnicodeMap::Load(const CPDF_Stream* pStream) { in Load()
145 void CPDF_ToUnicodeMap::HandleBeginBFChar(CPDF_SimpleParser* pParser) { in HandleBeginBFChar()
159 void CPDF_ToUnicodeMap::HandleBeginBFRange(CPDF_SimpleParser* pParser) { in HandleBeginBFRange()
207 uint32_t CPDF_ToUnicodeMap::GetUnicode() const { in GetUnicode()
[all …]
Dcpdf_tounicodemap.h19 class CPDF_ToUnicodeMap {
21 explicit CPDF_ToUnicodeMap(const CPDF_Stream* pStream);
22 ~CPDF_ToUnicodeMap();
Dcpdf_font.h33 class CPDF_ToUnicodeMap; variable
151 mutable std::unique_ptr<CPDF_ToUnicodeMap> m_pToUnicodeMap;
Dcpdf_font.cpp276 m_pToUnicodeMap = pdfium::MakeUnique<CPDF_ToUnicodeMap>(pStream); in LoadUnicodeMap()