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.cpp10 EXPECT_EQ(0u, CPDF_ToUnicodeMap::StringToCode("")); in TEST()
11 EXPECT_EQ(194u, CPDF_ToUnicodeMap::StringToCode("<c2")); in TEST()
12 EXPECT_EQ(162u, CPDF_ToUnicodeMap::StringToCode("<A2")); in TEST()
13 EXPECT_EQ(2802u, CPDF_ToUnicodeMap::StringToCode("<Af2")); in TEST()
14 EXPECT_EQ(12u, CPDF_ToUnicodeMap::StringToCode("12")); in TEST()
15 EXPECT_EQ(128u, CPDF_ToUnicodeMap::StringToCode("128")); in TEST()
19 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("")); in TEST()
20 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("1234")); in TEST()
22 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("<c2")); in TEST()
25 EXPECT_EQ(res, CPDF_ToUnicodeMap::StringToWideString("<c2ab")); in TEST()
[all …]
Dcpdf_tounicodemap.cpp17 WideString CPDF_ToUnicodeMap::Lookup(uint32_t charcode) const { in Lookup()
46 uint32_t CPDF_ToUnicodeMap::ReverseLookup(wchar_t unicode) const { in ReverseLookup()
55 uint32_t CPDF_ToUnicodeMap::StringToCode(const ByteStringView& str) { in StringToCode()
92 WideString CPDF_ToUnicodeMap::StringToWideString(const ByteStringView& str) { in StringToWideString()
115 CPDF_ToUnicodeMap::CPDF_ToUnicodeMap() : m_pBaseMap(nullptr) {} in CPDF_ToUnicodeMap() function in CPDF_ToUnicodeMap
117 CPDF_ToUnicodeMap::~CPDF_ToUnicodeMap() {} in ~CPDF_ToUnicodeMap()
119 uint32_t CPDF_ToUnicodeMap::GetUnicode() { in GetUnicode()
125 void CPDF_ToUnicodeMap::Load(CPDF_Stream* pStream) { in Load()
Dcpdf_tounicodemap.h18 class CPDF_ToUnicodeMap {
20 CPDF_ToUnicodeMap();
21 ~CPDF_ToUnicodeMap();
Dcpdf_font.h29 class CPDF_ToUnicodeMap; variable
117 mutable std::unique_ptr<CPDF_ToUnicodeMap> m_pToUnicodeMap;
Dcpdf_font.cpp284 m_pToUnicodeMap = pdfium::MakeUnique<CPDF_ToUnicodeMap>(); in LoadUnicodeMap()