/external/pdfium/core/fxcrt/css/ |
D | cfx_csssyntaxparser.cpp | 20 bool IsSelectorStart(wchar_t wch) { in IsSelectorStart() argument 21 return wch == '.' || wch == '#' || wch == '*' || in IsSelectorStart() 22 (isascii(wch) && isalpha(wch)); in IsSelectorStart() 62 wchar_t wch; in DoSyntaxParse() local 64 wch = m_TextPlane.GetChar(); in DoSyntaxParse() 67 switch (wch) { in DoSyntaxParse() 83 if (wch <= ' ') { in DoSyntaxParse() 85 } else if (IsSelectorStart(wch)) { in DoSyntaxParse() 96 switch (wch) { in DoSyntaxParse() 120 AppendChar(wch); in DoSyntaxParse() [all …]
|
D | cfx_cssvaluelistparser.cpp | 31 wchar_t wch = *m_pCur; in NextValue() local 32 if (wch == '#') { in NextValue() 36 } else if (FXSYS_IsDecimalDigit(wch) || wch == '.' || wch == '-' || in NextValue() 37 wch == '+') { in NextValue() 43 } else if (wch == '\"' || wch == '\'') { in NextValue() 46 *iLength = SkipTo(wch, false, false); in NextValue() 62 int32_t CFX_CSSValueListParser::SkipTo(wchar_t wch, in SkipTo() argument 67 while (m_pCur < m_pEnd && *m_pCur != wch) { in SkipTo()
|
D | cfx_cssselector.cpp | 69 wchar_t wch = *psz; in FromString() local 70 if ((isascii(wch) && isalpha(wch)) || wch == '*') { in FromString() 71 int32_t iNameLen = wch == '*' ? 1 : GetCSSNameLen(psz, pEnd); in FromString() 80 } else if (wch == ' ') { in FromString()
|
D | cfx_csstextbuf.cpp | 24 void CFX_CSSTextBuf::AppendChar(wchar_t wch) { in AppendChar() argument 28 m_pBuffer[m_iDatLen++] = wch; in AppendChar()
|
D | cfx_csstextbuf.h | 18 void AppendChar(wchar_t wch);
|
D | cfx_cssvaluelistparser.h | 23 int32_t SkipTo(wchar_t wch, bool breakOnSpace, bool matchBrackets);
|
D | cfx_csssyntaxparser.h | 57 bool AppendChar(wchar_t wch);
|
/external/pdfium/core/fxcrt/ |
D | fx_unicode.cpp | 37 uint16_t GetUnicodeProperties(wchar_t wch) { in GetUnicodeProperties() argument 38 size_t idx = static_cast<size_t>(wch); in GetUnicodeProperties() 71 uint16_t GetExtendedUnicodeProperties(wchar_t wch) { in GetExtendedUnicodeProperties() argument 72 size_t idx = static_cast<size_t>(wch); in GetExtendedUnicodeProperties() 137 wchar_t FX_GetMirrorChar(wchar_t wch) { in FX_GetMirrorChar() argument 138 uint16_t prop = GetUnicodeProperties(wch); in FX_GetMirrorChar() 141 return wch; in FX_GetMirrorChar() 146 FX_BIDICLASS FX_GetBidiClass(wchar_t wch) { in FX_GetBidiClass() argument 147 uint16_t prop = GetUnicodeProperties(wch); in FX_GetBidiClass() 154 FX_CHARTYPE FX_GetCharType(wchar_t wch) { in FX_GetCharType() argument [all …]
|
D | fx_extension.cpp | 51 wchar_t wch = pwsStr[iUsedLen]; in FXSYS_wcstof() local 52 if (!FXSYS_IsDecimalDigit(wch)) in FXSYS_wcstof() 55 fValue = fValue * 10.0f + (wch - L'0'); in FXSYS_wcstof() 62 wchar_t wch = pwsStr[iUsedLen]; in FXSYS_wcstof() local 63 if (!FXSYS_IsDecimalDigit(wch)) in FXSYS_wcstof() 66 fValue += (wch - L'0') * fPrecise; in FXSYS_wcstof() 84 wchar_t wch = pwsStr[iUsedLen]; in FXSYS_wcstof() local 85 if (!FXSYS_IsDecimalDigit(wch)) in FXSYS_wcstof() 88 exp_value = exp_value * 10.0f + (wch - L'0'); in FXSYS_wcstof()
|
D | fx_unicode.h | 36 wchar_t FX_GetMirrorChar(wchar_t wch); 37 FX_BIDICLASS FX_GetBidiClass(wchar_t wch); 98 FX_CHARTYPE FX_GetCharType(wchar_t wch); 102 FX_BREAKPROPERTY FX_GetBreakProperty(wchar_t wch);
|
D | cfx_seekablestreamproxy.cpp | 100 uint16_t wch = *pStr; in SwapByteOrder() local 101 *pStr++ = (wch >> 8) | (wch << 8); in SwapByteOrder()
|
D | fx_bidi.cpp | 17 bool CFX_BidiChar::AppendChar(wchar_t wch) { in AppendChar() argument 19 switch (FX_GetBidiClass(wch)) { in AppendChar()
|
D | fx_bidi.h | 30 bool AppendChar(wchar_t wch);
|
D | cfx_widetextbuf.h | 16 void AppendChar(wchar_t wch);
|
/external/pdfium/xfa/fgas/layout/ |
D | cfx_txtbreak.cpp | 22 bool IsCtrlCode(wchar_t wch) { in IsCtrlCode() argument 23 FX_CHARTYPE dwRet = FX_GetCharType(wch); in IsCtrlCode() 52 wchar_t wch = pCurChar->char_code(); in AppendChar_Combination() local 59 wForm = wch; in AppendChar_Combination() 64 if (wch == 0x0651) { in AppendChar_Combination() 70 } else if (wch >= 0x064C && wch <= 0x0650) { in AppendChar_Combination() 72 wForm = FX_GetArabicFromShaddaTable(wch); in AppendChar_Combination() 105 wchar_t wch = pCurChar->char_code(); in AppendChar_Control() local 106 switch (wch) { in AppendChar_Control() 118 if (wch == m_wParagraphBreakChar) in AppendChar_Control() [all …]
|
D | cfx_break.cpp | 100 void CFX_Break::SetParagraphBreakChar(wchar_t wch) { in SetParagraphBreakChar() argument 101 if (wch != L'\r' && wch != L'\n') in SetParagraphBreakChar() 103 m_wParagraphBreakChar = wch; in SetParagraphBreakChar()
|
D | cfx_rtfbreak.cpp | 68 CFX_BreakType CFX_RTFBreak::AppendChar(wchar_t wch) { in AppendChar() argument 71 FX_CHARTYPE chartype = FX_GetCharType(wch); in AppendChar() 72 m_pCurLine->m_LineChars.emplace_back(wch, m_iHorizontalScale, in AppendChar() 750 wchar_t wch = pPiece->szText[i]; in GetDisplayPos() local 752 FX_CHARTYPE dwCharType = FX_GetCharType(wch); in GetDisplayPos() 766 wchar_t wForm = wch; in GetDisplayPos() 775 wForm = pdfium::arabic::GetFormChar(wch, wPrev, wNext); in GetDisplayPos() 777 wForm = FX_GetMirrorChar(wch); in GetDisplayPos() 783 current_char_pos.m_GlyphIndex = pFont->GetGlyphIndex(wch); in GetDisplayPos() 820 wPrev = wch; in GetDisplayPos()
|
D | fx_arabic.cpp | 178 wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next) { in GetFormChar() argument 179 CFX_Char c(wch); in GetFormChar()
|
D | fx_arabic.h | 16 wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next);
|
D | cfx_rtfbreak.h | 48 CFX_BreakType AppendChar(wchar_t wch);
|
/external/llvm-project/libcxx/include/ |
D | __bsd_locale_defaults.h | 23 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc) argument
|
/external/libcxx/include/ |
D | __bsd_locale_defaults.h | 24 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc) argument
|
/external/pdfium/xfa/fde/ |
D | cfde_textout.cpp | 215 for (const wchar_t& wch : str) { in CalcLogicSize() local 216 if (!break_char_is_set && (wch == L'\n' || wch == L'\r')) { in CalcLogicSize() 218 m_pTxtBreak->SetParagraphBreakChar(wch); in CalcLogicSize() 220 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in CalcLogicSize() 334 for (const auto& wch : str) { in LoadText() local 335 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in LoadText()
|
/external/pdfium/core/fpdftext/ |
D | cpdf_linkextract.cpp | 276 wchar_t wch = (*str)[i]; in CheckMailLink() local 277 if (wch == L'-' || FXSYS_iswalnum(wch)) in CheckMailLink() 280 if (wch != L'.' || i == pPos + 1) { in CheckMailLink()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textlayout.cpp | 54 wchar_t wch = psz[i]; in ProcessText() local 55 if (wch < 0x20) in ProcessText() 56 wch = 0x20; in ProcessText() 57 if (wch == 0x20 && wPrev == 0x20) in ProcessText() 60 wPrev = wch; in ProcessText() 61 psz[iTrimLeft++] = wch; in ProcessText() 886 wchar_t wch = wsText[i]; in AppendChar() local 887 if (wch == 0xA0) in AppendChar() 888 wch = 0x20; in AppendChar() 890 dwStatus = m_pBreak->AppendChar(wch); in AppendChar()
|