Lines Matching refs:curElem
1827 PtnElem *curElem; in getPatternForSkeleton() local
1832 curElem = patternMap->getHeader(skeleton.charAt(0)); in getPatternForSkeleton()
1833 while ( curElem != nullptr ) { in getPatternForSkeleton()
1834 if ( curElem->skeleton->getSkeleton()==skeleton ) { in getPatternForSkeleton()
1835 return curElem->pattern; in getPatternForSkeleton()
1837 curElem = curElem->next.getAlias(); in getPatternForSkeleton()
1932 PtnElem *curElem, *otherElem, *prevElem=nullptr; in copyFrom() local
1948 curElem = newElem.orphan(); in copyFrom()
1951 this->boot[bootIndex] = curElem; in copyFrom()
1954 prevElem->next.adoptInstead(curElem); in copyFrom()
1959 prevElem = curElem; in copyFrom()
1968 PtnElem* curElem; in getHeader() local
1971 curElem = boot[baseChar-CAP_A]; in getHeader()
1975 curElem = boot[26+baseChar-LOW_A]; in getHeader()
1981 return curElem; in getHeader()
2000 PtnElem *curElem, *baseElem; in add() local
2035 curElem = getDuplicateElem(basePattern, skeleton, baseElem); in add()
2037 if (curElem == nullptr) { in add()
2039 curElem = baseElem; in add()
2040 while( curElem -> next != nullptr ) in add()
2042 curElem = curElem->next.getAlias(); in add()
2054 curElem->next.adoptInstead(newElem.orphan()); in add()
2055 curElem = curElem->next.getAlias(); in add()
2063 curElem->pattern = value; in add()
2066 curElem->skeletonWasSpecified = skeletonWasSpecified; in add()
2074 PtnElem *curElem; in getPatternFromBasePattern() local
2076 if ((curElem=getHeader(basePattern.charAt(0)))==nullptr) { in getPatternFromBasePattern()
2081 if ( basePattern.compare(curElem->basePattern)==0 ) { in getPatternFromBasePattern()
2082 skeletonWasSpecified = curElem->skeletonWasSpecified; in getPatternFromBasePattern()
2083 return &(curElem->pattern); in getPatternFromBasePattern()
2085 curElem = curElem->next.getAlias(); in getPatternFromBasePattern()
2086 } while (curElem != nullptr); in getPatternFromBasePattern()
2100 PtnElem *curElem; in getPatternFromSkeleton() local
2108 if ((curElem=getHeader(baseChar))==nullptr) { in getPatternFromSkeleton()
2115 equal = curElem->skeleton->original == skeleton.original; in getPatternFromSkeleton()
2117 equal = curElem->skeleton->baseOriginal == skeleton.baseOriginal; in getPatternFromSkeleton()
2120 if (specifiedSkeletonPtr && curElem->skeletonWasSpecified) { in getPatternFromSkeleton()
2121 *specifiedSkeletonPtr = curElem->skeleton.getAlias(); in getPatternFromSkeleton()
2123 return &(curElem->pattern); in getPatternFromSkeleton()
2125 curElem = curElem->next.getAlias(); in getPatternFromSkeleton()
2126 } while (curElem != nullptr); in getPatternFromSkeleton()
2174 PtnElem *curElem; in getDuplicateElem() local
2180 curElem = baseElem; in getDuplicateElem()
2183 if ( basePattern.compare(curElem->basePattern)==0 ) { in getDuplicateElem()
2186 if (curElem->skeleton->type[i] != skeleton.type[i] ) { in getDuplicateElem()
2192 return curElem; in getDuplicateElem()
2195 curElem = curElem->next.getAlias(); in getDuplicateElem()
2196 } while( curElem != nullptr ); in getDuplicateElem()
2772 PtnElem *curElem; in DTSkeletonEnumeration() local
2784 curElem = patternMap.boot[bootIndex]; in DTSkeletonEnumeration()
2785 while (curElem!=nullptr) { in DTSkeletonEnumeration()
2788 s=curElem->basePattern; in DTSkeletonEnumeration()
2791 s=curElem->pattern; in DTSkeletonEnumeration()
2794 curSkeleton=curElem->skeleton.getAlias(); in DTSkeletonEnumeration()
2810 curElem = curElem->next.getAlias(); in DTSkeletonEnumeration()
2813 if ((bootIndex==MAX_PATTERN_ENTRIES) && (curElem!=nullptr) ) { in DTSkeletonEnumeration()