HomeSort by relevance Sort by last modified time
    Searched refs:filesystem (Results 1 - 25 of 237) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
find_files.py 44 The callback has to take three arguments: filesystem, dirname and filename."""
49 def find(filesystem, base_dir, paths=None, skipped_directories=None, file_filter=None, directory_sort_key=None):
61 return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, file_filter, directory_sort_key)
64 def _normalize(filesystem, base_dir, paths):
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):
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_directories, file_filter)) for path in paths_to_walk)
    [all...]
find_files_unittest.py 32 from webkitpy.common.system.filesystem import FileSystem
45 def assert_filesystem_normalizes(self, filesystem):
46 self.assertEqual(find_files._normalize(filesystem, "c:\\foo",
61 self.assert_filesystem_normalizes(FileSystem())
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DirectoryReader.cpp 32 #include "modules/filesystem/DirectoryReader.h"
35 #include "modules/filesystem/EntriesCallback.h"
36 #include "modules/filesystem/Entry.h"
37 #include "modules/filesystem/ErrorCallback.h"
41 DirectoryReader::DirectoryReader(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
42 : DirectoryReaderBase(fileSystem, fullPath)
50 filesystem()->scheduleCallback(entriesCallback, EntryVector());
53 filesystem()->readDirectory(this, m_fullPath, entriesCallback, errorCallback);
FileEntrySync.cpp 32 #include "modules/filesystem/FileEntrySync.h"
36 #include "modules/filesystem/FileWriterSync.h"
40 FileEntrySync::FileEntrySync(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
41 : EntrySync(fileSystem, fullPath)
48 return filesystem()->createFile(this, exceptionState);
53 return filesystem()->createWriter(this, exceptionState);
DataTransferItemFileSystem.cpp 32 #include "modules/filesystem/DataTransferItemFileSystem.h"
39 #include "modules/filesystem/DOMFilePath.h"
40 #include "modules/filesystem/DOMFileSystem.h"
41 #include "modules/filesystem/DirectoryEntry.h"
42 #include "modules/filesystem/DraggedIsolatedFileSystem.h"
43 #include "modules/filesystem/Entry.h"
44 #include "modules/filesystem/FileEntry.h"
63 DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(item->clipboard()->dataObject().get()); local
64 DOMFileSystem* domFileSystem = filesystem ? filesystem->getDOMFileSystem(executionContext) : 0
    [all...]
HTMLInputElementFileSystem.cpp 32 #include "modules/filesystem/HTMLInputElementFileSystem.h"
36 #include "modules/filesystem/DOMFilePath.h"
37 #include "modules/filesystem/DOMFileSystem.h"
38 #include "modules/filesystem/DirectoryEntry.h"
39 #include "modules/filesystem/Entry.h"
40 #include "modules/filesystem/FileEntry.h"
54 RefPtr<DOMFileSystem> filesystem = DOMFileSystem::createIsolatedFileSystem(executionContext, input->droppedFileSystemId());
55 if (!filesystem) {
56 // Drag-drop isolated filesystem is not available.
68 // The dropped entries are mapped as top-level entries in the isolated filesystem
    [all...]
FileEntry.cpp 32 #include "modules/filesystem/FileEntry.h"
35 #include "modules/filesystem/DOMFileSystem.h"
36 #include "modules/filesystem/ErrorCallback.h"
37 #include "modules/filesystem/FileCallback.h"
38 #include "modules/filesystem/FileWriterCallback.h"
42 FileEntry::FileEntry(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
43 : Entry(fileSystem, fullPath)
50 filesystem()->createWriter(this, successCallback, errorCallback);
55 filesystem()->createFile(this, successCallback, errorCallback);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
rebaselineserver.py 41 def __init__(self, test_port, layout_tests_directory, results_directory, platforms, filesystem, scm):
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')
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
perftestsrunner_integrationtest.py 200 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'
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
finder.py 34 def __init__(self, filesystem, top_directory, starting_subdirectory):
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):
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, '.')[:-3
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
crashlogs.py 42 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)
crashlogs_unittest.py 88 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
urlfetcher_mock.py 34 def __init__(self, filesystem):
35 self._filesystem = filesystem
urlfetcher.py 36 def __init__(self, filesystem):
37 self._filesystem = filesystem
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
http_server_base_unittest.py 48 host.filesystem.write_text_file(server._pid_file, 'foo')
50 self.assertEqual(host.filesystem.files[server._pid_file], None)
52 host.filesystem.write_text_file(server._pid_file, 'foo')
58 self.assertEqual(host.filesystem.files[server._pid_file], None)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/
dump_reader_multipart_unittest.py 60 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_readin
    [all...]
dump_reader_multipart.py 44 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...]
dump_reader.py 49 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:
dump_reader_win_unittest.py 42 host.filesystem.maybe_make_directory(build_dir)
52 host.filesystem.write_text_file(dump_file, 'channel:\npid:%s\nplat:Win32\nprod:content_shell\n' % expected_pid)
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/style/
filereader_unittest.py 25 from webkitpy.common.system.filesystem import FileSystem
54 # FIXME: This should be a MockFileSystem once TextFileReader is moved entirely on top of 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
    [all...]
filereader.py 57 def __init__(self, filesystem, processor):
64 # FIXME: Although TextFileReader requires a FileSystem it circumvents it in two places!
65 self.filesystem = filesystem
88 # FIXME: This should use self.filesystem
114 if not self.filesystem.exists(file_path) and file_path != "-":
134 # FIXME: We should consider moving to self.filesystem.files_under() (or adding walk() to FileSystem)
137 file_path = self.filesystem.join(dir_path, file_name)
142 if self.filesystem.isdir(path)
    [all...]
  /external/chromium/chrome/browser/resources/file_manager/js/
main.js 32 function onFileSystemFound(filesystem) {
33 console.log('Found filesystem: ' + filesystem.name, filesystem);
49 if (filesystem.name.match(/^chrome-extension_\S+:external/i)) {
50 // We've been handed the local filesystem, whose root directory
52 util.getDirectories(filesystem.root, {create: false}, rootPaths,
55 util.forEachDirEntry(filesystem.root, onEntryFound);
61 console.log('Requesting filesystem.');
  /external/libsepol/tests/policies/test-cond/
refpolicy-base.conf 5 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.filesystem_1.3.1.R36x_v20100727-0745.jar 
  /external/chromium_org/chrome/renderer/resources/extensions/
media_galleries_custom_bindings.js 26 var filesystem = mediaGalleriesNatives.GetMediaFileSystemObject(
28 $Array.push(result, filesystem);
31 mediaGalleriesMetadata[filesystem.name] = metadata;
40 function(filesystem) {
41 if (filesystem && filesystem.name &&
42 mediaGalleriesMetadata[filesystem.name]) {
43 return mediaGalleriesMetadata[filesystem.name];

Completed in 233 milliseconds

1 2 3 4 5 6 7 8 910