Lines Matching refs:dict
338 dict = getGlobalSubDict()
339 dict.update({ "opcode":op, "opnum":opindex })
341 emitAsmHeader(asm_fp, dict, alt_label_prefix)
342 appendSourceFile(source, dict, asm_fp, None)
377 dict = getGlobalSubDict()
378 dict.update({ "opcode":op, "opnum":opindex })
382 emitAsmHeader(asm_fp, dict, label_prefix)
383 appendSourceFile(source, dict, asm_fp, sister_list)
390 dict = getGlobalSubDict()
391 dict.update({ "opcode":op, "opnum":opindex })
392 emitAsmHeader(asm_fp, dict, label_prefix)
400 def emitAsmHeader(outfp, dict, prefix): argument
408 outfp.write(prefix + "_%(opcode)s: /* 0x%(opnum)02x */\n" % dict)
414 def emitAsmStub(outfp, dict): argument
415 emitAsmHeader(outfp, dict, label_prefix)
418 outfp.write(templ.substitute(dict))
435 def appendSourceFile(source, dict, outfp, sister_list): argument
451 new_dict = dict.copy()
465 dict.setdefault(entry, defaultValues[entry])
472 sister_list.append("\n/* continuation for %(opcode)s */\n"%dict)
476 if dict != None:
479 subline = templ.substitute(dict)