Lines Matching refs:curElem
1248 PtnElem *curElem;
1253 curElem = patternMap->getHeader(skeleton.charAt(0));
1254 while ( curElem != NULL ) {
1255 if ( curElem->skeleton->getSkeleton()==skeleton ) {
1256 return curElem->pattern;
1258 curElem=curElem->next;
1327 PtnElem *curElem, *otherElem, *prevElem=NULL;
1330 if ((curElem = new PtnElem(otherElem->basePattern, otherElem->pattern))==NULL) {
1336 this->boot[bootIndex] = curElem;
1338 if ((curElem->skeleton=new PtnSkeleton(*(otherElem->skeleton))) == NULL ) {
1343 curElem->skeletonWasSpecified = otherElem->skeletonWasSpecified;
1345 prevElem->next=curElem;
1347 curElem->next=NULL;
1348 prevElem = curElem;
1357 PtnElem* curElem;
1360 curElem = boot[baseChar-CAP_A];
1364 curElem = boot[26+baseChar-LOW_A];
1370 return curElem;
1389 PtnElem *curElem, *baseElem;
1407 if ((curElem = new PtnElem(basePattern, value)) == NULL ) {
1413 boot[26 + (baseChar-LOW_A)] = curElem;
1416 boot[baseChar-CAP_A] = curElem;
1418 curElem->skeleton = new PtnSkeleton(skeleton);
1419 curElem->skeletonWasSpecified = skeletonWasSpecified;
1422 curElem = getDuplicateElem(basePattern, skeleton, baseElem);
1424 if (curElem == NULL) {
1426 curElem = baseElem;
1427 while( curElem -> next != NULL )
1429 curElem = curElem->next;
1431 if ((curElem->next = new PtnElem(basePattern, value)) == NULL ) {
1436 curElem=curElem->next;
1437 curElem->skeleton = new PtnSkeleton(skeleton);
1438 curElem->skeletonWasSpecified = skeletonWasSpecified;
1446 curElem->pattern = value;
1449 curElem->skeletonWasSpecified = skeletonWasSpecified;
1457 PtnElem *curElem;
1459 if ((curElem=getHeader(basePattern.charAt(0)))==NULL) {
1464 if ( basePattern.compare(curElem->basePattern)==0 ) {
1465 skeletonWasSpecified = curElem->skeletonWasSpecified;
1466 return &(curElem->pattern);
1468 curElem=curElem->next;
1469 }while (curElem != NULL);
1483 PtnElem *curElem;
1498 if ((curElem=getHeader(baseChar))==NULL) {
1506 if (curElem->skeleton->original[i].compare(skeleton.original[i]) != 0 )
1513 if (curElem->skeleton->baseOriginal[i].compare(skeleton.baseOriginal[i]) != 0 )
1520 if (specifiedSkeletonPtr && curElem->skeletonWasSpecified) {
1521 *specifiedSkeletonPtr = curElem->skeleton;
1523 return &(curElem->pattern);
1525 curElem=curElem->next;
1526 }while (curElem != NULL);
1574 PtnElem *curElem;
1580 curElem = baseElem;
1583 if ( basePattern.compare(curElem->basePattern)==0 ) {
1586 if (curElem->skeleton->type[i] != skeleton.type[i] ) {
1592 return curElem;
1595 curElem = curElem->next;
1596 } while( curElem != (PtnElem *)NULL );
2071 PtnElem *curElem;
2083 curElem = patternMap.boot[bootIndex];
2084 while (curElem!=NULL) {
2087 s=curElem->basePattern;
2090 s=curElem->pattern;
2093 curSkeleton=curElem->skeleton;
2105 curElem = curElem->next;
2108 if ((bootIndex==MAX_PATTERN_ENTRIES) && (curElem!=NULL) ) {