Home
last modified time | relevance | path

Searched refs:spTime (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.cpp445 pdfium::span<const wchar_t> spTime = wsTime.span(); in ValidateCanonicalTime() local
446 if (spTime.size() < 2) in ValidateCanonicalTime()
460 while (nIndex - nStart < wCountH && spTime[nIndex]) { in ValidateCanonicalTime()
461 if (!FXSYS_IsDecimalDigit(spTime[nIndex])) in ValidateCanonicalTime()
463 wHour = spTime[nIndex] - '0' + wHour * 10; in ValidateCanonicalTime()
467 if (nIndex < spTime.size() && spTime[nIndex] != ':') in ValidateCanonicalTime()
473 while (nIndex < spTime.size() && spTime[nIndex] != '\0' && in ValidateCanonicalTime()
475 if (!FXSYS_IsDecimalDigit(spTime[nIndex])) in ValidateCanonicalTime()
477 wMinute = spTime[nIndex] - '0' + wMinute * 10; in ValidateCanonicalTime()
481 if (nIndex >= spTime.size() || spTime[nIndex] != ':') in ValidateCanonicalTime()
[all …]
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.cpp363 pdfium::span<const wchar_t> spTime = wsTime.span(); in ParseLocaleTime() local
367 while (*cc < spTime.size() && ccf < spTimePattern.size()) { in ParseLocaleTime()
371 if (*cc + iLiteralLen > spTime.size() || in ParseLocaleTime()
372 wcsncmp(spTime.data() + *cc, wsLiteral.c_str(), iLiteralLen) != 0) { in ParseLocaleTime()
380 if (spTimePattern[ccf] != spTime[*cc]) in ParseLocaleTime()
395 if (!ExtractCountDigitsWithOptional(spTime, 1, cc, &hour)) in ParseLocaleTime()
402 if (!ExtractCountDigits(spTime, 2, cc, &hour)) in ParseLocaleTime()
408 if (!ExtractCountDigitsWithOptional(spTime, 1, cc, &minute)) in ParseLocaleTime()
412 if (!ExtractCountDigits(spTime, 2, cc, &minute)) in ParseLocaleTime()
416 if (!ExtractCountDigitsWithOptional(spTime, 1, cc, &second)) in ParseLocaleTime()
[all …]