OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CPDF_ToUnicodeMap
(Results
1 - 5
of
5
) sorted by null
/external/pdfium/core/fpdfapi/font/
cpdf_tounicodemap_unittest.cpp
5
#include "core/fpdfapi/font/
cpdf_tounicodemap
.h"
9
TEST(
cpdf_tounicodemap
, StringToCode) {
10
EXPECT_EQ(0u,
CPDF_ToUnicodeMap
::StringToCode(""));
11
EXPECT_EQ(194u,
CPDF_ToUnicodeMap
::StringToCode("<c2"));
12
EXPECT_EQ(162u,
CPDF_ToUnicodeMap
::StringToCode("<A2"));
13
EXPECT_EQ(2802u,
CPDF_ToUnicodeMap
::StringToCode("<Af2"));
14
EXPECT_EQ(12u,
CPDF_ToUnicodeMap
::StringToCode("12"));
15
EXPECT_EQ(128u,
CPDF_ToUnicodeMap
::StringToCode("128"));
18
TEST(
cpdf_tounicodemap
, StringToWideString) {
19
EXPECT_EQ(L"",
CPDF_ToUnicodeMap
::StringToWideString(""))
[
all
...]
cpdf_tounicodemap.h
18
class
CPDF_ToUnicodeMap
{
20
CPDF_ToUnicodeMap
();
21
~
CPDF_ToUnicodeMap
();
cpdf_tounicodemap.cpp
7
#include "core/fpdfapi/font/
cpdf_tounicodemap
.h"
17
WideString
CPDF_ToUnicodeMap
::Lookup(uint32_t charcode) const {
46
uint32_t
CPDF_ToUnicodeMap
::ReverseLookup(wchar_t unicode) const {
55
uint32_t
CPDF_ToUnicodeMap
::StringToCode(const ByteStringView& str) {
92
WideString
CPDF_ToUnicodeMap
::StringToWideString(const ByteStringView& str) {
115
CPDF_ToUnicodeMap
::
CPDF_ToUnicodeMap
() : m_pBaseMap(nullptr) {}
117
CPDF_ToUnicodeMap
::~
CPDF_ToUnicodeMap
() {}
119
uint32_t
CPDF_ToUnicodeMap
::GetUnicode()
[
all
...]
cpdf_font.h
13
#include "core/fpdfapi/font/
cpdf_tounicodemap
.h"
29
class
CPDF_ToUnicodeMap
;
117
mutable std::unique_ptr<
CPDF_ToUnicodeMap
> m_pToUnicodeMap;
cpdf_font.cpp
284
m_pToUnicodeMap = pdfium::MakeUnique<
CPDF_ToUnicodeMap
>();
Completed in 3708 milliseconds