Home
last modified time | relevance | path

Searched refs:FX_WORD (Results 1 – 25 of 68) sorted by relevance

123

/external/pdfium/core/src/fpdfapi/fpdf_cmaps/
Dfpdf_cmaps.cpp28 return (*(FX_WORD*)p1) - (*(FX_WORD*)p2); in compareWord()
34 if (*(FX_WORD*)key < * (FX_WORD*)element) { in compareWordRange()
37 if (*(FX_WORD*)key > ((FX_WORD*)element)[1]) { in compareWordRange()
47 FX_WORD hiword = (FX_WORD)(key >> 16); in compareDWordRange()
48 FX_WORD* element = (FX_WORD*)p2; in compareDWordRange()
55 FX_WORD loword = (FX_WORD)key; in compareDWordRange()
69 FX_DWORD value = ((*(FX_WORD*)p2) << 16) | ((FX_WORD*)p2)[1]; in compareDWordSingle()
79 FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode) in FPDFAPI_CIDFromCharCode()
84FX_WORD* found = (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 8, comp… in FPDFAPI_CIDFromCharCode()
86 return found[3] + (FX_WORD)charcode - found[1]; in FPDFAPI_CIDFromCharCode()
[all …]
Dcmap_int.h14 const FX_WORD* m_pWordMap;
17 const FX_WORD* m_pDWordMap;
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/Japan1/
Dcmaps_japan1.cpp11 extern const FX_WORD g_FXCMAP_83pv_RKSJ_H_1[];
12 extern const FX_WORD g_FXCMAP_90ms_RKSJ_H_2[];
13 extern const FX_WORD g_FXCMAP_90ms_RKSJ_V_2[];
14 extern const FX_WORD g_FXCMAP_90msp_RKSJ_H_2[];
15 extern const FX_WORD g_FXCMAP_90msp_RKSJ_V_2[];
16 extern const FX_WORD g_FXCMAP_90pv_RKSJ_H_1[];
17 extern const FX_WORD g_FXCMAP_Add_RKSJ_H_1[];
18 extern const FX_WORD g_FXCMAP_Add_RKSJ_V_1[];
19 extern const FX_WORD g_FXCMAP_EUC_H_1[];
20 extern const FX_WORD g_FXCMAP_EUC_V_1[];
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/CNS1/
Dcmaps_cns1.cpp11 extern const FX_WORD g_FXCMAP_B5pc_H_0[];
12 extern const FX_WORD g_FXCMAP_B5pc_V_0[];
13 extern const FX_WORD g_FXCMAP_HKscs_B5_H_5[];
14 extern const FX_WORD g_FXCMAP_HKscs_B5_V_5[];
15 extern const FX_WORD g_FXCMAP_ETen_B5_H_0[];
16 extern const FX_WORD g_FXCMAP_ETen_B5_V_0[];
17 extern const FX_WORD g_FXCMAP_ETenms_B5_H_0[];
18 extern const FX_WORD g_FXCMAP_ETenms_B5_V_0[];
19 extern const FX_WORD g_FXCMAP_CNS_EUC_H_0[];
20 extern const FX_WORD g_FXCMAP_CNS_EUC_H_0_DWord[];
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/GB1/
Dcmaps_gb1.cpp11 extern const FX_WORD g_FXCMAP_GB_EUC_H_0[];
12 extern const FX_WORD g_FXCMAP_GB_EUC_V_0[];
13 extern const FX_WORD g_FXCMAP_GBpc_EUC_H_0[];
14 extern const FX_WORD g_FXCMAP_GBpc_EUC_V_0[];
15 extern const FX_WORD g_FXCMAP_GBK_EUC_H_2[];
16 extern const FX_WORD g_FXCMAP_GBK_EUC_V_2[];
17 extern const FX_WORD g_FXCMAP_GBKp_EUC_H_2[];
18 extern const FX_WORD g_FXCMAP_GBKp_EUC_V_2[];
19 extern const FX_WORD g_FXCMAP_GBK2K_H_5[];
20 extern const FX_WORD g_FXCMAP_GBK2K_H_5_DWord[];
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/Korea1/
Dcmaps_korea1.cpp11 extern const FX_WORD g_FXCMAP_KSC_EUC_H_0[];
12 extern const FX_WORD g_FXCMAP_KSC_EUC_V_0[];
13 extern const FX_WORD g_FXCMAP_KSCms_UHC_H_1[];
14 extern const FX_WORD g_FXCMAP_KSCms_UHC_V_1[];
15 extern const FX_WORD g_FXCMAP_KSCms_UHC_HW_H_1[];
16 extern const FX_WORD g_FXCMAP_KSCms_UHC_HW_V_1[];
17 extern const FX_WORD g_FXCMAP_KSCpc_EUC_H_0[];
18 extern const FX_WORD g_FXCMAP_UniKS_UCS2_H_1[];
19 extern const FX_WORD g_FXCMAP_UniKS_UCS2_V_1[];
20 extern const FX_WORD g_FXCMAP_UniKS_UTF16_H_0[];
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp362 FX_WORD wType = *((FX_WORD*)p); in LoadGlobalPersistentVariables()
363 p += sizeof(FX_WORD); in LoadGlobalPersistentVariables()
367 if (wType == (FX_WORD)(('X' << 8) | 'F')) in LoadGlobalPersistentVariables()
369 FX_WORD wVersion = *((FX_WORD*)p); in LoadGlobalPersistentVariables()
370 p += sizeof(FX_WORD); in LoadGlobalPersistentVariables()
380 if (dwSize == nLength - sizeof(FX_WORD) * 2 - sizeof(FX_DWORD)* 2) in LoadGlobalPersistentVariables()
396 FX_WORD wDataType = *((FX_WORD*)p); in LoadGlobalPersistentVariables()
397 p += sizeof(FX_WORD); in LoadGlobalPersistentVariables()
426 FX_WORD wData = *((FX_WORD*)p); in LoadGlobalPersistentVariables()
427 p += sizeof(FX_WORD); in LoadGlobalPersistentVariables()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_unicode.cpp13 return gs_FX_TextLayout_CodeProperties[(FX_WORD)wch]; in FX_GetUnicodeProperties()
17 FX_DWORD dwRet = (gs_FX_TextLayout_CodeProperties[(FX_WORD)ch] & FX_CHARTYPEBITSMASK); in FX_IsCtrlCode()
22 return (gs_FX_TextLayout_CodeProperties[(FX_WORD)ch] & 0x8000) != 0; in FX_IsRotationCode()
26 FX_DWORD dwProps = (gs_FX_TextLayout_CodeProperties[(FX_WORD)wch] & FX_CHARTYPEBITSMASK); in FX_IsCombinationChar()
31 FX_DWORD dwProps = gs_FX_TextLayout_CodeProperties[(FX_WORD)wch]; in FX_IsBidiChar()
37 FX_DWORD dwProps = gs_FX_TextLayout_CodeProperties[(FX_WORD)wch]; in FX_GetMirrorChar()
41 dwProps = gs_FX_TextLayout_CodeProperties[(FX_WORD)wch]; in FX_GetMirrorChar()
56 dwProps = gs_FX_TextLayout_CodeProperties[(FX_WORD)wch]; in FX_GetMirrorChar()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_charset.cpp11 FX_WORD m_Unicode;
69 FX_WORD middlecode = UnicodeAlts[middle].m_Unicode; in FCS_GetAltStr()
80 const FX_WORD StandardEncoding[256] = {
108 const FX_WORD MacRomanEncoding[256] = {
136 const FX_WORD AdobeWinAnsiEncoding[256] = {
170 extern const FX_WORD PDFDocEncoding[256];
171 const FX_WORD MacExpertEncoding[256] = {
199 const FX_WORD AdobeSymbolEncoding[256] = {
233 const FX_WORD ZapfEncoding[256] = {
513 return (FX_WORD)charcode; in FT_UnicodeFromCharCode()
[all …]
Dfpdf_font_cid.cpp213 FX_WORD StartCID; in ParseWord()
219 StartCID = (FX_WORD)m_CodePoints[1]; in ParseWord()
226 StartCID = (FX_WORD)m_CodePoints[2]; in ParseWord()
230 m_pCMap->m_pMapping[code] = (FX_WORD)(StartCID + code - StartCode); in ParseWord()
349 extern FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode);
401 m_pMapping = FX_Alloc(FX_WORD, 65536); in LoadEmbedded()
432 FX_WORD CPDF_CMap::CIDFromCharCode(FX_DWORD charcode) const in CIDFromCharCode()
435 return (FX_WORD)charcode; in CIDFromCharCode()
441 return (FX_WORD)charcode; in CIDFromCharCode()
452 return (FX_WORD)(((FX_DWORD*)found)[1] % 65536 + charcode - * (FX_DWORD*)found); in CIDFromCharCode()
[all …]
Dfont_int.h42 const FX_WORD* m_pMap;
98 FX_WORD CIDFromCharCode(FX_DWORD charcode) const;
99 FX_DWORD CharCodeFromCID(FX_WORD CID) const;
117 FX_WORD* m_pMapping;
152 FX_WCHAR UnicodeFromCID(FX_WORD CID);
155 const FX_WORD* m_pEmbeddedMap;
/external/pdfium/fpdfsdk/include/
Dfx_systemhandler.h25 FX_WORD wYear;
26 FX_WORD wMonth;
27 FX_WORD wDayOfWeek;
28 FX_WORD wDay;
29 FX_WORD wHour;
30 FX_WORD wMinute;
31 FX_WORD wSecond;
32 FX_WORD wMilliseconds;
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_FontMap.h70 virtual FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 nCharset, FX_INT32 nFontIndex);
71 virtual FX_INT32 CharCodeFromUnicode(FX_INT32 nFontIndex, FX_WORD word);
72 virtual FX_INT32 CharSetFromUnicode(FX_WORD word, FX_INT32 nOldCharset);
96 FX_BOOL KnowWord(FX_INT32 nFontIndex, FX_WORD word);
102 FX_INT32 GetPWLFontIndex(FX_WORD word, FX_INT32 nCharset);
DPWL_ComboBox.h30 FX_BOOL OnKeyDownWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag);
31 FX_BOOL OnCharWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag);
61 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag);
62 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag);
DPWL_SpecialButton.h30 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag);
47 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag);
DPWL_Edit.h52 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag);
53 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag);
130 FX_BOOL IsProceedtoOnChar(FX_WORD nKeyCode, FX_DWORD nFlag);
/external/pdfium/core/include/fpdfdoc/
Dfpdf_ap.h56 FX_INT32 GetCharWidth(FX_INT32 nFontIndex, FX_WORD word, FX_INT32 nWordStyle);
62 FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex);
64 FX_BOOL IsLatinWord(FX_WORD word);
87 …const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord = 0, const CPVT_WordRange * pVis…
Dfpdf_vt.h231 FX_WORD Word;
284 virtual FX_INT32 GetCharWidth(FX_INT32 nFontIndex, FX_WORD word, FX_INT32 nWordStyle) = 0;
290 virtual FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex) = 0;
292 virtual FX_BOOL IsLatinWord(FX_WORD word) = 0;
344 virtual void SetPasswordChar(FX_WORD wSubWord = '*') = 0;
381 …virtual CPVT_WordPlace InsertWord(const CPVT_WordPlace & place, FX_WORD word, FX_INT32 charset…
406 virtual FX_WORD GetPasswordChar() const = 0;
/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_edit.h365 FX_WORD word, FX_INT32 charset, const CPVT_WordProps * pWordProps);
376 FX_WORD m_Word;
404 FX_WORD word, FX_INT32 charset,
416 FX_WORD m_Word;
426 FX_WORD word, FX_INT32 charset,
438 FX_WORD m_Word;
466 FX_WORD word, FX_INT32 charset,
479 FX_WORD m_Word;
583 void SetPasswordChar(FX_WORD wSubWord = '*', FX_BOOL bPaint = TRUE);
623 …FX_BOOL InsertWord(FX_WORD word, FX_INT32 charset = DEFAULT_CHARSET, const CPVT_WordProps …
[all …]
Dfx_edit.h72 virtual FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex) = 0;
74 virtual FX_INT32 CharCodeFromUnicode(FX_INT32 nFontIndex, FX_WORD word) = 0;
76 virtual FX_INT32 CharSetFromUnicode(FX_WORD word, FX_INT32 nOldCharset) = 0;
207 virtual void SetPasswordChar(FX_WORD wSubWord = '*', FX_BOOL bPaint = TRUE) = 0;
315 …virtual FX_BOOL InsertWord(FX_WORD word, FX_INT32 charset = DEFAULT_CHARSET, const CPVT_Word…
375 virtual FX_WORD GetPasswordChar() const = 0;
397 FX_BOOL bContinuous = TRUE, FX_WORD SubWord = 0);
489 virtual FX_BOOL OnChar(FX_WORD nChar,FX_BOOL bShift,FX_BOOL bCtrl) = 0;
/external/pdfium/core/src/fpdfdoc/
Dpdf_vt.h144 CPVT_WordInfo(FX_WORD word, FX_INT32 charset, FX_INT32 fontIndex, CPVT_WordProps * pProps): in CPVT_WordInfo()
176 FX_WORD Word;
416 void SetPasswordChar(FX_WORD wSubWord = '*')
474 … CPVT_WordPlace InsertWord(const CPVT_WordPlace & place, FX_WORD word, FX_INT32 charset = 1,
532 FX_WORD GetPasswordChar() const in GetPasswordChar()
536 FX_WORD GetSubWord() const in GetSubWord()
541 …FX_INT32 GetCharWidth(FX_INT32 nFontIndex, FX_WORD Word, FX_WORD SubWord, FX_INT32 nWordSty…
544 FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex);
546 FX_BOOL IsLatinWord(FX_WORD word);
557 FX_FLOAT GetWordWidth(FX_INT32 nFontIndex, FX_WORD Word, FX_WORD SubWord,
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h271 void LoadCharWidths(FX_WORD* pWidths);
382 FX_WORD m_GlyphIndex[256];
383 FX_WORD m_ExtGID[256];
395 FX_WORD m_CharWidth[256];
510 FX_WORD CIDFromCharCode(FX_DWORD charcode) const;
527 FX_LPCBYTE GetCIDTransform(FX_WORD CID) const;
529 short GetVertWidth(FX_WORD CID) const;
530 void GetVertOrigin(FX_WORD CID, short& vx, short& vy) const;
548 FX_WORD m_DefaultWidth;
549 FX_WORD* m_pAnsiWidths;
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_SpecialButton.cpp66 FX_BOOL CPWL_CheckBox::OnChar(FX_WORD nChar, FX_DWORD nFlag) in OnChar()
105 FX_BOOL CPWL_RadioButton::OnChar(FX_WORD nChar, FX_DWORD nFlag) in OnChar()
DPWL_FontMap.cpp78 FX_BOOL CPWL_FontMap::KnowWord(FX_INT32 nFontIndex, FX_WORD word) in KnowWord()
91 FX_INT32 CPWL_FontMap::GetWordFontIndex(FX_WORD word, FX_INT32 nCharset, FX_INT32 nFontIndex) in GetWordFontIndex()
133 FX_INT32 CPWL_FontMap::CharCodeFromUnicode(FX_INT32 nFontIndex, FX_WORD word) in CharCodeFromUnicode()
288 FX_INT32 CPWL_FontMap::GetPWLFontIndex(FX_WORD word, FX_INT32 nCharset) in GetPWLFontIndex()
527 FX_INT32 CPWL_FontMap::CharSetFromUnicode(FX_WORD word, FX_INT32 nOldCharset) in CharSetFromUnicode()
/external/pdfium/public/
Dfpdf_edit.h15 #define FPDF_ARGB(a,r,g,b) ((((FX_DWORD)(((FX_BYTE)(b)|((FX_WORD)((FX_BYTE)(g))<<8))|(((FX_DWO…
17 #define FPDF_GetGValue(argb) ((FX_BYTE)(((FX_WORD)(argb)) >> 8))

123