Searched refs:file_object (Results 1 – 7 of 7) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/scripts/ |
D | run_system_tests.py | 54 with open(JSON_KEY_PATH, 'r') as file_object: 55 client_credentials = json.load(file_object) 69 with open(P12_KEY_PATH, 'rb') as file_object: 70 private_key_contents = file_object.read() 82 with open(USER_KEY_PATH, 'r') as file_object: 83 client_credentials = json.load(file_object)
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 824 def AddObject(self, file_path, file_object): argument 836 target_directory.AddEntry(file_object) 941 file_object = FakeFile(new_file, st_mode, contents) 942 file_object.SetIno(inode) 943 self.AddObject(parent_directory, file_object) 948 file_object.SetLargeFileSize(st_size) 953 return file_object 1721 file_object = self.filesystem.GetObject(path) 1728 file_object.st_mode = ((file_object.st_mode & ~PERM_ALL) | 1730 file_object.st_ctime = int(time.time()) [all …]
|
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 842 def AddObject(self, file_path, file_object): argument 854 target_directory.AddEntry(file_object) 959 file_object = FakeFile(new_file, st_mode, contents) 960 file_object.SetIno(inode) 961 self.AddObject(parent_directory, file_object) 966 file_object.SetLargeFileSize(st_size) 971 return file_object 1739 file_object = self.filesystem.GetObject(path) 1746 file_object.st_mode = ((file_object.st_mode & ~PERM_ALL) | 1748 file_object.st_ctime = int(time.time()) [all …]
|
/external/autotest/scheduler/ |
D | drone_utility.py | 189 file_object = open(pidfile_path, 'r') 190 pidfiles[pidfile_path] = file_object.read() 191 file_object.close() 373 file_object = open(file_path, 'a') 374 file_object.write(contents) 375 file_object.close() 504 file_object = open(failed_file, 'w') 506 file_object.write('%s:%s\n%s\n%s' % 511 file_object.close()
|
/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/chromium-trace/catapult/systrace/systrace/agents/ |
D | atrace_agent.py | 434 def __init__(self, file_object, output_queue, text_file, chunk_size=-1): argument 448 self._file_object = file_object
|