Lines Matching refs:PatternMap
282 patternMap = new PatternMap();
283 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
295 patternMap = new PatternMap();
296 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
312 patternMap = new PatternMap();
343 patternMap->copyFrom(*other.patternMap, status);
354 if ((pLocale==other.pLocale) && (patternMap->equals(*other.patternMap)) &&
382 if (patternMap != NULL) delete patternMap;
932 // 3. When adding the pattern (patternMap->add), we set a new boolean to indicate that the added entry had a
933 // specified skeleton (which sets a new field in the PtnElem in the PatternMap).
963 const UnicodeString *duplicatePattern = patternMap->getPatternFromBasePattern(basePattern, entryHadSpecifiedSkeleton);
976 duplicatePattern = patternMap->getPatternFromSkeleton(skeleton, &entrySpecifiedSkeleton);
984 patternMap->add(basePattern, skeleton, pattern, skeletonToUse != NULL, status);
1024 for (it.set(*patternMap); it.hasNext(); ) {
1032 bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton);
1238 StringEnumeration* skeletonEnumerator = new DTSkeletonEnumeration(*patternMap, DT_SKELETON, status);
1249 curElem = patternMap->getHeader(skeleton.charAt(0));
1261 StringEnumeration* baseSkeletonEnumerator = new DTSkeletonEnumeration(*patternMap, DT_BASESKELETON, status);
1270 for (it.set(*patternMap); it.hasNext(); ) {
1272 pattern = patternMap->getPatternFromSkeleton(*(it.getSkeleton()));
1312 PatternMap::PatternMap() {
1320 PatternMap::copyFrom(const PatternMap& other, UErrorCode& status) {
1352 PatternMap::getHeader(UChar baseChar) {
1369 PatternMap::~PatternMap() {
1376 } // PatternMap destructor
1379 PatternMap::add(const UnicodeString& basePattern,
1448 } // PatternMap::add
1452 PatternMap::getPatternFromBasePattern(UnicodeString& basePattern, UBool& skeletonWasSpecified) { // key to search for
1468 } // PatternMap::getFromBasePattern
1478 PatternMap::getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr) { // key to search for
1528 PatternMap::equals(const PatternMap& other) {
1566 PatternMap::getDuplicateElem(
1597 } // PatternMap::getDuplicateElem
1908 patternMap=NULL;
1918 PatternMapIterator::set(PatternMap& newPatternMap) {
1919 this->patternMap=&newPatternMap;
1937 if (patternMap==NULL) {
1952 if ( patternMap->boot[headIndex] != NULL ) {
1980 if ( patternMap->boot[bootIndex] != NULL ) {
1981 nodePtr = patternMap->boot[bootIndex];
2066 DTSkeletonEnumeration::DTSkeletonEnumeration(PatternMap &patternMap, dtStrEnum type, UErrorCode& status) {
2079 curElem = patternMap.boot[bootIndex];