Lines Matching refs:next
306 struct rule *next; /* Next rule in the global list */ member
326 struct config *next; /* Next configuration in the state */ member
353 struct action *next; /* Next action for this state */ member
377 struct plink *next; /* The next propagate link */ member
503 for(i=0; i<amt-1; i++) actionfreelist[i].next = &actionfreelist[i+1]; in Action_new()
504 actionfreelist[amt-1].next = 0; in Action_new()
507 actionfreelist = actionfreelist->next; in Action_new()
537 ap = (struct action *)msort((char *)ap,(char **)&ap->next, in Action_sort()
550 newaction->next = *app; in Action_add()
814 for(rp=xp->rule; rp; rp=rp->next){ in FindRulePrecedences()
856 for(rp=lemp->rule; rp; rp=rp->next){ in FindFirstSets()
874 for(rp=lemp->rule; rp; rp=rp->next){ in FindFirstSets()
931 for(rp=lemp->rule; rp; rp=rp->next){ in FindStates()
1036 for(cfp=stp->cfp; cfp; cfp=cfp->next) cfp->status = INCOMPLETE; in buildshifts()
1039 for(cfp=stp->cfp; cfp; cfp=cfp->next){ in buildshifts()
1048 for(bcfp=cfp; bcfp; bcfp=bcfp->next){ in buildshifts()
1090 for(cfp=stp?stp->cfp:0; cfp; cfp=cfp->next){ in FindLinks()
1099 for(cfp=stp?stp->cfp:0; cfp; cfp=cfp->next){ in FindLinks()
1100 for(plp=cfp->bplp; plp; plp=plp->next){ in FindLinks()
1123 for(cfp=lemp->sorted[i]->cfp; cfp; cfp=cfp->next){ in FindFollowSets()
1132 for(cfp=lemp->sorted[i]->cfp; cfp; cfp=cfp->next){ in FindFollowSets()
1134 for(plp=cfp->fplp; plp; plp=plp->next){ in FindFollowSets()
1165 for(cfp=stp->cfp; cfp; cfp=cfp->next){ /* Loop over all configurations */ in FindActions()
1203 for(ap=stp->ap; ap && ap->next; ap=ap->next){ in FindActions()
1204 for(nap=ap->next; nap && nap->sp==ap->sp; nap=nap->next){ in FindActions()
1213 for(rp=lemp->rule; rp; rp=rp->next) rp->canReduce = LEMON_FALSE; in FindActions()
1216 for(ap=lemp->sorted[i]->ap; ap; ap=ap->next){ in FindActions()
1220 for(rp=lemp->rule; rp; rp=rp->next){ in FindActions()
1321 old->next = freelist; in deleteconfig()
1363 cfp->next = 0; in Configlist_add()
1366 currentend = &cfp->next; in Configlist_add()
1389 cfp->next = 0; in Configlist_addbasis()
1392 currentend = &cfp->next; in Configlist_addbasis()
1409 for(cfp=current; cfp; cfp=cfp->next){ in Configlist_closure()
1447 current = (struct config*)msort((char*)current,(char**)&(current->next), in Configlist_sort()
1486 nextcfp = cfp->next; in Configlist_eat()
1573 ppPrev = &pA->next; in Rule_merge()
1574 pA = pA->next; in Rule_merge()
1577 ppPrev = &pB->next; in Rule_merge()
1578 pB = pB->next; in Rule_merge()
1598 pNext = rp->next; in Rule_sort()
1599 rp->next = 0; in Rule_sort()
1720 for(i=0, rp=lem.rule; rp; rp=rp->next){ in main()
1724 for(rp=lem.rule; rp; rp=rp->next){ in main()
1897 char **next, in msort() argument
1904 offset = (unsigned long)((char*)next - (char*)list); in msort()
2410 rp->next = 0; in parseonetoken()
2414 psp->lastrule->next = rp; in parseonetoken()
3128 for(i=0; i<amt-1; i++) plink_freelist[i].next = &plink_freelist[i+1]; in Plink_new()
3129 plink_freelist[amt-1].next = 0; in Plink_new()
3132 plink_freelist = plink_freelist->next; in Plink_new()
3141 newlink->next = *plpp; in Plink_add()
3151 nextpl = from->next; in Plink_copy()
3152 from->next = *to; in Plink_copy()
3164 nextpl = plp->next; in Plink_delete()
3165 plp->next = plink_freelist; in Plink_delete()
3279 for(rp=lemp->rule; rp; rp=rp->next){ in Reprint()
3346 plp = plp->next;
3452 else cfp=cfp->next; in ReportOutput()
3455 for(ap=stp->ap; ap; ap=ap->next){ in ReportOutput()
3505 for(rp=lemp->rule; rp; rp=rp->next){ in ReportOutput()
4367 for(i=0, rp=lemp->rule; rp; rp=rp->next, i++){ in ReportTable()
4538 for(ap=stp->ap; ap; ap=ap->next){ in ReportTable()
4549 for(ap=stp->ap; ap; ap=ap->next){ in ReportTable()
4577 for(rp=lemp->rule; rp; rp=rp->next) rp->doesReduce = LEMON_FALSE; in ReportTable()
4579 for(ap=lemp->sorted[i]->ap; ap; ap=ap->next){ in ReportTable()
4776 for(i=0, rp=lemp->rule; rp; rp=rp->next, i++){ in ReportTable()
4857 for(i=0, rp=lemp->rule; rp; rp=rp->next, i++){ in ReportTable()
4863 for(i=0, rp=lemp->rule; rp; rp=rp->next, i++){ in ReportTable()
4872 for(rp=lemp->rule; rp; rp=rp->next){ in ReportTable()
4879 for(rp=lemp->rule; rp; rp=rp->next){ in ReportTable()
4889 for(rp2=rp->next; rp2; rp2=rp2->next){ in ReportTable()
4905 for(rp=lemp->rule; rp; rp=rp->next){ in ReportTable()
5003 for(ap=stp->ap; ap; ap=ap->next){ in CompressTables()
5012 for(ap2=ap->next; ap2; ap2=ap2->next){ in CompressTables()
5032 for(ap=stp->ap; ap; ap=ap->next){ in CompressTables()
5037 for(ap=ap->next; ap; ap=ap->next){ in CompressTables()
5042 for(ap=stp->ap; ap; ap=ap->next){ in CompressTables()
5058 for(ap=stp->ap; ap; ap=ap->next){ in CompressTables()
5078 nextap = ap->next; in CompressTables()
5091 for(ap2=stp->ap; ap2 && (ap2==ap || ap2->sp!=rp->lhs); ap2=ap2->next){} in CompressTables()
5140 for(ap=stp->ap; ap; ap=ap->next){ in ResortStates()
5277 struct s_x1node *next; /* Next entry with the same hash */ member
5320 np = np->next; in Strsafe_insert()
5337 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Strsafe_insert()
5338 newnp->next = array.ht[h]; in Strsafe_insert()
5351 if( x1a->ht[h] ) x1a->ht[h]->from = &(np->next); in Strsafe_insert()
5352 np->next = x1a->ht[h]; in Strsafe_insert()
5370 np = np->next; in Strsafe_find()
5445 struct s_x2node *next; /* Next entry with the same hash */ member
5488 np = np->next; in Symbol_insert()
5505 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Symbol_insert()
5506 newnp->next = array.ht[h]; in Symbol_insert()
5522 if( x2a->ht[h] ) x2a->ht[h]->from = &(np->next); in Symbol_insert()
5523 np->next = x2a->ht[h]; in Symbol_insert()
5541 np = np->next; in Symbol_find()
5644 struct s_x3node *next; /* Next entry with the same hash */ member
5687 np = np->next; in State_insert()
5704 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in State_insert()
5705 newnp->next = array.ht[h]; in State_insert()
5719 if( x3a->ht[h] ) x3a->ht[h]->from = &(np->next); in State_insert()
5720 np->next = x3a->ht[h]; in State_insert()
5738 np = np->next; in State_find()
5784 struct s_x4node *next; /* Next entry with the same hash */ member
5827 np = np->next; in Configtable_insert()
5844 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Configtable_insert()
5845 newnp->next = array.ht[h]; in Configtable_insert()
5859 if( x4a->ht[h] ) x4a->ht[h]->from = &(np->next); in Configtable_insert()
5860 np->next = x4a->ht[h]; in Configtable_insert()
5878 np = np->next; in Configtable_find()