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

  /external/autotest/site_utils/
suite_preprocessor.py 38 with open(options.output_file, 'w') as file_obj:
39 file_obj.write('%r' % test_deps)
control_file_preprocessor.py 80 with open(options.output_file, 'w') as file_obj:
81 json.dump(suite_control_files, file_obj)
  /external/chromium-trace/catapult/third_party/coverage/coverage/
pickle2json.py 10 def pickle_read_raw_data(cls_unused, file_obj):
12 return pickle.load(file_obj)
data.py 263 def read_fileobj(self, file_obj):
269 data = self._read_raw_data(file_obj)
307 def _read_raw_data(cls, file_obj):
309 go_away = file_obj.read(len(cls._GO_AWAY))
312 return json.load(file_obj)
432 def write_fileobj(self, file_obj):
433 """Write the coverage data to `file_obj`."""
451 file_obj.write(self._GO_AWAY)
452 json.dump(file_data, file_obj)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
vault.py 136 def create_archive_from_file(self, filename=None, file_obj=None,
145 :type file_obj: file
146 :param file_obj: A file-like object to upload
160 if not file_obj:
167 file_obj = open(filename, "rb")
174 data = file_obj.read(part_size)
199 file_obj=None):
205 One and only one of filename or file_obj must be specified.
232 if not file_obj:
233 file_obj = open(filename, "rb"
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
rules_parser.py 41 def __init__(self, file_obj=None, allowed_imports=None):
45 file_obj: A file object.
51 self._rules = [] if file_obj is None else _Load(file_obj, allowed_imports)
122 def _Load(file_obj, allowed_imports):
126 file_obj: a file object.
132 entries = json.load(file_obj)
replay.py 119 with open(options.rules_path) as file_obj:
122 rules = rules_parser.Rules(file_obj, allowed_imports)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/
run_pylint.py 54 with open(filename, 'r') as file_obj:
55 config.readfp(file_obj)
76 with open(target_filename, 'w') as file_obj:
77 test_cfg.write(file_obj)
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_tempfile_test.py 125 file_obj = self.filesystem.GetObject(obj.name)
126 self.assertEqual('foo', file_obj.contents)
130 file_obj = self.filesystem.GetObject(obj.name)
131 self.assertEqual('foo', file_obj.contents)
fake_filesystem.py 369 def AddOpenFile(self, file_obj):
370 """Adds file_obj to the list of open files on the filesystem.
375 file_obj: file object to be added to open files list.
382 self.open_files[open_fd] = file_obj
385 self.open_files.append(file_obj)
388 def CloseOpenFile(self, file_obj):
389 """Removes file_obj from the list of open files on the filesystem.
394 file_obj: file object to be removed to open files list.
396 self.open_files[file_obj.filedes] = None
397 heapq.heappush(self.free_fd_heap, file_obj.filedes
    [all...]
fake_filesystem_test.py 119 file_obj = filesystem.GetObject(file_path)
120 file_obj.SetIno(43)
709 file_obj = fake_open(file_path)
710 fileno = file_obj.fileno()
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
test_layer2.py 293 sentinel.upload_id, file_obj=sentinel.file_obj)
295 self.vault, sentinel.upload_id, part_size, sentinel.file_obj,
  /external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
fake_filesystem.py 387 def AddOpenFile(self, file_obj):
388 """Adds file_obj to the list of open files on the filesystem.
393 file_obj: file object to be added to open files list.
400 self.open_files[open_fd] = file_obj
403 self.open_files.append(file_obj)
406 def CloseOpenFile(self, file_obj):
407 """Removes file_obj from the list of open files on the filesystem.
412 file_obj: file object to be removed to open files list.
414 self.open_files[file_obj.filedes] = None
415 heapq.heappush(self.free_fd_heap, file_obj.filedes
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
subprocess.py     [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
subprocess.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
subprocess.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
subprocess.py     [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/python-gflags/
gflags.py     [all...]
  /external/chromium-trace/catapult/third_party/python_gflags/
gflags.py     [all...]
  /external/valgrind/include/vki/
vki-solaris.h 656 #define vki_file_obj file_obj
    [all...]
  /external/valgrind/memcheck/tests/solaris/
scalar.stderr.exp     [all...]

Completed in 462 milliseconds