Searched refs:spDate (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_localevalue.cpp | 372 pdfium::span<const wchar_t> spDate = wsDate.span(); in ValidateCanonicalDate() local 373 if (spDate.size() < wCountY || in ValidateCanonicalDate() 374 spDate.size() > wCountY + wCountM + wCountD + 2) { in ValidateCanonicalDate() 383 while (nIndex < wCountY && spDate[nIndex] != '\0') { in ValidateCanonicalDate() 384 if (!FXSYS_IsDecimalDigit(spDate[nIndex])) in ValidateCanonicalDate() 387 wYear = (spDate[nIndex] - '0') + wYear * 10; in ValidateCanonicalDate() 391 if (nIndex >= spDate.size() || spDate[nIndex] != 0x2D) in ValidateCanonicalDate() 397 while (nIndex < spDate.size() && spDate[nIndex] != '\0' && in ValidateCanonicalDate() 399 if (!FXSYS_IsDecimalDigit(spDate[nIndex])) in ValidateCanonicalDate() 402 wMonth = (spDate[nIndex] - '0') + wMonth * 10; in ValidateCanonicalDate() [all …]
|
/external/pdfium/xfa/fgas/crt/ |
D | cfgas_stringformatter.cpp | 243 pdfium::span<const wchar_t> spDate = wsDate.span(); in ParseLocaleDate() local 245 while (*cc < spDate.size() && ccf < spDatePattern.size()) { in ParseLocaleDate() 249 if (*cc + iLiteralLen > spDate.size() || in ParseLocaleDate() 250 wcsncmp(spDate.data() + *cc, wsLiteral.c_str(), iLiteralLen) != 0) { in ParseLocaleDate() 258 if (spDatePattern[ccf] != spDate[*cc]) in ParseLocaleDate() 273 if (!ExtractCountDigitsWithOptional(spDate, 1, cc, &day)) in ParseLocaleDate() 277 ExtractCountDigits(spDate, 3, cc, &val); in ParseLocaleDate() 280 if (!ExtractCountDigitsWithOptional(spDate, 1, cc, &month)) in ParseLocaleDate() 288 if (wcsncmp(wsMonthName.c_str(), spDate.data() + *cc, in ParseLocaleDate() 301 if (wcsncmp(wsDayName.c_str(), spDate.data() + *cc, in ParseLocaleDate() [all …]
|