Home | History | Annotate | Download | only in i18n

Lines Matching refs:PatternMap

323     patternMap = new PatternMap();
324 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
336 patternMap = new PatternMap();
337 if (fp == NULL || dtMatcher == NULL || distanceInfo == NULL || patternMap == NULL) {
353 patternMap = new PatternMap();
388 patternMap->copyFrom(*other.patternMap, status);
399 if ((pLocale==other.pLocale) && (patternMap->equals(*other.patternMap)) &&
427 if (patternMap != NULL) delete patternMap;
1243 // 3. When adding the pattern (patternMap->add), we set a new boolean to indicate that the added entry had a
1244 // specified skeleton (which sets a new field in the PtnElem in the PatternMap).
1274 const UnicodeString *duplicatePattern = patternMap->getPatternFromBasePattern(basePattern, entryHadSpecifiedSkeleton);
1287 duplicatePattern = patternMap->getPatternFromSkeleton(skeleton, &entrySpecifiedSkeleton);
1295 patternMap->add(basePattern, skeleton, pattern, skeletonToUse != NULL, status);
1335 for (it.set(*patternMap); it.hasNext(); ) {
1343 bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton);
1554 StringEnumeration* skeletonEnumerator = new DTSkeletonEnumeration(*patternMap, DT_SKELETON, status);
1565 curElem = patternMap->getHeader(skeleton.charAt(0));
1577 StringEnumeration* baseSkeletonEnumerator = new DTSkeletonEnumeration(*patternMap, DT_BASESKELETON, status);
1586 for (it.set(*patternMap); it.hasNext(); ) {
1588 pattern = patternMap->getPatternFromSkeleton(*(it.getSkeleton()));
1628 PatternMap::PatternMap() {
1636 PatternMap::copyFrom(const PatternMap& other, UErrorCode& status) {
1668 PatternMap::getHeader(UChar baseChar) {
1685 PatternMap::~PatternMap() {
1692 } // PatternMap destructor
1695 PatternMap::add(const UnicodeString& basePattern,
1764 } // PatternMap::add
1768 PatternMap::getPatternFromBasePattern(UnicodeString& basePattern, UBool& skeletonWasSpecified) { // key to search for
1784 } // PatternMap::getFromBasePattern
1794 PatternMap::getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr) { // key to search for
1827 PatternMap::equals(const PatternMap& other) {
1865 PatternMap::getDuplicateElem(
1896 } // PatternMap::getDuplicateElem
2206 patternMap=NULL;
2216 PatternMapIterator::set(PatternMap& newPatternMap) {
2217 this->patternMap=&newPatternMap;
2235 if (patternMap==NULL) {
2250 if ( patternMap->boot[headIndex] != NULL ) {
2278 if ( patternMap->boot[bootIndex] != NULL ) {
2279 nodePtr = patternMap->boot[bootIndex];
2442 DTSkeletonEnumeration::DTSkeletonEnumeration(PatternMap &patternMap, dtStrEnum type, UErrorCode& status) {
2455 curElem = patternMap.boot[bootIndex];