Home | History | Annotate | Download | only in i18n

Lines Matching refs:distanceInfo

271     distanceInfo = new DistanceInfo();
273 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
284 distanceInfo = new DistanceInfo();
286 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
301 distanceInfo = new DistanceInfo();
312 *distanceInfo = *(other.distanceInfo);
371 if (distanceInfo != NULL) delete distanceInfo;
772 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, &specifiedSkeleton);
773 if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) {
973 DistanceInfo* missingFields,
976 DistanceInfo tempInfo;
1100 tempPattern = *getBestRaw(*dtMatcher, missingFields, distanceInfo, &specifiedSkeleton);
1102 if ( distanceInfo->missingFieldMask==0 ) {
1105 while (distanceInfo->missingFieldMask!=0) { // precondition: EVERY single field must work!
1106 if ( lastMissingFieldMask == distanceInfo->missingFieldMask ) {
1109 if (((distanceInfo->missingFieldMask & UDATPG_SECOND_AND_FRACTIONAL_MASK)==UDATPG_FRACTIONAL_MASK) &&
1112 distanceInfo->missingFieldMask &= ~UDATPG_FRACTIONAL_MASK;
1115 int32_t startingMask = distanceInfo->missingFieldMask;
1116 tempPattern = *getBestRaw(*dtMatcher, distanceInfo->missingFieldMask, distanceInfo, &specifiedSkeleton);
1118 int32_t foundMask=startingMask& ~distanceInfo->missingFieldMask;
1129 lastMissingFieldMask = distanceInfo->missingFieldMask;
1628 DateTimeMatcher::getDistance(const DateTimeMatcher& other, int32_t includeMask, DistanceInfo& distanceInfo) {
1630 distanceInfo.clear();
1639 distanceInfo.addExtra(i);
1644 distanceInfo.addMissing(i);
1848 DistanceInfo::~DistanceInfo() {}
1851 DistanceInfo::setTo(DistanceInfo &other) {