Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/font/
Dcpdf_tounicodemap_unittest.cpp9 TEST(cpdf_tounicodemap, StringToCode) { in TEST() argument
10 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()
Dcpdf_tounicodemap.cpp55 uint32_t CPDF_ToUnicodeMap::StringToCode(const ByteStringView& str) { in StringToCode() function in CPDF_ToUnicodeMap
141 uint32_t srccode = StringToCode(word); in Load()
164 uint32_t lowcode = StringToCode(low.AsStringView()); in Load()
166 (lowcode & 0xffffff00) | (StringToCode(high.AsStringView()) & 0xff); in Load()
193 value = StringToCode(start.AsStringView()); in Load()
Dcpdf_tounicodemap.h32 static uint32_t StringToCode(const ByteStringView& str);