Searched refs:file_object (Results 1 – 8 of 8) sorted by relevance
/external/toolchain-utils/crosperf/ |
D | experiment_file.py | 177 def __init__(self, file_object): argument 178 self.file_object = file_object 191 self.current_line = self.file_object.readline()
|
/external/autotest/scheduler/ |
D | drone_utility.py | 242 file_object = open(file_path, 'a') 243 file_object.write(contents) 244 file_object.close() 386 file_object = open(failed_file, 'w') 388 file_object.write('%s:%s\n%s\n%s' % 393 file_object.close() 652 with open(pidfile_path, 'r') as file_object: 653 return _PidfileContent(pidfile_path, file_object.read())
|
/external/python/oauth2client/scripts/ |
D | run_system_tests.py | 84 with open(USER_KEY_PATH, 'r') as file_object: 85 client_credentials = json.load(file_object)
|
/external/python/cpython3/Lib/ |
D | aifc.py | 350 file_object = builtins.open(f, 'rb') 352 self.initfp(file_object) 354 file_object.close() 561 file_object = builtins.open(f, 'wb') 563 self.initfp(file_object) 565 file_object.close()
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 928 file_object = StringIO() 932 file_object) 933 self.assertEqual(file_object.getvalue(), expect) 938 file_object = StringIO() 940 file_object, expected_file_line) 941 self.assertEqual(expect, file_object.getvalue()) 954 file_object = StringIO() 959 file_object, file_line) 960 self.assertEqual(file_object.getvalue(), expected)
|
/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 | 710 file_object = StringIO.StringIO() 714 file_object) 715 self.assertEqual(file_object.getvalue(), expect) 720 file_object = StringIO.StringIO() 722 file_object, expected_file_line) 723 self.assertEqual(expect, file_object.getvalue())
|