Lines Matching refs:DistanceInfo
274 distanceInfo = new DistanceInfo();
276 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
287 distanceInfo = new DistanceInfo();
289 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
304 distanceInfo = new DistanceInfo();
319 *distanceInfo = *(other.distanceInfo);
378 if (distanceInfo != NULL) delete distanceInfo;
808 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, &specifiedSkeleton);
809 if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) {
1020 DistanceInfo* missingFields,
1023 DistanceInfo tempInfo;
1150 tempPattern = *getBestRaw(*dtMatcher, missingFields, distanceInfo, &specifiedSkeleton);
1152 if ( distanceInfo->missingFieldMask==0 ) {
1155 while (distanceInfo->missingFieldMask!=0) { // precondition: EVERY single field must work!
1156 if ( lastMissingFieldMask == distanceInfo->missingFieldMask ) {
1159 if (((distanceInfo->missingFieldMask & UDATPG_SECOND_AND_FRACTIONAL_MASK)==UDATPG_FRACTIONAL_MASK) &&
1162 distanceInfo->missingFieldMask &= ~UDATPG_FRACTIONAL_MASK;
1165 int32_t startingMask = distanceInfo->missingFieldMask;
1166 tempPattern = *getBestRaw(*dtMatcher, distanceInfo->missingFieldMask, distanceInfo, &specifiedSkeleton);
1168 int32_t foundMask=startingMask& ~distanceInfo->missingFieldMask;
1179 lastMissingFieldMask = distanceInfo->missingFieldMask;
1681 DateTimeMatcher::getDistance(const DateTimeMatcher& other, int32_t includeMask, DistanceInfo& distanceInfo) {
1683 distanceInfo.clear();
1692 distanceInfo.addExtra(i);
1697 distanceInfo.addMissing(i);
1901 DistanceInfo::~DistanceInfo() {}
1904 DistanceInfo::setTo(DistanceInfo &other) {