Home
last modified time | relevance | path

Searched refs:file_obj (Results 1 – 10 of 10) sorted by relevance

/external/autotest/server/hosts/
Dhost_info_unittest.py378 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)
Dhost_info.py339 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/
Dsuite_preprocessor.py42 with open(options.output_file, 'w') as file_obj:
43 file_obj.write('%r' % test_deps)
Dcontrol_file_preprocessor.py89 with open(options.output_file, 'w') as file_obj:
90 json.dump(suite_control_files, file_obj)
/external/autotest/client/common_lib/
Dutils.py869 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/
Dsubprocess.py1129 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/
Dvki-solaris.h721 #define vki_file_obj file_obj
/external/python/cpython2/Doc/whatsnew/
D2.0.rst220 *stream_reader(file_obj)* returns an object that supports the :meth:`read`,
225 stream. *stream_writer(file_obj)* returns an object that supports the
D2.3.rst1075 the lines in a file, but now you can simply write ``for line in file_obj``.
/external/valgrind/memcheck/tests/solaris/
Dscalar.stderr.exp3037 Syscall param port(file_obj) points to unaddressable byte(s)
3083 Syscall param port(file_obj) points to unaddressable byte(s)