Lines Matching refs:pStr
66 static int32_t FX_ParseTimeZone(const FX_WCHAR* pStr, in FX_ParseTimeZone() argument
77 tz.tzHour = tz.tzHour * 10 + pStr[iStart++] - '0'; in FX_ParseTimeZone()
79 if (iStart < iLen && pStr[iStart] == ':') { in FX_ParseTimeZone()
84 tz.tzMinute = tz.tzMinute * 10 + pStr[iStart++] - '0'; in FX_ParseTimeZone()
86 if (pStr[0] == '-') { in FX_ParseTimeZone()
273 const FX_WCHAR* pStr = wsFormatString.c_str(); in SplitFormatString() local
274 const FX_WCHAR* pToken = pStr; in SplitFormatString()
275 const FX_WCHAR* pEnd = pStr + iStrLen; in SplitFormatString()
278 if (pStr >= pEnd) { in SplitFormatString()
279 wsPatterns.push_back(CFX_WideString(pToken, pStr - pToken)); in SplitFormatString()
282 if (*pStr == '\'') { in SplitFormatString()
284 } else if (*pStr == L'|' && !iQuote) { in SplitFormatString()
285 wsPatterns.push_back(CFX_WideString(pToken, pStr - pToken)); in SplitFormatString()
286 pToken = pStr + 1; in SplitFormatString()
288 pStr++; in SplitFormatString()
383 const FX_WCHAR* pStr = wsPattern.c_str(); in GetCategory() local
387 if (pStr[ccf] == '\'') { in GetCategory()
388 FX_GetLiteralText(pStr, ccf, iLenf); in GetCategory()
389 } else if (!bBraceOpen && wsConstChars.Find(pStr[ccf]) == -1) { in GetCategory()
390 CFX_WideString wsCategory(pStr[ccf]); in GetCategory()
396 if (pStr[ccf] == '.' || pStr[ccf] == '(') { in GetCategory()
399 if (pStr[ccf] == '{') { in GetCategory()
403 wsCategory += pStr[ccf]; in GetCategory()
428 } else if (pStr[ccf] == '}') { in GetCategory()
449 const FX_WCHAR* pStr = wsPattern.c_str(); in GetLocaleName() local
451 if (pStr[ccf] == '\'') { in GetLocaleName()
452 FX_GetLiteralText(pStr, ccf, iLenf); in GetLocaleName()
453 } else if (pStr[ccf] == '(') { in GetLocaleName()
456 while (ccf < iLenf && pStr[ccf] != ')') { in GetLocaleName()
457 wsLCID += pStr[ccf++]; in GetLocaleName()
471 const FX_WCHAR* pStr = wsPattern.c_str(); in GetTextFormat() local
475 if (pStr[ccf] == '\'') { in GetTextFormat()
477 FX_GetLiteralText(pStr, ccf, iLenf); in GetTextFormat()
478 wsPurgePattern += CFX_WideStringC(pStr + iCurChar, ccf - iCurChar + 1); in GetTextFormat()
479 } else if (!bBrackOpen && wsConstChars.Find(pStr[ccf]) == -1) { in GetTextFormat()
480 CFX_WideString wsSearchCategory(pStr[ccf]); in GetTextFormat()
482 while (ccf < iLenf && pStr[ccf] != '{' && pStr[ccf] != '.' && in GetTextFormat()
483 pStr[ccf] != '(') { in GetTextFormat()
484 wsSearchCategory += pStr[ccf]; in GetTextFormat()
491 if (pStr[ccf] == '(') { in GetTextFormat()
494 while (ccf < iLenf && pStr[ccf] != ')') { in GetTextFormat()
495 wsLCID += pStr[ccf++]; in GetTextFormat()
498 } else if (pStr[ccf] == '{') { in GetTextFormat()
504 } else if (pStr[ccf] != '}') { in GetTextFormat()
505 wsPurgePattern += pStr[ccf]; in GetTextFormat()
528 const FX_WCHAR* pStr = wsPattern.c_str(); in GetNumericFormat() local
533 if (pStr[ccf] == '\'') { in GetNumericFormat()
535 FX_GetLiteralText(pStr, ccf, iLenf); in GetNumericFormat()
536 wsPurgePattern += CFX_WideStringC(pStr + iCurChar, ccf - iCurChar + 1); in GetNumericFormat()
537 } else if (!bBrackOpen && wsConstChars.Find(pStr[ccf]) == -1) { in GetNumericFormat()
538 CFX_WideString wsCategory(pStr[ccf]); in GetNumericFormat()
540 while (ccf < iLenf && pStr[ccf] != '{' && pStr[ccf] != '.' && in GetNumericFormat()
541 pStr[ccf] != '(') { in GetNumericFormat()
542 wsCategory += pStr[ccf]; in GetNumericFormat()
551 if (pStr[ccf] == '(') { in GetNumericFormat()
554 while (ccf < iLenf && pStr[ccf] != ')') { in GetNumericFormat()
555 wsLCID += pStr[ccf++]; in GetNumericFormat()
558 } else if (pStr[ccf] == '{') { in GetNumericFormat()
561 } else if (pStr[ccf] == '.') { in GetNumericFormat()
564 while (ccf < iLenf && pStr[ccf] != '(' && pStr[ccf] != '{') { in GetNumericFormat()
565 wsSubCategory += pStr[ccf++]; in GetNumericFormat()
597 } else if (pStr[ccf] == 'E') { in GetNumericFormat()
599 wsPurgePattern += pStr[ccf]; in GetNumericFormat()
600 } else if (pStr[ccf] == '%') { in GetNumericFormat()
602 wsPurgePattern += pStr[ccf]; in GetNumericFormat()
603 } else if (pStr[ccf] != '}') { in GetNumericFormat()
604 wsPurgePattern += pStr[ccf]; in GetNumericFormat()
607 if (pStr[ccf] == '.' || pStr[ccf] == 'V' || pStr[ccf] == 'v') { in GetNumericFormat()
628 const FX_WCHAR* pStr = wsNum.c_str(); in FX_GetNumericDotIndex() local
631 if (pStr[ccf] == '\'') { in FX_GetNumericDotIndex()
632 FX_GetLiteralText(pStr, ccf, iLenf); in FX_GetNumericDotIndex()
634 !FXSYS_wcsncmp(pStr + ccf, wsDotSymbol.c_str(), iLenDot)) { in FX_GetNumericDotIndex()
1918 const FX_WCHAR* pStr = wsPattern.c_str(); in GetDateTimeFormat() local
1923 if (pStr[ccf] == '\'') { in GetDateTimeFormat()
1925 FX_GetLiteralText(pStr, ccf, iLenf); in GetDateTimeFormat()
1926 wsTempPattern += CFX_WideStringC(pStr + iCurChar, ccf - iCurChar + 1); in GetDateTimeFormat()
1928 wsConstChars.Find(pStr[ccf]) == -1) { in GetDateTimeFormat()
1929 CFX_WideString wsCategory(pStr[ccf]); in GetDateTimeFormat()
1931 while (ccf < iLenf && pStr[ccf] != '{' && pStr[ccf] != '.' && in GetDateTimeFormat()
1932 pStr[ccf] != '(') { in GetDateTimeFormat()
1933 if (pStr[ccf] == 'T') { in GetDateTimeFormat()
1942 wsCategory += pStr[ccf]; in GetDateTimeFormat()
1961 if (pStr[ccf] == '(') { in GetDateTimeFormat()
1964 while (ccf < iLenf && pStr[ccf] != ')') { in GetDateTimeFormat()
1965 wsLCID += pStr[ccf++]; in GetDateTimeFormat()
1968 } else if (pStr[ccf] == '{') { in GetDateTimeFormat()
1971 } else if (pStr[ccf] == '.') { in GetDateTimeFormat()
1974 while (ccf < iLenf && pStr[ccf] != '(' && pStr[ccf] != '{') { in GetDateTimeFormat()
1975 wsSubCategory += pStr[ccf++]; in GetDateTimeFormat()
2015 } else if (pStr[ccf] == '}') { in GetDateTimeFormat()
2026 wsTempPattern += pStr[ccf]; in GetDateTimeFormat()