Searched refs:file_obj (Results 1 – 10 of 10) sorted by relevance
/external/autotest/server/hosts/ |
D | host_info_unittest.py | 378 file_obj = cStringIO.StringIO() 379 host_info.json_serialize(info, file_obj) 380 file_obj.seek(0) 386 self.assertEqual(json.load(file_obj), expected_dict) 393 file_obj = cStringIO.StringIO() 394 host_info.json_serialize(info, file_obj) 395 file_obj.seek(0) 401 self.assertEqual(json.load(file_obj), expected_dict)
|
D | host_info.py | 339 def json_serialize(info, file_obj, version=_CURRENT_SERIALIZATION_VERSION): argument 352 return json.dump(info_json, file_obj, sort_keys=True, indent=4, 356 def json_deserialize(file_obj): argument 364 deserialized_json = json.load(file_obj)
|
/external/autotest/site_utils/ |
D | suite_preprocessor.py | 42 with open(options.output_file, 'w') as file_obj: 43 file_obj.write('%r' % test_deps)
|
D | control_file_preprocessor.py | 89 with open(options.output_file, 'w') as file_obj: 90 json.dump(suite_control_files, file_obj)
|
/external/autotest/client/common_lib/ |
D | utils.py | 869 for file_obj in read_ready: 870 bg_job, is_stdout = reverse_dict[file_obj] 873 for file_obj in write_ready: 876 bg_job = reverse_dict[file_obj] 877 file_obj.write(bg_job.string_stdin[:512]) 881 file_obj.close() 882 write_list.remove(file_obj) 883 del reverse_dict[file_obj]
|
/external/python/cpython2/Lib/ |
D | subprocess.py | 1129 def register_and_append(file_obj, eventmask): argument 1130 poller.register(file_obj.fileno(), eventmask) 1131 fd2file[file_obj.fileno()] = file_obj
|
/external/valgrind/include/vki/ |
D | vki-solaris.h | 721 #define vki_file_obj file_obj
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.0.rst | 220 *stream_reader(file_obj)* returns an object that supports the :meth:`read`, 225 stream. *stream_writer(file_obj)* returns an object that supports the
|
D | 2.3.rst | 1075 the lines in a file, but now you can simply write ``for line in file_obj``.
|
/external/valgrind/memcheck/tests/solaris/ |
D | scalar.stderr.exp | 3037 Syscall param port(file_obj) points to unaddressable byte(s) 3083 Syscall param port(file_obj) points to unaddressable byte(s)
|