Lines Matching defs:DistanceInfo
281 distanceInfo = new DistanceInfo();
283 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
294 distanceInfo = new DistanceInfo();
296 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
311 distanceInfo = new DistanceInfo();
322 *distanceInfo = *(other.distanceInfo);
381 if (distanceInfo != NULL) delete distanceInfo;
804 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, &specifiedSkeleton);
805 if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) {
1016 DistanceInfo* missingFields,
1019 DistanceInfo tempInfo;
1146 tempPattern = *getBestRaw(*dtMatcher, missingFields, distanceInfo, &specifiedSkeleton);
1148 if ( distanceInfo->missingFieldMask==0 ) {
1151 while (distanceInfo->missingFieldMask!=0) { // precondition: EVERY single field must work!
1152 if ( lastMissingFieldMask == distanceInfo->missingFieldMask ) {
1155 if (((distanceInfo->missingFieldMask & UDATPG_SECOND_AND_FRACTIONAL_MASK)==UDATPG_FRACTIONAL_MASK) &&
1158 distanceInfo->missingFieldMask &= ~UDATPG_FRACTIONAL_MASK;
1161 int32_t startingMask = distanceInfo->missingFieldMask;
1162 tempPattern = *getBestRaw(*dtMatcher, distanceInfo->missingFieldMask, distanceInfo, &specifiedSkeleton);
1164 int32_t foundMask=startingMask& ~distanceInfo->missingFieldMask;
1175 lastMissingFieldMask = distanceInfo->missingFieldMask;
1677 DateTimeMatcher::getDistance(const DateTimeMatcher& other, int32_t includeMask, DistanceInfo& distanceInfo) {
1679 distanceInfo.clear();
1688 distanceInfo.addExtra(i);
1693 distanceInfo.addMissing(i);
1897 DistanceInfo::~DistanceInfo() {}
1900 DistanceInfo::setTo(DistanceInfo &other) {