Lines Matching refs:source
19 # and assembly source files for the Dalvik interpreter.
101 source = tokens[1]
102 if source.endswith(".cpp"):
104 elif source.endswith(".S"):
108 % source)
157 # Set location of a single alt opcode's source file.
177 # Set location of a single opcode's source file.
329 def loadAndEmitAltStub(source, opindex):
332 print " alt emit %s --> stub" % source
337 appendSourceFile(source, dict, asm_fp, None)
360 source = "%s/ALT_%s.S" % (alt_opcode_locations[op], op)
362 source = default_alt_stub
363 loadAndEmitAltStub(source, i)
375 source = "%s/%s.cpp" % (location, op)
377 print " emit %s --> C++" % source
381 appendSourceFile(source, dict, c_fp, None)
391 source = "%s/%s.S" % (location, op)
395 print " emit %s --> asm" % source
398 appendSourceFile(source, dict, asm_fp, sister_list)
424 # Append the file specified by "source" to the open "outfp". Each line will
438 def appendSourceFile(source, dict, outfp, sister_list):
439 outfp.write("/* File: %s */\n" % source)
440 infp = open(source, "r")
447 raise DataParseError("malformed %%include in %s" % source)
450 if alt_source == source:
452 % source)
465 raise DataParseError("malformed %%default in %s" % source)
489 % (source, str(err)))