Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
Drules_parser.py41 def __init__(self, file_obj=None, allowed_imports=None): argument
51 self._rules = [] if file_obj is None else _Load(file_obj, allowed_imports)
122 def _Load(file_obj, allowed_imports): argument
132 entries = json.load(file_obj)
Dreplay.py119 with open(options.rules_path) as file_obj:
122 rules = rules_parser.Rules(file_obj, allowed_imports)
/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/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_tempfile_test.py125 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)
Dfake_filesystem.py369 def AddOpenFile(self, file_obj): argument
382 self.open_files[open_fd] = file_obj
385 self.open_files.append(file_obj)
388 def CloseOpenFile(self, file_obj): argument
396 self.open_files[file_obj.filedes] = None
397 heapq.heappush(self.free_fd_heap, file_obj.filedes)
1030 file_obj = self.filesystem.GetObject(path)
1031 return file_obj.st_size
1100 file_obj = self.filesystem.GetObject(path)
1103 return file_obj.st_mtime
Dfake_filesystem_test.py119 file_obj = filesystem.GetObject(file_path)
120 file_obj.SetIno(43)
709 file_obj = fake_open(file_path)
710 fileno = file_obj.fileno()
/external/autotest/client/common_lib/
Dbase_utils.py868 for file_obj in read_ready:
869 bg_job, is_stdout = reverse_dict[file_obj]
872 for file_obj in write_ready:
875 bg_job = reverse_dict[file_obj]
876 file_obj.write(bg_job.string_stdin[:512])
880 file_obj.close()
881 write_list.remove(file_obj)
882 del reverse_dict[file_obj]
/external/valgrind/include/vki/
Dvki-solaris.h656 #define vki_file_obj file_obj
/external/valgrind/memcheck/tests/solaris/
Dscalar.stderr.exp2811 Syscall param port(file_obj) points to unaddressable byte(s)
2857 Syscall param port(file_obj) points to unaddressable byte(s)