Searched refs:StringToCode (Results 1 – 3 of 3) sorted by relevance
9 TEST(cpdf_tounicodemap, StringToCode) { in TEST() argument10 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()
55 uint32_t CPDF_ToUnicodeMap::StringToCode(const ByteStringView& str) { in StringToCode() function in CPDF_ToUnicodeMap141 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()
32 static uint32_t StringToCode(const ByteStringView& str);