Searched refs:file_object (Results 1 – 5 of 5) sorted by relevance
/external/toolchain-utils/crosperf/ |
D | experiment_file.py | 180 def __init__(self, file_object): argument 181 self.file_object = file_object 194 self.current_line = self.file_object.readline()
|
/external/autotest/scheduler/ |
D | drone_utility.py | 274 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/ |
D | logging_manager_test.py | 160 def set_stdout(file_object): argument 161 self.stdout = file_object
|
D | logging_manager.py | 313 def set_stream(file_object): argument 314 setattr(sys, stream_name, file_object)
|
/external/python/cpython2/Lib/test/ |
D | test_warnings.py | 674 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())
|