Home
last modified time | relevance | path

Searched refs:wch (Results 1 – 25 of 36) sorted by relevance

12

/external/pdfium/core/fxcrt/css/
Dcfx_csssyntaxparser.cpp20 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 …]
Dcfx_cssvaluelistparser.cpp31 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()
Dcfx_cssselector.cpp69 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()
Dcfx_csstextbuf.cpp24 void CFX_CSSTextBuf::AppendChar(wchar_t wch) { in AppendChar() argument
28 m_pBuffer[m_iDatLen++] = wch; in AppendChar()
Dcfx_csstextbuf.h18 void AppendChar(wchar_t wch);
Dcfx_cssvaluelistparser.h23 int32_t SkipTo(wchar_t wch, bool breakOnSpace, bool matchBrackets);
Dcfx_csssyntaxparser.h57 bool AppendChar(wchar_t wch);
/external/pdfium/core/fxcrt/
Dfx_unicode.cpp37 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 …]
Dfx_extension.cpp51 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()
Dfx_unicode.h36 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);
Dcfx_seekablestreamproxy.cpp100 uint16_t wch = *pStr; in SwapByteOrder() local
101 *pStr++ = (wch >> 8) | (wch << 8); in SwapByteOrder()
Dfx_bidi.cpp17 bool CFX_BidiChar::AppendChar(wchar_t wch) { in AppendChar() argument
19 switch (FX_GetBidiClass(wch)) { in AppendChar()
Dfx_bidi.h30 bool AppendChar(wchar_t wch);
Dcfx_widetextbuf.h16 void AppendChar(wchar_t wch);
/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak.cpp22 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 …]
Dcfx_break.cpp100 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()
Dcfx_rtfbreak.cpp68 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()
Dfx_arabic.cpp178 wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next) { in GetFormChar() argument
179 CFX_Char c(wch); in GetFormChar()
Dfx_arabic.h16 wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next);
Dcfx_rtfbreak.h48 CFX_BreakType AppendChar(wchar_t wch);
/external/llvm-project/libcxx/include/
D__bsd_locale_defaults.h23 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc) argument
/external/libcxx/include/
D__bsd_locale_defaults.h24 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc) argument
/external/pdfium/xfa/fde/
Dcfde_textout.cpp215 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/
Dcpdf_linkextract.cpp276 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/
Dcxfa_textlayout.cpp54 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()

12