HomeSort by relevance Sort by last modified time
    Searched refs:file_object (Results 1 - 10 of 10) 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/python/oauth2client/scripts/
run_system_tests.py 84 with open(USER_KEY_PATH, 'r') as file_object:
85 client_credentials = json.load(file_object)
  /external/toolchain-utils/crosperf/
experiment_file.py 177 def __init__(self, file_object):
178 self.file_object = file_object
191 self.current_line = self.file_object.readline()
  /external/autotest/scheduler/
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/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())
  /external/python/cpython3/Lib/
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()
    [all...]
  /external/python/cpython3/Lib/test/test_warnings/
__init__.py     [all...]
  /external/python/cpython2/Lib/test/
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())
    [all...]

Completed in 644 milliseconds