HomeSort by relevance Sort by last modified time
    Searched refs:file_object (Results 1 - 12 of 12) sorted by null

  /build/make/tools/
event_log_tags.py 43 def __init__(self, filename, file_object=None):
45 messages). If 'file_object' is None, 'filename' will be opened
55 if file_object is None:
57 file_object = open(filename, "rb")
63 for self.linenum, line in enumerate(file_object):
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem.py 824 def AddObject(self, file_path, file_object):
829 file_object: file or directory to add
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
    [all...]
  /external/toolchain-utils/crosperf/
experiment_file.py 180 def __init__(self, file_object):
181 self.file_object = file_object
194 self.current_line = self.file_object.readline()
  /external/autotest/scheduler/
drone_utility.py 183 file_object = open(pidfile_path, 'r')
184 pidfiles[pidfile_path] = file_object.read()
185 file_object.close()
359 file_object = open(file_path, 'a')
360 file_object.write(contents)
361 file_object.close()
499 file_object = open(failed_file, 'w')
501 file_object.write('%s:%s\n%s\n%s' %
506 file_object.close()
  /external/autotest/client/common_lib/
logging_manager_test.py 160 def set_stdout(file_object):
161 self.stdout = file_object
logging_manager.py 313 def set_stream(file_object):
314 setattr(sys, stream_name, file_object)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_warnings.py 563 file_object = StringIO.StringIO()
567 file_object)
568 self.assertEqual(file_object.getvalue(), expect)
573 file_object = StringIO.StringIO()
575 file_object, expected_file_line)
576 self.assertEqual(expect, file_object.getvalue())
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_warnings.py 575 file_object = StringIO.StringIO()
579 file_object)
580 self.assertEqual(file_object.getvalue(), expect)
585 file_object = StringIO.StringIO()
587 file_object, expected_file_line)
588 self.assertEqual(expect, file_object.getvalue())
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_warnings.py 575 file_object = StringIO.StringIO()
579 file_object)
580 self.assertEqual(file_object.getvalue(), expect)
585 file_object = StringIO.StringIO()
587 file_object, expected_file_line)
588 self.assertEqual(expect, file_object.getvalue())
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_warnings.py 575 file_object = StringIO.StringIO()
579 file_object)
580 self.assertEqual(file_object.getvalue(), expect)
585 file_object = StringIO.StringIO()
587 file_object, expected_file_line)
588 self.assertEqual(expect, file_object.getvalue())
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_warnings.py 575 file_object = StringIO.StringIO()
579 file_object)
580 self.assertEqual(file_object.getvalue(), expect)
585 file_object = StringIO.StringIO()
587 file_object, expected_file_line)
588 self.assertEqual(expect, file_object.getvalue())
  /system/extras/pagecache/
pagecache.py 120 def __init__(self, file_object, output_queue, text_file, chunk_size=-1):
124 file_object: The file or pipe to read from.
134 self._file_object = file_object

Completed in 588 milliseconds