Lines Matching refs:dict
202 dict = getGlobalSubDict()
203 dict.update({ "opcode":op, "opnum":i })
205 "_%(opcode)s /* 0x%(opnum)02x */\n" % dict)
322 dict = getGlobalSubDict()
323 dict.update({ "opcode":op, "opnum":opindex })
325 emitAsmHeader(asm_fp, dict, alt_label_prefix)
326 appendSourceFile(source, dict, asm_fp, None)
367 dict = getGlobalSubDict()
368 dict.update({ "opcode":op, "opnum":opindex })
370 appendSourceFile(source, dict, c_fp, None)
373 emitAsmStub(asm_fp, dict)
381 dict = getGlobalSubDict()
382 dict.update({ "opcode":op, "opnum":opindex })
386 emitAsmHeader(asm_fp, dict, label_prefix)
387 appendSourceFile(source, dict, asm_fp, sister_list)
392 def emitAsmHeader(outfp, dict, prefix): argument
400 outfp.write(prefix + "_%(opcode)s: /* 0x%(opnum)02x */\n" % dict)
406 def emitAsmStub(outfp, dict): argument
407 emitAsmHeader(outfp, dict, label_prefix)
410 outfp.write(templ.substitute(dict))
427 def appendSourceFile(source, dict, outfp, sister_list): argument
443 new_dict = dict.copy()
457 dict.setdefault(entry, defaultValues[entry])
468 sister_list.append("\n/* continuation for %(opcode)s */\n"%dict)
472 if dict != None:
475 subline = templ.substitute(dict)