Lines Matching defs:DistanceInfo
280 distanceInfo = new DistanceInfo();
282 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
293 distanceInfo = new DistanceInfo();
295 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
310 distanceInfo = new DistanceInfo();
321 *distanceInfo = *(other.distanceInfo);
380 if (distanceInfo != NULL) delete distanceInfo;
803 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, &specifiedSkeleton);
804 if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) {
1015 DistanceInfo* missingFields,
1018 DistanceInfo tempInfo;
1145 tempPattern = *getBestRaw(*dtMatcher, missingFields, distanceInfo, &specifiedSkeleton);
1147 if ( distanceInfo->missingFieldMask==0 ) {
1150 while (distanceInfo->missingFieldMask!=0) { // precondition: EVERY single field must work!
1151 if ( lastMissingFieldMask == distanceInfo->missingFieldMask ) {
1154 if (((distanceInfo->missingFieldMask & UDATPG_SECOND_AND_FRACTIONAL_MASK)==UDATPG_FRACTIONAL_MASK) &&
1157 distanceInfo->missingFieldMask &= ~UDATPG_FRACTIONAL_MASK;
1160 int32_t startingMask = distanceInfo->missingFieldMask;
1161 tempPattern = *getBestRaw(*dtMatcher, distanceInfo->missingFieldMask, distanceInfo, &specifiedSkeleton);
1163 int32_t foundMask=startingMask& ~distanceInfo->missingFieldMask;
1174 lastMissingFieldMask = distanceInfo->missingFieldMask;
1676 DateTimeMatcher::getDistance(const DateTimeMatcher& other, int32_t includeMask, DistanceInfo& distanceInfo) {
1678 distanceInfo.clear();
1687 distanceInfo.addExtra(i);
1692 distanceInfo.addMissing(i);
1896 DistanceInfo::~DistanceInfo() {}
1899 DistanceInfo::setTo(DistanceInfo &other) {