Lines Matching refs:output_dir
70 def DownloadSamples(server_name, authtoken, output_dir, start, stop): argument
108 output_dir)
109 _UncompressSample(key, time, board, version, output_dir)
127 output_dir): argument
143 if os.path.exists(os.path.join(output_dir, filename)):
152 f = open(os.path.join(output_dir, compressed_filename), 'w+')
157 def _UncompressSample(key, time, board, version, output_dir): argument
171 if os.path.exists(os.path.join(output_dir, filename)):
175 out_file = open(os.path.join(output_dir, filename), 'wb')
176 in_file = gzip.open(os.path.join(output_dir, compressed_filename), 'rb')
180 os.remove(os.path.join(output_dir, compressed_filename))
235 if not options.output_dir:
238 if not os.path.exists(options.output_dir):
246 DownloadSamples(SERVER_NAME, authtoken, options.output_dir, options.start_ind,