Lines Matching refs:log_file
99 def ResetLogFile(log_file): argument
100 if log_file != sys.stdout:
101 log_file.seek(0)
104 def PrintByteArray(log_file, byte_array): argument
106 print(hex(byte) + " ", end=' ', file=log_file)
107 print(file=log_file)
112 def __init__(self, byte_width, log_file, start=0, skip=1): argument
114 self.m_log_file = log_file
150 def __init__(self, byte_width, log_file): argument
152 self.m_log_file = log_file
175 log_file = None variable
179 global log_file
181 log_file = open(args.log, 'w')
183 log_file = sys.stdout
186 instruction_provider = RandomInstructionProvider(args.bytes, log_file)
195 args.bytes, log_file, start, skip)
222 print("Invalid instruction list", file=log_file)
226 print("Invalid instruction", file=log_file)
230 print(instr_output_stream.GetData(), file=log_file)