OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StringToCode
(Results
1 - 3
of
3
) sorted by null
/external/pdfium/core/fpdfapi/font/
fpdf_font_unittest.cpp
8
TEST(fpdf_font,
StringToCode
) {
9
EXPECT_EQ(0u, CPDF_ToUnicodeMap::
StringToCode
(""));
10
EXPECT_EQ(194u, CPDF_ToUnicodeMap::
StringToCode
("<c2"));
11
EXPECT_EQ(162u, CPDF_ToUnicodeMap::
StringToCode
("<A2"));
12
EXPECT_EQ(2802u, CPDF_ToUnicodeMap::
StringToCode
("<Af2"));
13
EXPECT_EQ(12u, CPDF_ToUnicodeMap::
StringToCode
("12"));
14
EXPECT_EQ(128u, CPDF_ToUnicodeMap::
StringToCode
("128"));
fpdf_font.cpp
137
uint32_t CPDF_ToUnicodeMap::
StringToCode
(const CFX_ByteStringC& str) {
225
uint32_t srccode =
StringToCode
(word);
248
uint32_t lowcode =
StringToCode
(low.AsStringC());
250
(lowcode & 0xffffff00) | (
StringToCode
(high.AsStringC()) & 0xff);
277
value =
StringToCode
(start.AsStringC());
font_int.h
201
static uint32_t
StringToCode
(const CFX_ByteStringC& str);
Completed in 53 milliseconds