Home
last modified time | relevance | path

Searched refs:spStr (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.cpp82 size_t ParseTimeZone(pdfium::span<const wchar_t> spStr, FX_TIMEZONE* tz) { in ParseTimeZone() argument
85 if (spStr.empty()) in ParseTimeZone()
89 const bool bNegative = (spStr[0] == '-'); in ParseTimeZone()
93 while (iStart < spStr.size() && iStart < iEnd) in ParseTimeZone()
94 tz->tzHour = tz->tzHour * 10 + FXSYS_DecimalCharToInt(spStr[iStart++]); in ParseTimeZone()
96 if (iStart < spStr.size() && spStr[iStart] == ':') in ParseTimeZone()
100 while (iStart < spStr.size() && iStart < iEnd) in ParseTimeZone()
101 tz->tzMinute = tz->tzMinute * 10 + FXSYS_DecimalCharToInt(spStr[iStart++]); in ParseTimeZone()
212 bool ExtractCountDigits(pdfium::span<const wchar_t> spStr, in ExtractCountDigits() argument
217 if (*cc >= spStr.size() || !FXSYS_IsDecimalDigit(spStr[*cc])) in ExtractCountDigits()
[all …]
/external/pdfium/xfa/fxfa/layout/
Dcxfa_contentlayoutprocessor.cpp41 pdfium::span<const wchar_t> spStr) { in SeparateStringOnSpace() argument
43 if (spStr.empty()) in SeparateStringOnSpace()
48 while (nPos < spStr.size()) { in SeparateStringOnSpace()
49 if (spStr[nPos] == L' ') { in SeparateStringOnSpace()
50 ret.emplace_back(WideStringView(spStr.subspan(nToken, nPos - nToken))); in SeparateStringOnSpace()
55 ret.emplace_back(WideStringView(spStr.subspan(nToken, nPos - nToken))); in SeparateStringOnSpace()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp389 pdfium::span<const uint8_t> spStr) { in XFA_RemoveBase64Whitespace() argument
391 result.reserve(spStr.size()); in XFA_RemoveBase64Whitespace()
392 for (uint8_t ch : spStr) { in XFA_RemoveBase64Whitespace()