Lines Matching refs:spStr
82 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()
219 *value = *value * 10 + FXSYS_DecimalCharToInt(spStr[(*cc)++]); in ExtractCountDigits()
224 bool ExtractCountDigitsWithOptional(pdfium::span<const wchar_t> spStr, in ExtractCountDigitsWithOptional() argument
228 if (!ExtractCountDigits(spStr, count, cc, value)) in ExtractCountDigitsWithOptional()
230 ExtractCountDigits(spStr, 1, cc, value); in ExtractCountDigitsWithOptional()