Home | History | Annotate | Download | only in i18n

Lines Matching refs:DistanceInfo

278     distanceInfo = new DistanceInfo();
280 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
291 distanceInfo = new DistanceInfo();
293 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
308 distanceInfo = new DistanceInfo();
323 *distanceInfo = *(other.distanceInfo);
382 if (distanceInfo != NULL) delete distanceInfo;
1008 bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, &specifiedSkeleton);
1009 if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) {
1241 DistanceInfo* missingFields,
1244 DistanceInfo tempInfo;
1386 tempPattern = *getBestRaw(*dtMatcher, missingFields, distanceInfo, &specifiedSkeleton);
1388 if ( distanceInfo->missingFieldMask==0 ) {
1391 while (distanceInfo->missingFieldMask!=0) { // precondition: EVERY single field must work!
1392 if ( lastMissingFieldMask == distanceInfo->missingFieldMask ) {
1395 if (((distanceInfo->missingFieldMask & UDATPG_SECOND_AND_FRACTIONAL_MASK)==UDATPG_FRACTIONAL_MASK) &&
1398 distanceInfo->missingFieldMask &= ~UDATPG_FRACTIONAL_MASK;
1401 int32_t startingMask = distanceInfo->missingFieldMask;
1402 tempPattern = *getBestRaw(*dtMatcher, distanceInfo->missingFieldMask, distanceInfo, &specifiedSkeleton);
1404 int32_t foundMask=startingMask& ~distanceInfo->missingFieldMask;
1415 lastMissingFieldMask = distanceInfo->missingFieldMask;
1888 DateTimeMatcher::getDistance(const DateTimeMatcher& other, int32_t includeMask, DistanceInfo& distanceInfo) {
1890 distanceInfo.clear();
1899 distanceInfo.addExtra(i);
1904 distanceInfo.addMissing(i);
2093 DistanceInfo::~DistanceInfo() {}
2096 DistanceInfo::setTo(DistanceInfo &other) {