Lines Matching refs:curElem
1243 PtnElem *curElem;
1248 curElem = patternMap->getHeader(skeleton.charAt(0));
1249 while ( curElem != NULL ) {
1250 if ( curElem->skeleton->getSkeleton()==skeleton ) {
1251 return curElem->pattern;
1253 curElem=curElem->next;
1322 PtnElem *curElem, *otherElem, *prevElem=NULL;
1325 if ((curElem = new PtnElem(otherElem->basePattern, otherElem->pattern))==NULL) {
1331 this->boot[bootIndex] = curElem;
1333 if ((curElem->skeleton=new PtnSkeleton(*(otherElem->skeleton))) == NULL ) {
1340 prevElem->next=curElem;
1342 curElem->next=NULL;
1343 prevElem = curElem;
1352 PtnElem* curElem;
1355 curElem = boot[baseChar-CAP_A];
1359 curElem = boot[26+baseChar-LOW_A];
1365 return curElem;
1384 PtnElem *curElem, *baseElem;
1402 if ((curElem = new PtnElem(basePattern, value)) == NULL ) {
1408 boot[26 + (baseChar-LOW_A)] = curElem;
1411 boot[baseChar-CAP_A] = curElem;
1413 curElem->skeleton = new PtnSkeleton(skeleton);
1414 curElem->skeletonWasSpecified = skeletonWasSpecified;
1417 curElem = getDuplicateElem(basePattern, skeleton, baseElem);
1419 if (curElem == NULL) {
1421 curElem = baseElem;
1422 while( curElem -> next != NULL )
1424 curElem = curElem->next;
1426 if ((curElem->next = new PtnElem(basePattern, value)) == NULL ) {
1431 curElem=curElem->next;
1432 curElem->skeleton = new PtnSkeleton(skeleton);
1433 curElem->skeletonWasSpecified = skeletonWasSpecified;
1441 curElem->pattern = value;
1444 curElem->skeletonWasSpecified = skeletonWasSpecified;
1452 PtnElem *curElem;
1454 if ((curElem=getHeader(basePattern.charAt(0)))==NULL) {
1459 if ( basePattern.compare(curElem->basePattern)==0 ) {
1460 skeletonWasSpecified = curElem->skeletonWasSpecified;
1461 return &(curElem->pattern);
1463 curElem=curElem->next;
1464 }while (curElem != NULL);
1478 PtnElem *curElem;
1493 if ((curElem=getHeader(baseChar))==NULL) {
1501 if (curElem->skeleton->original[i].compare(skeleton.original[i]) != 0 )
1508 if (curElem->skeleton->baseOriginal[i].compare(skeleton.baseOriginal[i]) != 0 )
1515 if (specifiedSkeletonPtr && curElem->skeletonWasSpecified) {
1516 *specifiedSkeletonPtr = curElem->skeleton;
1518 return &(curElem->pattern);
1520 curElem=curElem->next;
1521 }while (curElem != NULL);
1569 PtnElem *curElem;
1575 curElem = baseElem;
1578 if ( basePattern.compare(curElem->basePattern)==0 ) {
1581 if (curElem->skeleton->type[i] != skeleton.type[i] ) {
1587 return curElem;
1590 curElem = curElem->next;
1591 } while( curElem != (PtnElem *)NULL );
2066 PtnElem *curElem;
2078 curElem = patternMap.boot[bootIndex];
2079 while (curElem!=NULL) {
2082 s=curElem->basePattern;
2085 s=curElem->pattern;
2088 curSkeleton=curElem->skeleton;
2100 curElem = curElem->next;
2103 if ((bootIndex==MAX_PATTERN_ENTRIES) && (curElem!=NULL) ) {