Lines Matching refs:PatternMap
281 patternMap = new PatternMap();
282 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
294 patternMap = new PatternMap();
295 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
311 patternMap = new PatternMap();
342 patternMap->copyFrom(*other.patternMap, status);
353 if ((pLocale==other.pLocale) && (patternMap->equals(*other.patternMap)) &&
381 if (patternMap != NULL) delete patternMap;
931 // 3. When adding the pattern (patternMap->add), we set a new boolean to indicate that the added entry had a
932 // specified skeleton (which sets a new field in the PtnElem in the PatternMap).
962 const UnicodeString *duplicatePattern = patternMap->getPatternFromBasePattern(basePattern, entryHadSpecifiedSkeleton);
975 duplicatePattern = patternMap->getPatternFromSkeleton(skeleton, &entrySpecifiedSkeleton);
983 patternMap->add(basePattern, skeleton, pattern, skeletonToUse != NULL, status);
1023 for (it.set(*patternMap); it.hasNext(); ) {
1031 bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton);
1237 StringEnumeration* skeletonEnumerator = new DTSkeletonEnumeration(*patternMap, DT_SKELETON, status);
1248 curElem = patternMap->getHeader(skeleton.charAt(0));
1260 StringEnumeration* baseSkeletonEnumerator = new DTSkeletonEnumeration(*patternMap, DT_BASESKELETON, status);
1269 for (it.set(*patternMap); it.hasNext(); ) {
1271 pattern = patternMap->getPatternFromSkeleton(*(it.getSkeleton()));
1311 PatternMap::PatternMap() {
1319 PatternMap::copyFrom(const PatternMap& other, UErrorCode& status) {
1351 PatternMap::getHeader(UChar baseChar) {
1368 PatternMap::~PatternMap() {
1375 } // PatternMap destructor
1378 PatternMap::add(const UnicodeString& basePattern,
1447 } // PatternMap::add
1451 PatternMap::getPatternFromBasePattern(UnicodeString& basePattern, UBool& skeletonWasSpecified) { // key to search for
1467 } // PatternMap::getFromBasePattern
1477 PatternMap::getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr) { // key to search for
1527 PatternMap::equals(const PatternMap& other) {
1565 PatternMap::getDuplicateElem(
1596 } // PatternMap::getDuplicateElem
1907 patternMap=NULL;
1917 PatternMapIterator::set(PatternMap& newPatternMap) {
1918 this->patternMap=&newPatternMap;
1936 if (patternMap==NULL) {
1951 if ( patternMap->boot[headIndex] != NULL ) {
1979 if ( patternMap->boot[bootIndex] != NULL ) {
1980 nodePtr = patternMap->boot[bootIndex];
2065 DTSkeletonEnumeration::DTSkeletonEnumeration(PatternMap &patternMap, dtStrEnum type, UErrorCode& status) {
2078 curElem = patternMap.boot[bootIndex];