Lines Matching refs:fd
155 with open(done_file, 'r') as fd:
156 result.return_code = int(fd.readline())
281 with open(outfile, 'w') as fd:
284 fd.write(result.stdout.decode('UTF-8').encode('ASCII', 'replace'))
289 with open(errfile, 'w') as fd:
291 fd.write(result.stderr.decode('UTF-8').encode('ASCII', 'replace'))
299 with open(done_file, 'w') as fd:
302 fd.write('%s' % RETURN_CODE_RETRY)
304 fd.write('%s' % result.return_code)
305 with open(os.path.join(build_dir, 'toolchain'), 'w') as fd:
306 print >>fd, 'gcc', result.toolchain.gcc
307 print >>fd, 'path', result.toolchain.path
308 print >>fd, 'cross', result.toolchain.cross
309 print >>fd, 'arch', result.toolchain.arch
310 fd.write('%s' % result.return_code)
323 with open(nm, 'w') as fd:
324 print >>fd, nm_result.stdout,
334 with open(objdump, 'w') as fd:
335 print >>fd, dump_result.stdout,
356 with open(sizes, 'w') as fd:
357 print >>fd, '\n'.join(lines)