/external/pdfium/xfa/fde/css/ |
D | cfde_csssyntaxparser.cpp | 17 bool IsSelectorStart(FX_WCHAR wch) { in IsSelectorStart() argument 18 return wch == '.' || wch == '#' || wch == '*' || (wch >= 'a' && wch <= 'z') || in IsSelectorStart() 19 (wch >= 'A' && wch <= 'Z'); in IsSelectorStart() 68 FX_WCHAR wch; in DoSyntaxParse() local 70 wch = m_TextPlane.GetChar(); in DoSyntaxParse() 73 switch (wch) { in DoSyntaxParse() 88 if (wch <= ' ') { in DoSyntaxParse() 90 } else if (IsSelectorStart(wch)) { in DoSyntaxParse() 101 switch (wch) { in DoSyntaxParse() 124 AppendChar(wch); in DoSyntaxParse() [all …]
|
D | cfde_cssselector.cpp | 15 bool IsCSSChar(FX_WCHAR wch) { in IsCSSChar() argument 16 return (wch >= 'a' && wch <= 'z') || (wch >= 'A' && wch <= 'Z'); in IsCSSChar() 22 FX_WCHAR wch = *psz; in GetCSSNameLen() local 23 if (IsCSSChar(wch) || (wch >= '0' && wch <= '9') || wch == '_' || in GetCSSNameLen() 24 wch == '-') { in GetCSSNameLen() 75 FX_WCHAR wch = *psz; in FromString() local 76 if (IsCSSChar(wch) || wch == '*') { in FromString() 77 int32_t iNameLen = wch == '*' ? 1 : GetCSSNameLen(psz, pEnd); in FromString() 86 } else if (wch == ' ') { in FromString()
|
D | cfde_cssvaluelistparser.cpp | 28 FX_WCHAR wch = *m_pCur; in NextValue() local 29 if (wch == '#') { in NextValue() 33 } else if ((wch >= '0' && wch <= '9') || wch == '.' || wch == '-' || in NextValue() 34 wch == '+') { in NextValue() 40 } else if (wch == '\"' || wch == '\'') { in NextValue() 43 iLength = SkipTo(wch, false, false); in NextValue() 59 int32_t CFDE_CSSValueListParser::SkipTo(FX_WCHAR wch, in SkipTo() argument 64 while (m_pCur < m_pEnd && *m_pCur != wch) { in SkipTo()
|
D | cfde_csstextbuf.h | 26 bool AppendChar(FX_WCHAR wch) { in AppendChar() argument 29 m_pBuffer[m_iDatLen++] = wch; in AppendChar()
|
D | cfde_cssvaluelistparser.h | 26 int32_t SkipTo(FX_WCHAR wch, bool breakOnSpace, bool matchBrackets);
|
D | cfde_csssyntaxparser.h | 56 bool AppendChar(FX_WCHAR wch);
|
/external/pdfium/core/fxcrt/ |
D | fx_unicode.cpp | 9 uint32_t FX_GetUnicodeProperties(FX_WCHAR wch) { in FX_GetUnicodeProperties() argument 10 size_t idx = static_cast<size_t>(wch); in FX_GetUnicodeProperties() 12 return kTextLayoutCodeProperties[(uint16_t)wch]; in FX_GetUnicodeProperties() 23 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, bool bRTL, bool bVertical) { in FX_GetMirrorChar() argument 24 uint32_t dwProps = FX_GetUnicodeProperties(wch); in FX_GetMirrorChar() 29 wch = kFXTextLayoutBidiMirror[idx]; in FX_GetMirrorChar() 30 dwProps = FX_GetUnicodeProperties(wch); in FX_GetMirrorChar() 38 wch = kFXTextLayoutVerticalMirror[idx]; in FX_GetMirrorChar() 41 return wch; in FX_GetMirrorChar() 45 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, in FX_GetMirrorChar() argument [all …]
|
D | fx_ext.h | 42 inline bool FXSYS_iswalpha(wchar_t wch) { in FXSYS_iswalpha() argument 43 return (wch >= L'A' && wch <= L'Z') || (wch >= L'a' && wch <= L'z'); in FXSYS_iswalpha() 45 inline bool FXSYS_iswdigit(wchar_t wch) { in FXSYS_iswdigit() argument 46 return wch >= L'0' && wch <= L'9'; in FXSYS_iswdigit() 48 inline bool FXSYS_iswalnum(wchar_t wch) { in FXSYS_iswalnum() argument 49 return FXSYS_iswalpha(wch) || FXSYS_iswdigit(wch); in FXSYS_iswalnum()
|
D | fx_ucd.h | 48 uint32_t FX_GetUnicodeProperties(FX_WCHAR wch); 49 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, bool bRTL, bool bVertical); 116 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch,
|
D | fx_extension.cpp | 464 FX_WCHAR wch = pwsStr[iUsedLen]; in FXSYS_wcstof() local 465 if (wch >= L'0' && wch <= L'9') { in FXSYS_wcstof() 466 fValue = fValue * 10.0f + (wch - L'0'); in FXSYS_wcstof() 475 FX_WCHAR wch = pwsStr[iUsedLen]; in FXSYS_wcstof() local 476 if (wch >= L'0' && wch <= L'9') { in FXSYS_wcstof() 477 fValue += (wch - L'0') * fPrecise; in FXSYS_wcstof()
|
D | fx_arabic.cpp | 289 bool IsArabicChar(FX_WCHAR wch) { in IsArabicChar() argument 291 kTextLayoutCodeProperties[(uint16_t)wch] & FX_CHARTYPEBITSMASK; in IsArabicChar() 295 bool IsArabicFormChar(FX_WCHAR wch) { in IsArabicFormChar() argument 296 return (kTextLayoutCodeProperties[(uint16_t)wch] & FX_CHARTYPEBITSMASK) == in IsArabicFormChar() 300 FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev, FX_WCHAR next) { in GetFormChar() argument 301 CFX_Char c(wch, kTextLayoutCodeProperties[(uint16_t)wch]); in GetFormChar() 350 FX_WCHAR wch; in FX_BidiReverseString() local 355 wch = *pStart; in FX_BidiReverseString() 357 *pEnd-- = wch; in FX_BidiReverseString()
|
D | fx_bidi.cpp | 15 bool CFX_BidiChar::AppendChar(FX_WCHAR wch) { in AppendChar() argument 16 uint32_t dwProps = FX_GetUnicodeProperties(wch); in AppendChar()
|
D | fx_arabic.h | 20 bool IsArabicChar(FX_WCHAR wch); 21 bool IsArabicFormChar(FX_WCHAR wch); 22 FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev = 0, FX_WCHAR next = 0);
|
D | fx_bidi.h | 31 bool AppendChar(FX_WCHAR wch);
|
/external/pdfium/xfa/fgas/layout/ |
D | fgas_textbreak.cpp | 144 void CFX_TxtBreak::SetDefaultChar(FX_WCHAR wch) { in SetDefaultChar() argument 145 m_wDefChar = wch; in SetDefaultChar() 157 void CFX_TxtBreak::SetParagraphBreakChar(FX_WCHAR wch) { in SetParagraphBreakChar() argument 158 if (wch != L'\r' && wch != L'\n') in SetParagraphBreakChar() 160 m_wParagBreakChar = wch; in SetParagraphBreakChar() 336 FX_WCHAR wch = pCurChar->m_wCharCode; in AppendChar_Combination() local 346 wForm = wch; in AppendChar_Combination() 352 if (wch == 0x0651) { in AppendChar_Combination() 358 } else if (wch >= 0x064C && wch <= 0x0650) { in AppendChar_Combination() 360 wForm = FX_GetArabicFromShaddaTable(wch); in AppendChar_Combination() [all …]
|
D | fgas_rtfbreak.cpp | 228 CFX_RTFBreakType CFX_RTFBreak::AppendChar(FX_WCHAR wch) { in AppendChar() argument 231 uint32_t dwProps = kTextLayoutCodeProperties[static_cast<uint16_t>(wch)]; in AppendChar() 237 pCurChar->m_wCharCode = wch; in AppendChar() 881 FX_WCHAR wch; in GetDisplayPos() local 904 wch = pText->pStr[i]; in GetDisplayPos() 906 dwProps = FX_GetUnicodeProperties(wch); in GetDisplayPos() 922 wForm = wch; in GetDisplayPos() 931 wForm = pdfium::arabic::GetFormChar(wch, wPrev, wNext); in GetDisplayPos() 933 wForm = FX_GetMirrorChar(wch, dwProps, bRTLPiece, false); in GetDisplayPos() 939 pCharPos->m_GlyphIndex = wch; in GetDisplayPos() [all …]
|
D | fgas_textbreak.h | 218 void SetDefaultChar(FX_WCHAR wch); 219 void SetParagraphBreakChar(FX_WCHAR wch); 227 uint32_t AppendChar(FX_WCHAR wch);
|
D | fgas_rtfbreak.h | 171 CFX_RTFBreakType AppendChar(FX_WCHAR wch);
|
/external/pdfium/xfa/fgas/crt/ |
D | fgas_codepage.cpp | 349 uint16_t wch; in FX_SwapByteOrder() local 352 wch = (uint16_t)*pStr; in FX_SwapByteOrder() 353 wch = (wch >> 8) | (wch << 8); in FX_SwapByteOrder() 354 wch &= 0x00FF; in FX_SwapByteOrder() 355 *pStr++ = wch; in FX_SwapByteOrder() 359 wch = (uint16_t)*pStr; in FX_SwapByteOrder() 360 wch = (wch >> 8) | (wch << 8); in FX_SwapByteOrder() 361 *pStr++ = wch; in FX_SwapByteOrder()
|
/external/pdfium/xfa/fde/tto/ |
D | fde_textout.cpp | 99 void CFDE_TextOut::SetParagraphBreakChar(FX_WCHAR wch) { in SetParagraphBreakChar() argument 100 m_wParagraphBkChar = wch; in SetParagraphBreakChar() 101 m_pTxtBreak->SetParagraphBreakChar(wch); in SetParagraphBreakChar() 201 FX_WCHAR wch; in CalcTextSize() local 204 wch = *pStr++; in CalcTextSize() 205 if (wBreak == 0 && (wch == L'\n' || wch == L'\r')) { in CalcTextSize() 206 wBreak = wch; in CalcTextSize() 207 m_pTxtBreak->SetParagraphBreakChar(wch); in CalcTextSize() 209 if (bHotKey && wch == L'&' && wPreChar != L'&') { in CalcTextSize() 210 wPreChar = wch; in CalcTextSize() [all …]
|
D | fde_textout.h | 91 void SetParagraphBreakChar(FX_WCHAR wch);
|
/external/pdfium/core/fpdftext/ |
D | cpdf_linkextract.cpp | 140 FX_WCHAR wch = str.GetAt(i); in CheckMailLink() local 141 if (wch == L'-' || FXSYS_iswalnum(wch)) in CheckMailLink() 144 if (wch != L'.' || i == pPos + 1) { in CheckMailLink()
|
D | cpdf_textpage.cpp | 69 FX_STRSIZE Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst) { in Unicode_GetNormalization() argument 70 wch = wch & 0xFFFF; in Unicode_GetNormalization() 71 FX_WCHAR wFind = g_UnicodeData_Normalization[wch]; in Unicode_GetNormalization() 74 *pDst = wch; in Unicode_GetNormalization() 78 wch = wFind - 0x8000; in Unicode_GetNormalization() 81 wch = wFind & 0x0FFF; in Unicode_GetNormalization() 86 pMap = g_UnicodeData_Normalization_Map4 + wch; in Unicode_GetNormalization() 89 pMap += wch; in Unicode_GetNormalization()
|
/external/libcxx/include/ |
D | __bsd_locale_defaults.h | 20 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc) argument
|
/external/pdfium/xfa/fxfa/app/ |
D | cxfa_textlayout.cpp | 900 FX_WCHAR wch = wsText.GetAt(i); in AppendChar() local 901 if (wch == 0xA0) in AppendChar() 902 wch = 0x20; in AppendChar() 904 dwStatus = m_pBreak->AppendChar(wch); in AppendChar() 938 FX_WCHAR wch = 0, wPrev = 0; in ProcessText() local 940 wch = psz[i]; in ProcessText() 941 if (wch < 0x20) in ProcessText() 942 wch = 0x20; in ProcessText() 943 if (wch == 0x20 && wPrev == 0x20) in ProcessText() 946 wPrev = wch; in ProcessText() [all …]
|