Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/font/
Dfpdf_font_unittest.cpp8 TEST(fpdf_font, StringToCode) { in TEST() argument
9 EXPECT_EQ(0u, CPDF_ToUnicodeMap::StringToCode("")); in TEST()
10 EXPECT_EQ(194u, CPDF_ToUnicodeMap::StringToCode("<c2")); in TEST()
11 EXPECT_EQ(162u, CPDF_ToUnicodeMap::StringToCode("<A2")); in TEST()
12 EXPECT_EQ(2802u, CPDF_ToUnicodeMap::StringToCode("<Af2")); in TEST()
13 EXPECT_EQ(12u, CPDF_ToUnicodeMap::StringToCode("12")); in TEST()
14 EXPECT_EQ(128u, CPDF_ToUnicodeMap::StringToCode("128")); in TEST()
Dfpdf_font.cpp137 uint32_t CPDF_ToUnicodeMap::StringToCode(const CFX_ByteStringC& str) { in StringToCode() function in CPDF_ToUnicodeMap
225 uint32_t srccode = StringToCode(word); in Load()
248 uint32_t lowcode = StringToCode(low.AsStringC()); in Load()
250 (lowcode & 0xffffff00) | (StringToCode(high.AsStringC()) & 0xff); in Load()
277 value = StringToCode(start.AsStringC()); in Load()
Dfont_int.h201 static uint32_t StringToCode(const CFX_ByteStringC& str);