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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
char_node.h 14 explicit CharNode(Filesystem* filesystem) : Node(filesystem) {
  /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/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...]
main_unittest.py 28 from webkitpy.common.system.filesystem import FileSystem
86 filesystem = FileSystem()
88 module_path = filesystem.path_to_module(self.__module__)
90 coverage_file = filesystem.join(script_dir, '.coverage')
92 if filesystem.exists(coverage_file):
94 filesystem.move(coverage_file, coverage_file_orig)
97 proc = executive.popen([sys.executable, filesystem.join(script_dir, 'test-webkitpy'), '-c', STUBS_CLASS + '.test_empty'],
105 filesystem.move(coverage_file_orig, coverage_file
    [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 87 filesystem = MockFileSystem(files)
88 crash_logs = CrashLogs(MockSystemHost(filesystem=filesystem))
106 filesystem.read_text_file = bad_read
110 filesystem = MockFileSystem(files)
111 crash_logs = CrashLogs(MockSystemHost(filesystem=filesystem))
112 filesystem.mtime = bad_mtime
systemhost.py 33 from webkitpy.common.system import environment, executive, filesystem, platforminfo, user, workspace namespace
40 self.filesystem = filesystem.FileSystem()
43 self.workspace = workspace.Workspace(self.filesystem, self.executive)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/
dump_reader_multipart_unittest.py 60 self.assertTrue(host.filesystem.exists(dump_reader._path_to_generate_breakpad_symbols()))
66 host.filesystem.maybe_make_directory(build_dir)
78 host.filesystem.write_text_file(dump_file, "\r\n".join(TestDumpReaderMultipart._MULTIPART_DUMP))
80 host.filesystem.maybe_make_directory(build_dir)
81 host.filesystem.exists = lambda x: True
85 host.filesystem.open_binary_file_for_reading = host.filesystem.open_text_file_for_reading
97 host.filesystem.write_text_file(dump_file, "\r\n".join(TestDumpReaderMultipart._MULTIPART_DUMP))
99 host.filesystem.maybe_make_directory(build_dir)
100 host.filesystem.exists = lambda x: Tru
    [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/Source/modules/filesystem/
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"
55 DOMFileSystem* filesystem = DOMFileSystem::createIsolatedFileSystem(executionContext, input.droppedFileSystemId());
56 if (!filesystem) {
57 // Drag-drop isolated filesystem is not available.
69 // 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(DOMFileSystemBase* fileSystem, const String& fullPath)
43 : Entry(fileSystem, fullPath)
49 filesystem()->createWriter(this, successCallback, errorCallback);
54 filesystem()->createFile(this, successCallback, errorCallback);
FileEntrySync.cpp 32 #include "modules/filesystem/FileEntrySync.h"
36 #include "modules/filesystem/FileWriterSync.h"
40 FileEntrySync::FileEntrySync(DOMFileSystemBase* fileSystem, const String& fullPath)
41 : EntrySync(fileSystem, fullPath)
47 return filesystem()->createFile(this, exceptionState);
52 return filesystem()->createWriter(this, exceptionState);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
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/performance_tests/
perftestsrunner_unittest.py 52 runner._host.filesystem.maybe_make_directory(runner._base_path, 'inspector')
53 runner._host.filesystem.maybe_make_directory(runner._base_path, 'Bindings')
54 runner._host.filesystem.maybe_make_directory(runner._base_path, 'Parser')
58 dirname = runner._host.filesystem.join(runner._base_path, dirname) if dirname else runner._base_path
59 runner._host.filesystem.maybe_make_directory(dirname)
60 runner._host.filesystem.files[runner._host.filesystem.join(dirname, filename)] = content
75 port.host.filesystem.files[runner._host.filesystem.join(runner._base_path, filename)] = 'some content'
80 port.host.filesystem.chdir(runner._port.perf_tests_dir()[:runner._port.perf_tests_dir().rfind(runner._host.filesystem.s (…)
    [all...]
  /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_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
detection_unittest.py 41 filesystem = MockFileSystem()
43 detector = SCMDetector(filesystem, executive)
detection.py 32 from webkitpy.common.system.filesystem import FileSystem
42 def __init__(self, filesystem, executive):
43 self._filesystem = filesystem
72 return SVN(cwd=absolute_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive)
75 return Git(cwd=absolute_path, filesystem=self._filesystem, executive=self._executive)
83 return SCMDetector(FileSystem(), Executive()).detect_scm_system(path, patch_directories)
  /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 
  /bootable/recovery/mtdutils/
mounts.c 29 const char *filesystem; member in struct:MountedVolume
50 free((char *)volume->filesystem);
118 char filesystem[64]; local
125 device, mount_point, filesystem, flags);
130 filesystem[sizeof(filesystem)-1] = '\0';
137 v->filesystem = strdup(filesystem);
219 return mount(volume->device, volume->mount_point, volume->filesystem,
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_parser.py 46 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/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
ANTLRFileStream.as 2 import flash.filesystem.File;
3 import flash.filesystem.FileMode;
4 import flash.filesystem.FileStream;

Completed in 1224 milliseconds

1 2 3 4 5 6 7 8 91011>>