Lines Matching refs:curElem
1244 PtnElem *curElem;
1249 curElem = patternMap->getHeader(skeleton.charAt(0));
1250 while ( curElem != NULL ) {
1251 if ( curElem->skeleton->getSkeleton()==skeleton ) {
1252 return curElem->pattern;
1254 curElem=curElem->next;
1323 PtnElem *curElem, *otherElem, *prevElem=NULL;
1326 if ((curElem = new PtnElem(otherElem->basePattern, otherElem->pattern))==NULL) {
1332 this->boot[bootIndex] = curElem;
1334 if ((curElem->skeleton=new PtnSkeleton(*(otherElem->skeleton))) == NULL ) {
1341 prevElem->next=curElem;
1343 curElem->next=NULL;
1344 prevElem = curElem;
1353 PtnElem* curElem;
1356 curElem = boot[baseChar-CAP_A];
1360 curElem = boot[26+baseChar-LOW_A];
1366 return curElem;
1385 PtnElem *curElem, *baseElem;
1403 if ((curElem = new PtnElem(basePattern, value)) == NULL ) {
1409 boot[26 + (baseChar-LOW_A)] = curElem;
1412 boot[baseChar-CAP_A] = curElem;
1414 curElem->skeleton = new PtnSkeleton(skeleton);
1415 curElem->skeletonWasSpecified = skeletonWasSpecified;
1418 curElem = getDuplicateElem(basePattern, skeleton, baseElem);
1420 if (curElem == NULL) {
1422 curElem = baseElem;
1423 while( curElem -> next != NULL )
1425 curElem = curElem->next;
1427 if ((curElem->next = new PtnElem(basePattern, value)) == NULL ) {
1432 curElem=curElem->next;
1433 curElem->skeleton = new PtnSkeleton(skeleton);
1434 curElem->skeletonWasSpecified = skeletonWasSpecified;
1442 curElem->pattern = value;
1445 curElem->skeletonWasSpecified = skeletonWasSpecified;
1453 PtnElem *curElem;
1455 if ((curElem=getHeader(basePattern.charAt(0)))==NULL) {
1460 if ( basePattern.compare(curElem->basePattern)==0 ) {
1461 skeletonWasSpecified = curElem->skeletonWasSpecified;
1462 return &(curElem->pattern);
1464 curElem=curElem->next;
1465 }while (curElem != NULL);
1479 PtnElem *curElem;
1494 if ((curElem=getHeader(baseChar))==NULL) {
1502 if (curElem->skeleton->original[i].compare(skeleton.original[i]) != 0 )
1509 if (curElem->skeleton->baseOriginal[i].compare(skeleton.baseOriginal[i]) != 0 )
1516 if (specifiedSkeletonPtr && curElem->skeletonWasSpecified) {
1517 *specifiedSkeletonPtr = curElem->skeleton;
1519 return &(curElem->pattern);
1521 curElem=curElem->next;
1522 }while (curElem != NULL);
1570 PtnElem *curElem;
1576 curElem = baseElem;
1579 if ( basePattern.compare(curElem->basePattern)==0 ) {
1582 if (curElem->skeleton->type[i] != skeleton.type[i] ) {
1588 return curElem;
1591 curElem = curElem->next;
1592 } while( curElem != (PtnElem *)NULL );
2067 PtnElem *curElem;
2079 curElem = patternMap.boot[bootIndex];
2080 while (curElem!=NULL) {
2083 s=curElem->basePattern;
2086 s=curElem->pattern;
2089 curSkeleton=curElem->skeleton;
2101 curElem = curElem->next;
2104 if ((bootIndex==MAX_PATTERN_ENTRIES) && (curElem!=NULL) ) {