Home
last modified time | relevance | path

Searched refs:FX_WCHAR (Results 1 – 25 of 48) sorted by relevance

12

/external/pdfium/core/src/fxcrt/
Dfx_unicode.cpp9 extern const FX_WCHAR gs_FX_TextLayout_VerticalMirror[64];
10 extern const FX_WCHAR gs_FX_TextLayout_BidiMirror[512];
11 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch) in FX_GetUnicodeProperties()
15 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch) in FX_IsCtrlCode()
20 FX_BOOL FX_IsRotationCode(FX_WCHAR ch) in FX_IsRotationCode()
24 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch) in FX_IsCombinationChar()
29 FX_BOOL FX_IsBidiChar(FX_WCHAR wch) in FX_IsBidiChar()
35 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical) in FX_GetMirrorChar()
51 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL bVertical) in FX_GetMirrorChar()
Dfx_basic_gcc.cpp145 FX_WCHAR* FXSYS_wcslwr(FX_WCHAR* str) in FXSYS_wcslwr()
150 FX_WCHAR* s = str; in FXSYS_wcslwr()
157 FX_WCHAR* FXSYS_wcsupr(FX_WCHAR* str) in FXSYS_wcsupr()
162 FX_WCHAR* s = str; in FXSYS_wcsupr()
182 int FXSYS_wcsicmp(const FX_WCHAR *dst, const FX_WCHAR *src) in FXSYS_wcsicmp()
184 FX_WCHAR f, l; in FXSYS_wcsicmp()
186 if ( ((f = (FX_WCHAR)(*(dst++))) >= 'A') && (f <= 'Z') ) { in FXSYS_wcsicmp()
189 if ( ((l = (FX_WCHAR)(*(src++))) >= 'A') && (l <= 'Z') ) { in FXSYS_wcsicmp()
Dfx_basic_buffer.cpp177 void CFX_WideTextBuf::AppendChar(FX_WCHAR ch) in AppendChar()
179 if (m_AllocSize < m_DataSize + (FX_STRSIZE)sizeof(FX_WCHAR)) { in AppendChar()
180 ExpandBuf(sizeof(FX_WCHAR)); in AppendChar()
183 *(FX_WCHAR*)(m_pBuffer + m_DataSize) = ch; in AppendChar()
184 m_DataSize += sizeof(FX_WCHAR); in AppendChar()
188 AppendBlock(str.GetPtr(), str.GetLength() * sizeof(FX_WCHAR)); in operator <<()
193 AppendBlock(str.c_str(), str.GetLength() * sizeof(FX_WCHAR)); in operator <<()
201 if (m_AllocSize < m_DataSize + (FX_STRSIZE)(len * sizeof(FX_WCHAR))) { in operator <<()
202 ExpandBuf(len * sizeof(FX_WCHAR)); in operator <<()
205 FX_LPWSTR str = (FX_WCHAR*)(m_pBuffer + m_DataSize); in operator <<()
[all …]
Dfx_basic_wstring.cpp22 int overhead = offsetof(StringData, m_String) + sizeof(FX_WCHAR); in Create()
24 iSize *= sizeof(FX_WCHAR); in Create()
33 int usableLen = (totalSize - overhead) / sizeof(FX_WCHAR); in Create()
66 FXSYS_memcpy32(m_pData->m_String, lpsz, nLen * sizeof(FX_WCHAR)); in CFX_WideString()
72 CFX_WideString::CFX_WideString(FX_WCHAR ch) in CFX_WideString()
87 FXSYS_memcpy32(m_pData->m_String, str.GetPtr(), str.GetLength()*sizeof(FX_WCHAR)); in CFX_WideString()
99 FXSYS_memcpy32(m_pData->m_String, str1.GetPtr(), str1.GetLength()*sizeof(FX_WCHAR)); in CFX_WideString()
100 …S_memcpy32(m_pData->m_String + str1.GetLength(), str2.GetPtr(), str2.GetLength()*sizeof(FX_WCHAR)); in CFX_WideString()
157 const CFX_WideString& CFX_WideString::operator+=(FX_WCHAR ch) in operator +=()
232 FXSYS_memcpy32(m_pData->m_String, lpszSrcData, nSrcLen * sizeof(FX_WCHAR)); in ConcatInPlace()
[all …]
Dfx_ucddata.cpp4106 extern const FX_WCHAR gs_FX_TextLayout_VerticalMirror[64] = {
4112 extern const FX_WCHAR gs_FX_TextLayout_BidiMirror[512] = {
Dfx_basic_utf.cpp15 m_Buffer.AppendChar((FX_WCHAR)ch); in AppendChar()
48 void CFX_UTF8Encoder::Input(FX_WCHAR unicode) in Input()
Dfx_extension.cpp171 FX_WCHAR wch = pwsStr[iUsedLen]; in FXSYS_wcstof()
182 FX_WCHAR wch = pwsStr[iUsedLen]; in FXSYS_wcstof()
208 FX_WCHAR wch1 = 0, wch2 = 0; in FXSYS_wcsnicmp()
210 wch1 = (FX_WCHAR)FXSYS_tolower(*s1++); in FXSYS_wcsnicmp()
211 wch2 = (FX_WCHAR)FXSYS_tolower(*s2++); in FXSYS_wcsnicmp()
Dfx_arabic.h22 virtual FX_BOOL AppendChar(FX_WCHAR wch) FX_OVERRIDE;
Dfx_arabic.cpp24 FX_BOOL CFX_BidiChar::AppendChar(FX_WCHAR wch) in AppendChar()
/external/pdfium/core/src/fpdftext/
Dunicodenormalization.cpp8 extern const FX_WCHAR g_UnicodeData_Normalization[];
9 extern const FX_WCHAR g_UnicodeData_Normalization_Map1[];
10 extern const FX_WCHAR g_UnicodeData_Normalization_Map2[];
11 extern const FX_WCHAR g_UnicodeData_Normalization_Map3[];
12 extern const FX_WCHAR g_UnicodeData_Normalization_Map4[];
20 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_LPWSTR pDst) in FX_Unicode_GetNormalization()
23 FX_WCHAR wFind = g_UnicodeData_Normalization[wch]; in FX_Unicode_GetNormalization()
40 wFind = (FX_WCHAR)(*pMap ++); in FX_Unicode_GetNormalization()
45 FX_WCHAR n = wFind; in FX_Unicode_GetNormalization()
56 FX_WCHAR wch = wsSrc.GetAt(len); in FX_WideString_GetNormalization()
Dunicodenormalizationdata.cpp8 extern const FX_WCHAR g_UnicodeData_Normalization[65536] = {
4106 extern const FX_WCHAR g_UnicodeData_Normalization_Map1[5376] = {
4444 extern const FX_WCHAR g_UnicodeData_Normalization_Map2[1724] = {
4554 extern const FX_WCHAR g_UnicodeData_Normalization_Map3[1164] = {
4629 extern const FX_WCHAR g_UnicodeData_Normalization_Map4[488] = {
Dtext_int.h33 FX_WCHAR m_Unicode;
95 static FX_BOOL IsLetter(FX_WCHAR unicode);
97 FX_BOOL IsHyphen(FX_WCHAR curChar);
105 FX_BOOL GenerateCharInfo(FX_WCHAR unicode, PAGECHAR_INFO& info);
161 int iSubString, FX_WCHAR chSep);
218 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_LPWSTR pDst);
220 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest);
Dfpdf_text_int.cpp18 FX_BOOL _IsIgnoreSpaceCharacter(FX_WCHAR curChar) in _IsIgnoreSpaceCharacter()
1159 FX_WCHAR wChar = str.GetAt(i); in AddCharInfoByLRDirection()
1166 pDst = FX_Alloc(FX_WCHAR, nCount); in AddCharInfoByLRDirection()
1194 FX_WCHAR wChar = FX_GetMirrorChar(str.GetAt(i), TRUE, FALSE); in AddCharInfoByRLDirection()
1198 pDst = FX_Alloc(FX_WCHAR, nCount); in AddCharInfoByRLDirection()
1483 FX_WCHAR wChar = actText.GetAt(i); in PreMarkedContent()
1496 FX_WCHAR wChar = actText.GetAt(i); in PreMarkedContent()
1548 FX_WCHAR wChar = actText.GetAt(k); in ProcessMarkedContent()
1651 wstrItem += (FX_WCHAR)item.m_CharCode; in ProcessTextObject()
1653 FX_WCHAR curChar = wstrItem.GetAt(0); in ProcessTextObject()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_ucd.h94 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch);
95 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch);
96 FX_BOOL FX_IsRotationCode(FX_WCHAR ch);
97 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch);
98 FX_BOOL FX_IsBidiChar(FX_WCHAR wch);
99 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical);
100 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL bVertical);
Dfx_string.h470 typedef FX_WCHAR value_type;
484 CFX_WideStringC(FX_WCHAR& ch) in CFX_WideStringC()
548 FX_WCHAR GetAt(FX_STRSIZE index) const in GetAt()
589 const FX_WCHAR& operator[] (size_t index) const
624 typedef FX_WCHAR value_type;
638 CFX_WideString(FX_WCHAR ch);
687 const CFX_WideString& operator += (FX_WCHAR ch);
710 FX_WCHAR GetAt(FX_STRSIZE nIndex) const in GetAt()
715 FX_WCHAR operator[](FX_STRSIZE nIndex) const
720 void SetAt(FX_STRSIZE nIndex, FX_WCHAR ch);
[all …]
Dfx_arb.h18 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0;
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_charset.cpp9 extern FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR*);
63 const FX_CHAR* FCS_GetAltStr(FX_WCHAR unicode) in FCS_GetAltStr()
509 FX_WCHAR FT_UnicodeFromCharCode(int encoding, FX_DWORD charcode) in FT_UnicodeFromCharCode()
563 FX_DWORD FT_CharCodeFromUnicode(int encoding, FX_WCHAR unicode) in FT_CharCodeFromUnicode()
605 FX_DWORD PDF_PredefinedCharCodeFromUnicode(int encoding, FX_WCHAR unicode) in PDF_PredefinedCharCodeFromUnicode()
613 extern void FXFT_adobe_name_from_unicode(char* glyph_name, FX_WCHAR unicode);
617 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name) in PDF_UnicodeFromAdobeName()
619 return (FX_WCHAR)(FXFT_unicode_from_adobe_name(name) & 0x7FFFFFFF); in PDF_UnicodeFromAdobeName()
621 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode) in PDF_AdobeNameFromUnicode()
Dfpdf_font_cid.cpp13 extern FX_DWORD FT_CharCodeFromUnicode(int encoding, FX_WCHAR unicode);
679 FX_WCHAR CPDF_CID2UnicodeMap::UnicodeFromCID(FX_WORD CID) in UnicodeFromCID()
735 static FX_DWORD _EmbeddedCharcodeFromUnicode(const FXCMAP_CMap* pEmbedMap, int charset, FX_WCHAR un… in _EmbeddedCharcodeFromUnicode()
757 static FX_WCHAR _EmbeddedUnicodeFromCharcode(const FXCMAP_CMap* pEmbedMap, int charset, FX_DWORD ch… in _EmbeddedUnicodeFromCharcode()
776 FX_WCHAR CPDF_CIDFont::_UnicodeFromCharCode(FX_DWORD charcode) const in _UnicodeFromCharCode()
781 return (FX_WCHAR)charcode; in _UnicodeFromCharCode()
790 FX_WCHAR unicode; in _UnicodeFromCharCode()
810 FX_DWORD CPDF_CIDFont::_CharCodeFromUnicode(FX_WCHAR unicode) const in _CharCodeFromUnicode()
824 FX_WCHAR this_unicode = m_pCID2UnicodeMap->UnicodeFromCID((FX_WORD)CID); in _CharCodeFromUnicode()
1183 FX_WCHAR unicode = 0; in GlyphFromCharCode()
[all …]
Dfpdf_font.cpp184 FX_WCHAR unicode = _UnicodeFromCharCode(charcode); in UnicodeFromCharCode()
190 FX_DWORD CPDF_Font::CharCodeFromUnicode(FX_WCHAR unicode) const in CharCodeFromUnicode()
216 result += (FX_WCHAR)charcode; in DecodeString()
499 FX_WCHAR unicode = (FX_WCHAR)(value & 0xffff); in Lookup()
523 FX_DWORD CPDF_ToUnicodeMap::ReverseLookup(FX_WCHAR unicode) in ReverseLookup()
529 if ((FX_WCHAR)value == unicode) { in ReverseLookup()
572 FX_WCHAR value = 1; in _StringDataAdd()
574 FX_WCHAR ch = str[i] + value; in _StringDataAdd()
597 FX_WCHAR ch = 0; in _StringToWideString()
1067 extern FX_WCHAR FT_UnicodeFromCharCode(int encoding, FX_DWORD charcode);
[all …]
Dfont_int.h152 FX_WCHAR UnicodeFromCID(FX_WORD CID);
163 FX_DWORD ReverseLookup(FX_WCHAR unicode);
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h75 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name);
76 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode);
196 FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const;
260 virtual FX_WCHAR _UnicodeFromCharCode(FX_DWORD charcode) const = 0;
262 virtual FX_DWORD _CharCodeFromUnicode(FX_WCHAR Unicode) const = 0;
329 FX_WCHAR UnicodeFromCharCode(FX_BYTE charcode) const in UnicodeFromCharCode()
334 int CharCodeFromUnicode(FX_WCHAR unicode) const;
336 void SetUnicode(FX_BYTE charcode, FX_WCHAR unicode) in SetUnicode()
344 FX_WCHAR m_Unicodes[256];
369 virtual FX_WCHAR _UnicodeFromCharCode(FX_DWORD charcode) const in _UnicodeFromCharCode()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_bookmark.cpp66 nonstd::unique_ptr<FX_WCHAR[]> buf(new FX_WCHAR[len]); in GetTitle()
68 FX_WCHAR w = title[i]; in GetTitle()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp36 static const FX_WCHAR g_FX_CP874Unicodes[128] = {
54 static const FX_WCHAR g_FX_CP1250Unicodes[128] = {
72 static const FX_WCHAR g_FX_CP1251Unicodes[128] = {
90 static const FX_WCHAR g_FX_CP1253Unicodes[128] = {
108 static const FX_WCHAR g_FX_CP1254Unicodes[128] = {
126 static const FX_WCHAR g_FX_CP1255Unicodes[128] = {
144 static const FX_WCHAR g_FX_CP1256Unicodes[128] = {
162 static const FX_WCHAR g_FX_CP1257Unicodes[128] = {
182 const FX_WCHAR* m_pUnicodes;
315 const FX_WCHAR* pUnicodes = g_FX_CharsetUnicodes[i].m_pUnicodes; in AddWindowsFont()
[all …]
/external/pdfium/core/src/fxge/ge/
Dtext_int.h60 return CFX_WideString((FX_WCHAR)charcode); in UnicodeFromCharCode()
62 virtual FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const in CharCodeFromUnicode()
/external/pdfium/core/include/fpdftext/
Dfpdf_text.h37 FX_WCHAR m_Unicode;
38 FX_WCHAR m_Charcode;

12