Searched refs:spStr (Results 1 – 3 of 3) sorted by relevance
82 size_t ParseTimeZone(pdfium::span<const wchar_t> spStr, FX_TIMEZONE* tz) { in ParseTimeZone() argument85 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() argument217 if (*cc >= spStr.size() || !FXSYS_IsDecimalDigit(spStr[*cc])) in ExtractCountDigits()[all …]
41 pdfium::span<const wchar_t> spStr) { in SeparateStringOnSpace() argument43 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()
389 pdfium::span<const uint8_t> spStr) { in XFA_RemoveBase64Whitespace() argument391 result.reserve(spStr.size()); in XFA_RemoveBase64Whitespace()392 for (uint8_t ch : spStr) { in XFA_RemoveBase64Whitespace()