Searched refs:file_system (Results 1 - 25 of 212) sorted by relevance

123456789

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dfail_on_access_file_system.py5 from file_system import FileSystem
H A Dcaching_file_system_test.py12 from file_system import FileNotFoundError, StatInfo
21 return LocalFileSystem.Create(SERVER2, 'test_data', 'file_system/')
46 file_system = self._CreateCachingFileSystem(
55 file_system.Read(['./test1.txt', './test2.txt', './test3.txt']).Get())
58 file_system = self._CreateCachingFileSystem(
61 file_system._read_cache.Set(
63 (expected, file_system.Stat('list/').version))
64 self.assertEqual(expected, sorted(file_system.ReadSingle('list/').Get()))
67 file_system._read_cache.Set(
69 (expected, file_system
[all...]
H A Dfile_system_util.py7 def CreateURLsFromPaths(file_system, directory, urlprefix):
11 for root, _, files in file_system.Walk(directory):
H A Dlink_error_detector_test.py8 from file_system import FileNotFoundError
13 file_system = TestFileSystem({ variable
55 content=file_system.ReadSingle('docs/templates/public/' + path).Get(),
73 file_system, self._Render, 'templates/public/', ('apps/index.html'))
84 file_system, self._Render, 'templates/public/', ('apps/crx.html',))
H A Dhost_file_system_provider.py90 file_system = self._constructor_for_test(branch=branch, commit=commit)
92 file_system = GitilesFileSystem.Create(branch=branch, commit=commit)
94 file_system = OfflineFileSystem(file_system)
95 return CachingFileSystem(file_system, self._object_store_creator)
107 def ForTest(file_system, object_store_creator, **optargs):
109 returned here will always return |file_system| when its Create() method is
114 constructor_for_test=lambda **_: file_system,
H A Dsubversion_file_system_test.py12 from file_system import FileSystemError, StatInfo
17 _SHARED_FILE_SYSTEM_TEST_DATA = Server2Path('test_data', 'file_system')
34 file_system, fetcher = _CreateSubversionFileSystem(
36 read_future = file_system.Read(['test1.txt', 'test2.txt', 'test3.txt'])
43 file_system, fetcher = _CreateSubversionFileSystem(
45 list_future = file_system.ReadSingle('list/')
52 file_system, fetcher = _CreateSubversionFileSystem(
54 list_future = file_system.ReadSingle('list/dir/')
60 file_system, fetcher = _CreateSubversionFileSystem(
62 stat_info = file_system
[all...]
H A Davailability_finder.py13 from file_system import FileNotFoundError
56 def _GetAPISchemaFilename(api_name, file_system, version):
58 |file_system|, or None if the API is not found. Note that this may be the
73 for base, _, filenames in file_system.Walk(api_path):
154 def _CreateAPISchemaFileSystem(self, file_system):
160 return self._compiled_fs_factory.Create(file_system,
165 def _GetAPISchema(self, api_name, file_system, version):
166 '''Searches |file_system| for |api_name|'s API schema data, and processes
169 api_filename = _GetAPISchemaFilename(api_name, file_system, version)
171 # No file for the API could be found in the given |file_system|
[all...]
H A Ddirectory_zipper.py16 def __init__(self, compiled_fs_factory, file_system):
17 self._file_system = file_system
18 self._zip_cache = compiled_fs_factory.Create(file_system,
H A Dhost_file_system_iterator.py24 file_system = self._file_system_provider.GetMaster()
26 file_system = self._file_system_provider.GetBranch(channel_info.branch)
27 if not callback(file_system, channel_info):
H A Dsidenav_data_source_test.py64 file_system = TestFileSystem({
90 server_instance = ServerInstance.ForTest(file_system,
100 file_system = MockFileSystem(TestFileSystem({
127 ServerInstance.ForTest(file_system), Request.ForTest('/H2.html'))
128 self.assertTrue(*file_system.CheckAndReset())
139 self.assertTrue(*file_system.CheckAndReset(
143 file_system = TestFileSystem({
149 ServerInstance.ForTest(file_system), request=None)
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Doperation_delegate.cc5 #include "chrome/browser/chromeos/drive/file_system/operation_delegate.h"
8 namespace file_system { namespace in namespace:drive
16 } // namespace file_system
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dlocal_file_sync_context_unittest.cc175 void StartModifyFileOnIOThread(CannedSyncableFileSystem* file_system, argument
177 ASSERT_TRUE(file_system != NULL);
184 base::Unretained(this), file_system, url));
189 file_system->operation_runner()->Truncate(
232 CannedSyncableFileSystem file_system(GURL(kOrigin1),
236 file_system.SetUp(CannedSyncableFileSystem::QUOTA_ENABLED);
241 file_system.MaybeInitializeFileSystemContext(
243 ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem());
245 const FileSystemURL kFile(file_system.URL("file"));
246 EXPECT_EQ(base::File::FILE_OK, file_system
[all...]
/external/chromium_org/ppapi/api/private/
H A Dppb_ext_crx_file_system_private.idl21 * @param[out] file_system An output <code>PP_Resource</code> corresponding
29 [out] PP_Resource file_system,
H A Dppb_isolated_file_system_private.idl42 * @param[out] file_system An output <code>PP_Resource</code> corresponding
52 [out] PP_Resource file_system,
/external/chromium_org/ppapi/c/
H A Dppb_file_system.h63 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
78 int32_t (*Open)(PP_Resource file_system,
84 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
92 PP_FileSystemType (*GetType)(PP_Resource file_system);
/external/chromium_org/ppapi/api/
H A Dppb_file_system.idl49 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
64 int32_t Open([in] PP_Resource file_system,
71 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
80 PP_FileSystemType GetType([in] PP_Resource file_system);
/external/chromium_org/ppapi/c/private/
H A Dppb_ext_crx_file_system_private.h42 * @param[out] file_system An output <code>PP_Resource</code> corresponding
50 PP_Resource* file_system,
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dwrite_on_cache_file.h33 void WriteOnCacheFile(FileSystemInterface* file_system,
40 void WriteOnCacheFileAndReply(FileSystemInterface* file_system,
H A Dwrite_on_cache_file.cc49 void WriteOnCacheFile(FileSystemInterface* file_system, argument
53 WriteOnCacheFileAndReply(file_system, path, mime_type, callback,
57 void WriteOnCacheFileAndReply(FileSystemInterface* file_system, argument
63 DCHECK(file_system);
67 file_system->OpenFile(
/external/chromium_org/ppapi/thunk/
H A Dppb_ext_crx_file_system_private_thunk.cc21 PP_Resource* file_system,
31 file_system,
20 Open(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback) argument
H A Dppb_isolated_file_system_private_thunk.cc23 PP_Resource* file_system,
32 file_system,
21 Open(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback callback) argument
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dfileapi_worker_unittest.cc134 FileSystemInterface* file_system = NULL; local
137 google_apis::test_util::CreateCopyResultCallback(&file_system),
140 EXPECT_EQ(&dummy_file_system, file_system);
144 FileSystemInterface* file_system = NULL; local
150 google_apis::test_util::CreateCopyResultCallback(&file_system),
157 google_apis::test_util::CreateCopyResultCallback(&file_system),
169 TestFileSystemForOpenFile file_system(temp_path, CREATE_FILE);
175 &file_system);
177 EXPECT_TRUE(file_system.closed());
191 TestFileSystemForOpenFile file_system(temp_pat
[all...]
H A Dfileapi_worker.h91 FileSystemInterface* file_system);
99 FileSystemInterface* file_system);
106 FileSystemInterface* file_system);
114 FileSystemInterface* file_system);
120 FileSystemInterface* file_system);
126 FileSystemInterface* file_system);
134 FileSystemInterface* file_system);
141 FileSystemInterface* file_system);
148 FileSystemInterface* file_system);
154 FileSystemInterface* file_system);
[all...]
H A Dfileapi_worker.cc208 FileSystemInterface* file_system = file_system_getter.Run(); local
210 if (!file_system) {
216 callback.Run(file_system);
221 FileSystemInterface* file_system) {
223 file_system->GetResourceEntry(
232 FileSystemInterface* file_system) {
234 file_system->Copy(src_file_path, dest_file_path, preserve_last_modified,
241 FileSystemInterface* file_system) {
243 file_system->Move(src_file_path, dest_file_path,
250 FileSystemInterface* file_system) {
219 GetFileInfo(const base::FilePath& file_path, const GetFileInfoCallback& callback, FileSystemInterface* file_system) argument
228 Copy(const base::FilePath& src_file_path, const base::FilePath& dest_file_path, bool preserve_last_modified, const StatusCallback& callback, FileSystemInterface* file_system) argument
238 Move(const base::FilePath& src_file_path, const base::FilePath& dest_file_path, const StatusCallback& callback, FileSystemInterface* file_system) argument
247 CopyInForeignFile(const base::FilePath& src_foreign_file_path, const base::FilePath& dest_file_path, const StatusCallback& callback, FileSystemInterface* file_system) argument
257 ReadDirectory(const base::FilePath& file_path, const ReadDirectoryCallback& callback, FileSystemInterface* file_system) argument
267 Remove(const base::FilePath& file_path, bool is_recursive, const StatusCallback& callback, FileSystemInterface* file_system) argument
276 CreateDirectory(const base::FilePath& file_path, bool is_exclusive, bool is_recursive, const StatusCallback& callback, FileSystemInterface* file_system) argument
287 CreateFile(const base::FilePath& file_path, bool is_exclusive, const StatusCallback& callback, FileSystemInterface* file_system) argument
297 Truncate(const base::FilePath& file_path, int64 length, const StatusCallback& callback, FileSystemInterface* file_system) argument
307 CreateSnapshotFile(const base::FilePath& file_path, const CreateSnapshotFileCallback& callback, FileSystemInterface* file_system) argument
315 CreateWritableSnapshotFile( const base::FilePath& file_path, const CreateWritableSnapshotFileCallback& callback, FileSystemInterface* file_system) argument
327 OpenFile(const base::FilePath& file_path, int file_flags, const OpenFileCallback& callback, FileSystemInterface* file_system) argument
357 TouchFile(const base::FilePath& file_path, const base::Time& last_access_time, const base::Time& last_modified_time, const StatusCallback& callback, FileSystemInterface* file_system) argument
[all...]
/external/chromium_org/ppapi/tests/
H A Dtest_file_system.cc11 #include "ppapi/cpp/file_system.h"
32 pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
33 callback.WaitForResult(file_system.Open(1024, callback.GetCallback()));
53 pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
54 int32_t rv_1 = file_system.Open(1024, callback_1.GetCallback());
57 callback_2.WaitForResult(file_system.Open(1024, callback_2.GetCallback()));
67 callback_3.WaitForResult(file_system.Open(1024, callback_3.GetCallback()));
76 pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
77 pp::Resource file_system_resource(file_system);

Completed in 2024 milliseconds

123456789