Home
last modified time | relevance | path

Searched refs:file_object (Results 1 – 5 of 5) sorted by relevance

/external/toolchain-utils/crosperf/
Dexperiment_file.py180 def __init__(self, file_object): argument
181 self.file_object = file_object
194 self.current_line = self.file_object.readline()
/external/autotest/scheduler/
Ddrone_utility.py274 file_object = open(file_path, 'a')
275 file_object.write(contents)
276 file_object.close()
418 file_object = open(failed_file, 'w')
420 file_object.write('%s:%s\n%s\n%s' %
425 file_object.close()
684 with open(pidfile_path, 'r') as file_object:
685 return _PidfileContent(pidfile_path, file_object.read())
/external/autotest/client/common_lib/
Dlogging_manager_test.py160 def set_stdout(file_object): argument
161 self.stdout = file_object
Dlogging_manager.py313 def set_stream(file_object): argument
314 setattr(sys, stream_name, file_object)
/external/python/cpython2/Lib/test/
Dtest_warnings.py674 file_object = StringIO.StringIO()
678 file_object)
679 self.assertEqual(file_object.getvalue(), expect)
684 file_object = StringIO.StringIO()
686 file_object, expected_file_line)
687 self.assertEqual(expect, file_object.getvalue())