Lines Matching defs:fp
272 fp = new FormatParser();
276 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
285 fp = new FormatParser();
289 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
302 fp = new FormatParser();
317 *fp = *(other.fp);
376 if (fp != NULL) delete fp;
402 FormatParser fp;
405 matcher.set(pattern, &fp, localSkeleton);
412 FormatParser fp;
415 matcher.set(pattern, &fp, localSkeleton);
463 fp->set(hackPattern);
466 for (int32_t i=0; i<fp->itemNumber; ++i) {
467 UnicodeString field = fp->items[i];
468 if ( fp->isQuoteLiteral(field) ) {
471 fp->getQuoteLiteral(quoteLiteral, &i);
476 if (fp->isPatternSeparator(field) && gotMm) {
806 dtMatcher->set(patternFormCopy, fp);
848 dtMatcher->set(skeleton, fp);
953 matcher.set(pattern, fp, skeleton);
956 matcher.set(*skeletonToUse, fp, skeleton); // no longer trims skeleton fields to max len 3, per #7930
1059 fp->set(pattern);
1060 for (int32_t i=0; i < fp->itemNumber; i++) {
1061 UnicodeString field = fp->items[i];
1062 if ( fp->isQuoteLiteral(field) ) {
1065 fp->getQuoteLiteral(quoteLiteral, &i);
1069 if (fp->isPatternSeparator(field)) {
1073 int32_t canonicalIndex = fp->getCanonicalIndex(field);
1614 DateTimeMatcher::set(const UnicodeString& pattern, FormatParser* fp) {
1616 return set(pattern, fp, localSkeleton);
1620 DateTimeMatcher::set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeletonResult) {
1625 fp->set(pattern);
1626 for (i=0; i < fp->itemNumber; i++) {
1627 UnicodeString field = fp->items[i];
1632 if ( fp->isQuoteLiteral(field) ) {
1634 fp->getQuoteLiteral(quoteLiteral, &i);
1637 int32_t canonicalIndex = fp->getCanonicalIndex(field);