Home
last modified time | relevance | path

Searched refs:rname (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Ddumpcycles.c29 fprintf(stderr,"Cycle %d: (degree %d) %s -->\n", i++, degree, RulePtr[c->croot]->rname); in dumpcycles()
34 hash_get(Fcache,Fkey(RulePtr[c->croot]->rname,'o',k)); in dumpcycles()
37 RulePtr[c->croot]->rname); in dumpcycles()
64 fprintf(stderr,"#%d rule %d %s\n",i,*pi,RulePtr[*pi]->rname);
Dsyn.h192 char *rname; /* what rule does this element live in? */ variable
199 char *rname; /* what rule does this element live in? */ member
211 char *rname; /* what rule does this action live in? */
246 char *rname; /* name of rule it's in */
290 char *rname; /* name of rule it's in */
323 char *rname; /* name of rule junction is in */
Ddumpnode.c176 fprintf(stderr, "Junction (#%d in rule %s line %d) ",j->seq,j->rname,j->line);
229 fprintf(stderr, "RuleRefNode (in rule %s line %d) to rule %s\n", r->rname,r->line,r->text);
233 …fprintf(stderr, "TokNode (in rule %s line %d) token %s\n",t->rname,t->line,TerminalString(t->token…
238 fprintf(stderr, "Predicate (in rule %s line %d) %s",a->rname,a->line,a->action);
252 fprintf(stderr, "Init-Action (in rule %s line %d) %s\n",a->rname,a->line,a->action);
254 fprintf(stderr, "Action (in rule %s line %d) %s\n",a->rname,a->line,a->action);
Dfset.c126 if ( p->jtype == RuleBlk ) fprintf(stderr, "FIRST(%s,%d) \n",((Junction *)p)->rname,k);
128 decodeJType[p->jtype], ((Junction *)p)->rname);
160 fprintf(stderr, "FOLLOW cycle to %s: panic!\n", p->rname);
162 if (! MR_AmbSourceSearch) RegisterCycle(p->rname, k);
171 CacheEntry *q = (CacheEntry *) hash_get(Fcache, Fkey(p->rname,'i',k));
183 CacheEntry *q = (CacheEntry *) hash_get(Fcache, Fkey(p->rname,'o',k));
187 fprintf(stderr, "cache for FOLLOW(%s,%d):", p->rname,k);
213 if (! MR_AmbSourceSearch) FoPush(p->rname, k); /* Attempting FOLLOW */
216 fprintf(stderr, "-->FOLLOW(%s,%d)\n", p->rname,k);
240 CacheEntry *q = newCacheEntry( Fkey(p->rname,'i',k) );
[all …]
Dmisc.c851 f = (CacheEntry *) hash_get(Fcache, Fkey(RulePtr[*p]->rname,'o',k));
854 f = newCacheEntry( Fkey(RulePtr[*p]->rname,'o',k) );
855 hash_add(Fcache, Fkey(RulePtr[*p]->rname,'o',k), (Entry *)f);
906 hash_get(Fcache, Fkey(RulePtr[c->croot]->rname,'o',k));
907 require(f!=NULL, eMsg1("FOLLOW(%s) must be in cache but isn't", RulePtr[c->croot]->rname) );
924 hash_get(Fcache, Fkey(RulePtr[r]->rname,'o',k));
925 require(g!=NULL, eMsg1("FOLLOW(%s) must be in cache but isn't", RulePtr[r]->rname) );
1153 printf( "\n%s :\n", q->rname);
1319 addFoLink( r->next, r->rname, RulePtr[q->rulenum] );
1356 addFoLink( Node *p, char *rname, Junction *r ) in addFoLink() argument
[all …]
Dlex.c398 fprintf(f, "#define %s %s_%s\n", p->rname, ParserName, p->rname);
503 fprintf(f, " %s%s(", RulePrefix, p->rname);
516 fprintf(f, " %s%s();\n", RulePrefix, p->rname);
522 fprintf(f, "void %s%s(", RulePrefix, p->rname);
537 fprintf(f, "extern void %s%s();\n", RulePrefix, p->rname);
604 fprintf(f, " %s%s(",RulePrefix,p->rname);
618 fprintf(f, "\tvoid %s%s(",RulePrefix,p->rname);
Dbuild.c149 a->rname = CurRule; /* MR10 */
659 p->rname = CurRule; in newTokNode()
693 p->rname = CurRule; in newRNode()
732 p->rname = CurRule; in newJunction()
Dpred.c272 fprintf(stderr, "Junction(in %s)", j->rname);
306 fprintf(stderr, "RuleRef(in %s)\n", r->rname);
310 fprintf(stderr, "TokenNode(in %s)%s\n", t->rname, TokenString(t->token));
Dgen.c193 if ( GenCC ) {gen1("zzTRACEOUT(\"%s\");\n", q->rname);}
194 else gen1("zzTRACEOUT((ANTLRChar *)\"%s\");\n", q->rname);
2034 r2 = (RuleEntry *) hash_get(Rname, p->rname);
2267 r = (RuleEntry *) hash_get(Rname, p->rname);
3366 CurRule=q->rname; /* MR11 */
3368 r = (RuleEntry *) hash_get(Rname, q->rname);
3392 fprintf(stderr," rule %s\n",q->rname);
3397 if (strcmp(q->rname,"***debug***") == 0) {
3398 fprintf(stderr,"***debug*** %s reached\n",q->rname);
3473 /* MR10 */ if ( GenCC ) {gen1("zzTRACEIN(\"%s\");\n", q->rname);}
[all …]
Dfset2.c546 decodeJType[p->jtype], ((Junction *)p)->rname);
603 fprintf(stderr, "blk(%s) returns:",((Junction *)p)->rname); preorder(r); fprintf(stderr, "\n");
1848 strcmp(MR_AmbAidRule,alt1->rname) == 0 ||
1849 strcmp(MR_AmbAidRule,alt2->rname) == 0 ||
1948 strcmp(MR_AmbAidRule,alt1->rname) == 0 ||
1949 strcmp(MR_AmbAidRule,alt2->rname) == 0 ||
2118 fprintf(f," %2d %-30s",itemCount,j->rname);
2124 fprintf (f," %2d end %-26s",itemCount,j->rname);
Dmrhoist.c255 i,rrn->rname,rrn->line,FileStr[rrn->file],rrn->text);
261 count,lastOne->rname,lastOne->line,FileStr[lastOne->file]);
409 p->source->rname,p->source->line,FileStr[p->source->file]);
1097 thisAlt->rname=j->rname;
2216 strncpy(ruleNameStatic1,n->rname,ruleNameMax);
2498 re=(RuleEntry *) hash_get(Rname,p->rname);
2508 fprintf(f," %s",RulePtr[e]->rname);
2968 q = (RuleEntry *) hash_get(Rname,mark->rname);
3025 fprintf(stderr," %s",RulePtr[*cursor]->rname);
Dantlr.c656 if ( q!=NULL ) CurRuleBlk->rname = q->str; in rule()
923 predExpr->source->rname=CurPredName; in aPred()
Dantlr.g906 if ( q!=NULL ) CurRuleBlk->rname = q->str;
1093 predExpr->source->rname=CurPredName;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_descr.py4445 rname = name
4447 rname = '__r' + name[2:]
4449 B = metaclass('B', (), {rname: specialmethod})