Home
last modified time | relevance | path

Searched refs:ilabel (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/lib2to3/pgen2/
Dparse.py119 ilabel = self.classify(type, value, context)
128 if ilabel == i:
148 if ilabel in itsfirst:
170 ilabel = self.grammar.keywords.get(value)
171 if ilabel is not None:
172 return ilabel
173 ilabel = self.grammar.tokens.get(type)
174 if ilabel is None:
176 return ilabel
Dpgen.py56 ilabel = self.make_label(c, label)
58 first[ilabel] = 1
63 ilabel = len(c.labels)
72 c.symbol2label[label] = ilabel
73 return ilabel
83 c.tokens[itoken] = ilabel
84 return ilabel
95 c.keywords[value] = ilabel
96 return ilabel
104 c.tokens[itoken] = ilabel
[all …]
Dconv.py253 for ilabel, (type, value) in enumerate(self.labels):
255 self.keywords[value] = ilabel
257 self.tokens[type] = ilabel
/external/python/cpython2/Lib/lib2to3/pgen2/
Dparse.py116 ilabel = self.classify(type, value, context)
125 if ilabel == i:
145 if ilabel in itsfirst:
167 ilabel = self.grammar.keywords.get(value)
168 if ilabel is not None:
169 return ilabel
170 ilabel = self.grammar.tokens.get(type)
171 if ilabel is None:
173 return ilabel
Dpgen.py56 ilabel = self.make_label(c, label)
58 first[ilabel] = 1
63 ilabel = len(c.labels)
72 c.symbol2label[label] = ilabel
73 return ilabel
83 c.tokens[itoken] = ilabel
84 return ilabel
95 c.keywords[value] = ilabel
96 return ilabel
104 c.tokens[itoken] = ilabel
[all …]
Dconv.py253 for ilabel, (type, value) in enumerate(self.labels):
255 self.keywords[value] = ilabel
257 self.tokens[type] = ilabel
/external/python/cpython3/Parser/pgen/
Dpgen.py219 ilabel = self.make_label(c, label)
221 first.add(ilabel)
226 ilabel = len(c.labels)
233 c.symbol2label[label] = ilabel
234 return ilabel
244 c.tokens[itoken] = ilabel
245 return ilabel
253 c.keywords[value] = ilabel
254 return ilabel
264 c.tokens[itoken] = ilabel
[all …]
/external/mesa3d/src/intel/tools/
Di965_asm.c133 struct instr_label *ilabel, *s; in i965_postprocess_labels() local
138 LIST_FOR_EACH_ENTRY_SAFE(ilabel, s, &instr_labels, link) { in i965_postprocess_labels()
139 if (!strcmp(tlabel->name, ilabel->name)) { in i965_postprocess_labels()
140 brw_inst *inst = store + ilabel->offset; in i965_postprocess_labels()
142 int relative_offset = (tlabel->offset - ilabel->offset) / sizeof(brw_inst); in i965_postprocess_labels()
147 if (ilabel->type == INSTR_LABEL_JIP) { in i965_postprocess_labels()
195 list_del(&ilabel->link); in i965_postprocess_labels()
200 LIST_FOR_EACH_ENTRY(ilabel, &instr_labels, link) { in i965_postprocess_labels()
201 fprintf(stderr, "Unknown label '%s'\n", ilabel->name); in i965_postprocess_labels()
/external/python/cpython2/Parser/
Dparser.c223 register int ilabel; in PyParser_AddToken() local
229 ilabel = classify(ps, type, str); in PyParser_AddToken()
230 if (ilabel < 0) in PyParser_AddToken()
243 if (s->s_lower <= ilabel && ilabel < s->s_upper) { in PyParser_AddToken()
244 register int x = s->s_accel[ilabel - s->s_lower]; in PyParser_AddToken()
/external/python/cpython3/Parser/
Dparser.c237 int ilabel; in PyParser_AddToken() local
243 ilabel = classify(ps, type, str); in PyParser_AddToken()
244 if (ilabel < 0) in PyParser_AddToken()
257 if (s->s_lower <= ilabel && ilabel < s->s_upper) { in PyParser_AddToken()
258 int x = s->s_accel[ilabel - s->s_lower]; in PyParser_AddToken()