Home
last modified time | relevance | path

Searched refs:StringToWideString (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_tounicodemap_unittest.cpp34 TEST(cpdf_tounicodemap, StringToWideString) { in TEST() argument
35 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("")); in TEST()
36 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("1234")); in TEST()
37 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("<c2")); in TEST()
38 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("<c2D2")); in TEST()
39 EXPECT_EQ(L"", CPDF_ToUnicodeMap::StringToWideString("c2ab>")); in TEST()
42 EXPECT_EQ(res, CPDF_ToUnicodeMap::StringToWideString("<c2ab>")); in TEST()
43 EXPECT_EQ(res, CPDF_ToUnicodeMap::StringToWideString("<c2abab>")); in TEST()
44 EXPECT_EQ(res, CPDF_ToUnicodeMap::StringToWideString("<c2ab 1234>")); in TEST()
47 EXPECT_EQ(res, CPDF_ToUnicodeMap::StringToWideString("<c2abFaAb>")); in TEST()
[all …]
Dcpdf_tounicodemap.cpp93 WideString CPDF_ToUnicodeMap::StringToWideString(ByteStringView str) { in StringToWideString() function in CPDF_ToUnicodeMap
155 SetCode(code.value(), StringToWideString(pParser->GetWord())); in HandleBeginBFChar()
180 SetCode(code, StringToWideString(pParser->GetWord())); in HandleBeginBFRange()
185 WideString destcode = StringToWideString(start); in HandleBeginBFRange()
Dcpdf_tounicodemap.h32 static WideString StringToWideString(ByteStringView str);