Home
last modified time | relevance | path

Searched refs:filesystem (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
Dperftestsrunner_integrationtest.py200 json_content = runner._host.filesystem.read_text_file(runner._output_json_path())
209 runner._host.filesystem.maybe_make_directory(runner._base_path, 'inspector')
210 runner._host.filesystem.maybe_make_directory(runner._base_path, 'Bindings')
211 runner._host.filesystem.maybe_make_directory(runner._base_path, 'Parser')
217 …tests = [ChromiumStylePerfTest(port, test_name, runner._host.filesystem.join('some-dir', test_name…
239 filesystem = runner._host.filesystem
242 path = filesystem.join(runner._base_path, test)
243 dirname = filesystem.dirname(path)
293 …port.host.filesystem.write_text_file(runner._base_path + '/Parser/memory-test.html', 'some content…
308 …def _test_run_with_json_output(self, runner, filesystem, upload_succeeds=False, results_shown=True… argument
[all …]
Dperftestsrunner.py140 def _is_test_file(filesystem, dirname, filename): argument
141 return filesystem.splitext(filename)[1] in test_extensions
143 filesystem = self._host.filesystem
147 if filesystem.exists(filesystem.join(self._base_path, arg)):
150 relpath = filesystem.relpath(arg, self._base_path)
151 if filesystem.exists(filesystem.join(self._base_path, relpath)):
152 paths.append(filesystem.normpath(relpath))
157 …test_files = find_files.find(filesystem, self._base_path, paths, skipped_directories, _is_test_fil…
160 relative_path = filesystem.relpath(path, self._base_path).replace('\\', '/')
161 …ons.use_skipped_list and self._port.skips_perf_test(relative_path) and filesystem.normpath(relativ…
[all …]
Dperftestsrunner_unittest.py48 runner._host.filesystem.maybe_make_directory(runner._base_path, 'inspector')
49 runner._host.filesystem.maybe_make_directory(runner._base_path, 'Bindings')
50 runner._host.filesystem.maybe_make_directory(runner._base_path, 'Parser')
54 …dirname = runner._host.filesystem.join(runner._base_path, dirname) if dirname else runner._base_pa…
55 runner._host.filesystem.maybe_make_directory(dirname)
56 runner._host.filesystem.files[runner._host.filesystem.join(dirname, filename)] = content
71 …port.host.filesystem.files[runner._host.filesystem.join(runner._base_path, filename)] = 'some cont…
76 …port.host.filesystem.chdir(runner._port.perf_tests_dir()[:runner._port.perf_tests_dir().rfind(runn…
161 port.host.filesystem.files['/mock-checkout/some.json'] = 'some content'
179 def upload_single_text_file(mock, filesystem, content_type, filename): argument
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
Dfinder.py34 def __init__(self, filesystem, top_directory, starting_subdirectory): argument
35 self.filesystem = filesystem
36 self.top_directory = filesystem.realpath(top_directory)
40 self.top_package = starting_subdirectory.replace(filesystem.sep, '.') + '.'
41 self.search_directory = filesystem.join(self.top_directory, starting_subdirectory)
45 search_directory = self.filesystem.join(self.top_directory, sub_directory)
49 def file_filter(filesystem, dirname, basename): argument
52 filenames = self.filesystem.files_under(search_directory, file_filter=file_filter)
56 …return path.replace(self.top_directory + self.filesystem.sep, '').replace(self.filesystem.sep, '.'…
60 realpath = self.filesystem.realpath(self.filesystem.join(self.top_directory, path))
[all …]
/external/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf5 class filesystem
140 class filesystem
977 allow bin_t fs_t:filesystem associate;
978 allow bin_t noxattrfs:filesystem associate;
980 allow sbin_t fs_t:filesystem associate;
981 allow sbin_t noxattrfs:filesystem associate;
983 allow ls_exec_t fs_t:filesystem associate;
984 allow ls_exec_t noxattrfs:filesystem associate;
987 allow shell_exec_t fs_t:filesystem associate;
988 allow shell_exec_t noxattrfs:filesystem associate;
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dfind_files.py49 def find(filesystem, base_dir, paths=None, skipped_directories=None, file_filter=None, directory_so… argument
61 …return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, …
64 def _normalize(filesystem, base_dir, paths): argument
65 return [filesystem.normpath(filesystem.join(base_dir, path)) for path in paths]
68 def _normalized_find(filesystem, paths, skipped_directories, file_filter, directory_sort_key): argument
76 paths_to_walk = itertools.chain(*(filesystem.glob(path) for path in paths))
83 …all_files = itertools.chain(*(sort_by_directory_key(filesystem.files_under(path, skipped_directori…
/external/chromium_org/third_party/WebKit/Source/modules/
Dmodules.gypi38 'filesystem/DOMFileSystem.idl',
39 'filesystem/DOMFileSystemSync.idl',
40 'filesystem/DataTransferItemFileSystem.idl',
41 'filesystem/DirectoryEntry.idl',
42 'filesystem/DirectoryEntrySync.idl',
43 'filesystem/DirectoryReader.idl',
44 'filesystem/DirectoryReaderSync.idl',
45 'filesystem/EntriesCallback.idl',
46 'filesystem/Entry.idl',
47 'filesystem/EntryCallback.idl',
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/
Ddump_reader_multipart_unittest.py60 host.filesystem.maybe_make_directory(build_dir)
72 … host.filesystem.write_text_file(dump_file, "\r\n".join(TestDumpReaderMultipart._MULTIPART_DUMP))
74 host.filesystem.maybe_make_directory(build_dir)
75 host.filesystem.exists = lambda x: True
79 host.filesystem.open_binary_file_for_reading = host.filesystem.open_text_file_for_reading
91 … host.filesystem.write_text_file(dump_file, "\r\n".join(TestDumpReaderMultipart._MULTIPART_DUMP))
93 host.filesystem.maybe_make_directory(build_dir)
94 host.filesystem.exists = lambda x: True
98 host.filesystem.open_binary_file_for_reading = host.filesystem.open_text_file_for_reading
Ddump_reader_multipart.py44 self._webkit_finder = WebKitFinder(host.filesystem)
66 f, temp_name = self._host.filesystem.open_binary_tempfile('dmp')
77 self._host.filesystem.remove(temp_name)
81 with self._host.filesystem.open_binary_file_for_reading(dump_file) as f:
98 full_path = self._host.filesystem.join(self._build_dir, binary)
99 if not self._host.filesystem.exists(full_path):
113 return self._host.filesystem.join(self._build_dir, "minidump_stackwalk")
119 return self._host.filesystem.join(self._build_dir, 'content_shell.syms')
122 if self._host.filesystem.exists(self._symbols_dir()):
124 symbols_mtime = self._host.filesystem.mtime(self._symbols_dir())
[all …]
Ddump_reader.py49 return self._host.filesystem.join(self._build_dir, 'crash-dumps')
52 if self._host.filesystem.isdir(self.crash_dumps_directory()):
53 self._host.filesystem.rmtree(self.crash_dumps_directory())
63 for root, dirs, files in self._host.filesystem.walk(self.crash_dumps_directory()):
65 dmp_file = self._host.filesystem.join(root, dmp)
66 if self._host.filesystem.mtime(dmp_file) < start_time:
Ddump_reader_win_unittest.py42 host.filesystem.maybe_make_directory(build_dir)
52 …host.filesystem.write_text_file(dump_file, 'channel:\npid:%s\nplat:Win32\nprod:content_shell\n' % …
54 host.filesystem.maybe_make_directory(build_dir)
65 host.filesystem.write_text_file(dump_file, 'product:content_shell\n')
66 host.filesystem.write_binary_file(real_dump_file, 'MDMP')
68 host.filesystem.maybe_make_directory(build_dir)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
Drebaselineserver.py41 …def __init__(self, test_port, layout_tests_directory, results_directory, platforms, filesystem, sc… argument
46 self.filesystem = filesystem
77 filesystem = system.filesystem.FileSystem()
81 results_json_path = filesystem.join(results_directory, 'full_results.json')
82 results_json = json_results_generator.load_json(filesystem, results_json_path)
86 platforms = filesystem.listdir(filesystem.join(layout_tests_directory, 'platform'))
87 …st_config = TestConfig(port, layout_tests_directory, results_directory, platforms, filesystem, scm)
/external/chromium_org/chrome/renderer/resources/extensions/
Dmedia_galleries_custom_bindings.js26 var filesystem = mediaGalleriesNatives.GetMediaFileSystemObject(
28 $Array.push(result, filesystem);
31 mediaGalleriesMetadata[filesystem.name] = metadata;
40 function(filesystem) { argument
41 if (filesystem && filesystem.name &&
42 mediaGalleriesMetadata[filesystem.name]) {
43 return mediaGalleriesMetadata[filesystem.name];
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
Drebaselineserver.py48 test_results_directory = test_config.filesystem.join(
52 for filename in test_config.filesystem.listdir(test_results_directory):
66 filesystem = test_config.filesystem
70 target_expectations_directory = filesystem.join(
72 test_results_directory = test_config.filesystem.join(
110 filesystem.maybe_make_directory(target_expectations_directory)
112 source_path = filesystem.join(test_results_directory, source_file)
114 destination_path = filesystem.join(
116 filesystem.copyfile(source_path, destination_path)
131 filesystem = test_config.filesystem
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dcrashlogs.py42 log_directory = self._host.filesystem.expanduser("~")
43 log_directory = self._host.filesystem.join(log_directory, "Library", "Logs")
44 … if self._host.filesystem.exists(self._host.filesystem.join(log_directory, "DiagnosticReports")):
45 log_directory = self._host.filesystem.join(log_directory, "DiagnosticReports")
47 log_directory = self._host.filesystem.join(log_directory, "CrashReporter")
55 logs = self._host.filesystem.files_under(log_directory, file_filter=is_crash_log)
60 if not newer_than or self._host.filesystem.mtime(path) > newer_than:
61 f = self._host.filesystem.read_text_file(path)
Dcrashlogs_unittest.py88 filesystem = MockFileSystem(files)
89 crash_logs = CrashLogs(MockSystemHost(filesystem=filesystem))
107 filesystem.read_text_file = bad_read
111 filesystem = MockFileSystem(files)
112 crash_logs = CrashLogs(MockSystemHost(filesystem=filesystem))
113 filesystem.mtime = bad_mtime
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
Dfilereader_unittest.py25 from webkitpy.common.system.filesystem import FileSystem
55 self.filesystem = FileSystem()
56 self._temp_dir = str(self.filesystem.mkdtemp())
58 self._file_reader = TextFileReader(self.filesystem, self._processor)
62 self.filesystem.rmtree(self._temp_dir)
67 file_path = self.filesystem.join(self._temp_dir, rel_path)
68 self.filesystem.write_text_file(file_path, text)
91 temp_dir = self.filesystem.join(self._temp_dir, 'test_dir')
92 self.filesystem.maybe_make_directory(temp_dir)
139 dir = self.filesystem.join(self._temp_dir, 'foo_dir')
[all …]
Dfilereader.py57 def __init__(self, filesystem, processor): argument
65 self.filesystem = filesystem
114 if not self.filesystem.exists(file_path) and file_path != "-":
137 file_path = self.filesystem.join(dir_path, file_name)
142 if self.filesystem.isdir(path):
/external/e2fsprogs/ext2ed/
Dext2ed.conf.in7 # Ext2Descriptors is the location of the ext2 filesystem structure
22 # LogFile is the location of the log file. Actual changes to the filesystem
30 # filesystem. When on, each change will be logged - Both the previous data
38 # filesystem - The "enablewrite" command will not work. When on, enablewrite
46 # a mounted filesystem. Read-Write mode is never allowed on a mounted
47 # filesystem.
53 # When ForceExt2 is set to on, the filesystem is assumed to be ext2
54 # filesystem, despite the possibly corrupt superblock magic number reading.
61 # Normally, the various filesystem parameters such as the block size and the
62 # total number of blocks are gathered from the ext2 filesystem itself.
[all …]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dfake_pepper_interface_html5fs.cc28 FakeFileSystemResource() : filesystem(NULL), opened(false) {} in FakeFileSystemResource()
29 ~FakeFileSystemResource() { delete filesystem; } in ~FakeFileSystemResource()
32 FakeHtml5FsFilesystem* filesystem; // Owned. member in __anon01dfa18e0111::FakeFileSystemResource
38 FakeFileRefResource() : filesystem(NULL) {} in FakeFileRefResource()
41 FakeHtml5FsFilesystem* filesystem; // Weak reference. member in __anon01dfa18e0111::FakeFileRefResource
144 const FakeHtml5FsFilesystem& filesystem, in FakeHtml5FsFilesystem() argument
146 : node_map_(filesystem.node_map_), filesystem_type_(type) {} in FakeHtml5FsFilesystem()
321 FakeHtml5FsFilesystem* filesystem = file_ref_resource->filesystem; in Open() local
322 FakeHtml5FsNode* node = filesystem->GetNode(path); in Open()
329 bool result = filesystem->AddEmptyFile(path, &node); in Open()
[all …]
/external/chromium/chrome/browser/resources/file_manager/js/
Dmain.js32 function onFileSystemFound(filesystem) { argument
33 console.log('Found filesystem: ' + filesystem.name, filesystem);
49 if (filesystem.name.match(/^chrome-extension_\S+:external/i)) {
52 util.getDirectories(filesystem.root, {create: false}, rootPaths,
55 util.forEachDirEntry(filesystem.root, onEntryFound);
/external/e2fsprogs/tests/m_mkfs_overhead/
Dexpect.11 ./test.img: Cannot create filesystem with requested number of inodes while setting up superblock
2 ./test.img: Attempt to read block from filesystem resulted in short read while opening filesystem
5 ../e2fsck/e2fsck: Attempt to read block from filesystem resulted in short read while trying to open…
9 ../misc/dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open…
10 Couldn't find valid filesystem superblock.
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
Dbase_unittest.py55 add_unit_tests_to_mock_filesystem(host.filesystem)
153 port.host.filesystem.write_text_file(port.layout_tests_dir() + '/canvas/test', '')
154 port.host.filesystem.write_text_file(port.layout_tests_dir() + '/css2.1/test', '')
163 dirname = port.host.filesystem.join(port.perf_tests_dir(), dirname)
164 port.host.filesystem.maybe_make_directory(dirname)
165 … port.host.filesystem.write_text_file(port.host.filesystem.join(dirname, filename), content)
280 filesystem = MockFileSystem()
281 self.assertTrue(Port.is_test_file(filesystem, '', 'foo.html'))
282 self.assertTrue(Port.is_test_file(filesystem, '', 'foo.svg'))
283 self.assertTrue(Port.is_test_file(filesystem, '', 'test-ref-test.html'))
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
Dtest_parser.py46 self.filesystem = self.host.filesystem
53 if self.filesystem.isfile(filename):
55 self.test_doc = Parser(self.filesystem.read_binary_file(filename))
61 if self.filesystem.isdir(filename):
88 self.filesystem.basename(self.filename))
91 … ref_file = self.filesystem.join(self.filesystem.dirname(self.filename), matches[0]['href'])
94 _log.error('%s has a reference link but is missing the "href"', self.filesystem)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
Dpng_unittest.py70 checker = PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(filesystem=fs))
80 … PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
88 … PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
96 … PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
104 … PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
112 … PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
120 …PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
128 …PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))

12345678910>>...15