Home
last modified time | relevance | path

Searched refs:fsid (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/browser/media_galleries/
Dimported_media_gallery_registry.cc37 std::string fsid; in RegisterPicasaFilesystemOnUIThread() local
40 fsid = IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in RegisterPicasaFilesystemOnUIThread()
45 if (fsid.empty()) in RegisterPicasaFilesystemOnUIThread()
46 return fsid; in RegisterPicasaFilesystemOnUIThread()
48 picasa_fsids_.insert(fsid); in RegisterPicasaFilesystemOnUIThread()
63 return fsid; in RegisterPicasaFilesystemOnUIThread()
71 std::string fsid; in RegisterITunesFilesystemOnUIThread() local
74 fsid = IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath( in RegisterITunesFilesystemOnUIThread()
79 if (fsid.empty()) in RegisterITunesFilesystemOnUIThread()
80 return fsid; in RegisterITunesFilesystemOnUIThread()
[all …]
Dmedia_file_system_registry.cc194 fsid(filesystem_id), in MediaFileSystemInfo()
266 file_system_context_->RevokeFileSystem(gallery->second.fsid); in RevokeGalleryByPrefId()
323 std::string fsid = in GetMediaFileSystemsForAttachedDevices() local
325 if (fsid.empty()) in GetMediaFileSystemsForAttachedDevices()
331 fsid, in GetMediaFileSystemsForAttachedDevices()
363 file_system_context_->RevokeFileSystem(it->second.fsid); in CleanUp()
512 virtual void RevokeFileSystem(const std::string& fsid) OVERRIDE { in RevokeFileSystem() argument
515 if (imported_registry->RevokeImportedFilesystemOnUIThread(fsid)) in RevokeFileSystem()
518 IsolatedContext::GetInstance()->RevokeFileSystem(fsid); in RevokeFileSystem()
524 fsid)); in RevokeFileSystem()
[all …]
Dmedia_file_system_registry_unittest.cc65 const std::string& fsid);
71 std::string fsid; member
81 virtual void RevokeFileSystem(const std::string& fsid) OVERRIDE;
83 base::FilePath GetPathForId(const std::string& fsid) const;
102 const std::string& fsid) in FSInfo() argument
105 fsid(fsid) { in FSInfo()
113 return fsid < other.fsid; in operator <()
125 std::string fsid = AddFSEntry(device_id, path); in RegisterFileSystem() local
126 return fsid; in RegisterFileSystem()
129 void TestMediaFileSystemContext::RevokeFileSystem(const std::string& fsid) { in RevokeFileSystem() argument
[all …]
Dmedia_file_system_context.h28 virtual void RevokeFileSystem(const std::string& fsid) = 0;
Dimported_media_gallery_registry.h50 bool RevokeImportedFilesystemOnUIThread(const std::string& fsid);
Dmedia_file_system_registry.h56 std::string fsid; member
/external/chromium_org/webkit/common/fileapi/
Dfile_system_util_unittest.cc201 std::string fsid; in TEST_F() local
202 EXPECT_TRUE(CrackIsolatedFileSystemName("foo:Isolated_bar", &fsid)); in TEST_F()
203 EXPECT_EQ("bar", fsid); in TEST_F()
204 EXPECT_TRUE(CrackIsolatedFileSystemName("foo:isolated_bar", &fsid)); in TEST_F()
205 EXPECT_EQ("bar", fsid); in TEST_F()
206 EXPECT_TRUE(CrackIsolatedFileSystemName("foo:Isolated__bar", &fsid)); in TEST_F()
207 EXPECT_EQ("_bar", fsid); in TEST_F()
208 EXPECT_TRUE(CrackIsolatedFileSystemName("foo::Isolated_bar", &fsid)); in TEST_F()
209 EXPECT_EQ("bar", fsid); in TEST_F()
213 std::string fsid; in TEST_F() local
[all …]
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_file_system_browser_host.cc281 const std::string& fsid, in OpenIsolatedFileSystem() argument
285 SendReplyForIsolatedFileSystem(reply_context, fsid, PP_ERROR_FAILED); in OpenIsolatedFileSystem()
292 fsid, ppapi::IsolatedFileSystemTypeToRootName(type))); in OpenIsolatedFileSystem()
294 SendReplyForIsolatedFileSystem(reply_context, fsid, PP_ERROR_FAILED); in OpenIsolatedFileSystem()
301 SendReplyForIsolatedFileSystem(reply_context, fsid, PP_OK); in OpenIsolatedFileSystem()
304 OpenPluginPrivateFileSystem(reply_context, fsid, file_system_context_); in OpenIsolatedFileSystem()
308 SendReplyForIsolatedFileSystem(reply_context, fsid, PP_ERROR_BADARGUMENT); in OpenIsolatedFileSystem()
315 const std::string& fsid, in OpenPluginPrivateFileSystem() argument
320 SendReplyForIsolatedFileSystem(reply_context, fsid, PP_ERROR_FAILED); in OpenPluginPrivateFileSystem()
326 SendReplyForIsolatedFileSystem(reply_context, fsid, PP_ERROR_BADARGUMENT); in OpenPluginPrivateFileSystem()
[all …]
Dpepper_file_system_browser_host.h109 const std::string& fsid,
114 const std::string& fsid,
118 const std::string& fsid,
125 const std::string& fsid,
133 const std::string& fsid,
/external/chromium_org/chrome/browser/renderer_host/pepper/
Dpepper_isolated_file_system_message_filter.cc160 const std::string fsid = CreateCrxFileSystem(profile); in OpenCrxFileSystem() local
161 if (fsid.empty()) { in OpenCrxFileSystem()
170 policy->GrantReadFileSystem(render_process_id_, fsid); in OpenCrxFileSystem()
172 context->reply_msg = PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply(fsid); in OpenCrxFileSystem()
185 const std::string& fsid = in OpenPluginPrivateFileSystem() local
192 policy->GrantCreateReadWriteFileSystem(render_process_id_, fsid); in OpenPluginPrivateFileSystem()
194 context->reply_msg = PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply(fsid); in OpenPluginPrivateFileSystem()
/external/chromium_org/chrome/renderer/extensions/
Dmedia_galleries_custom_bindings.cc39 std::string fsid(*v8::String::Utf8Value(args[0])); in GetMediaFileSystemObject() local
40 if (fsid.empty()) { in GetMediaFileSystemObject()
47 const std::string fs_name = fileapi::GetIsolatedFileSystemName(origin, fsid); in GetMediaFileSystemObject()
50 origin, fsid, extension_misc::kMediaFileSystemPathPart); in GetMediaFileSystemObject()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dmtp_device_map_service.cc29 const std::string& fsid) { in RegisterMTPFileSystem() argument
43 mtp_device_map_[fsid] = device_location; in RegisterMTPFileSystem()
46 void MTPDeviceMapService::RevokeMTPFileSystem(const std::string& fsid) { in RevokeMTPFileSystem() argument
49 MTPDeviceFileSystemMap::iterator it = mtp_device_map_.find(fsid); in RevokeMTPFileSystem()
Dmtp_device_map_service.h34 const std::string& fsid);
39 void RevokeMTPFileSystem(const std::string& fsid);
/external/chromium_org/ppapi/proxy/
Dfile_system_resource.cc78 const std::string& fsid, in InitIsolatedFileSystem() argument
89 PpapiHostMsg_FileSystem_InitIsolatedFileSystem(fsid, type), in InitIsolatedFileSystem()
94 PpapiHostMsg_FileSystem_InitIsolatedFileSystem(fsid, type), in InitIsolatedFileSystem()
Disolated_file_system_private_resource.cc62 const std::string& fsid) { in OnBrowserOpenComplete() argument
77 fsid, type, base::Bind(&RunTrackedCallback, callback)); in OnBrowserOpenComplete()
Disolated_file_system_private_resource.h61 const std::string& fsid);
Dfile_system_resource.h52 int32_t InitIsolatedFileSystem(const std::string& fsid,
/external/chromium_org/content/browser/fileapi/
Dtransient_file_util_unittest.cc46 std::string fsid = isolated_context->RegisterFileSystemForPath( in CreateAndRegisterTemporaryFile() local
50 ASSERT_TRUE(!fsid.empty()); in CreateAndRegisterTemporaryFile()
52 fsid).AppendASCII(name); in CreateAndRegisterTemporaryFile()
/external/chromium_org/content/renderer/pepper/
Dpepper_file_system_host.cc125 const std::string& fsid, in OnHostMsgInitIsolatedFileSystem() argument
133 if (!fileapi::ValidateIsolatedFileSystemId(fsid)) in OnHostMsgInitIsolatedFileSystem()
146 url.GetOrigin(), fsid, root_name)); in OnHostMsgInitIsolatedFileSystem()
Dpepper_file_system_host.h63 const std::string& fsid,
/external/chromium_org/chrome/renderer/resources/extensions/
Dmedia_galleries_custom_bindings.js27 response[i].fsid);
30 delete metadata.fsid;
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
Dmedia_galleries_api.cc183 "fsid", filesystems[i].fsid); in ReturnGalleries()
209 policy->GrantReadFileSystem(child_id, filesystems[i].fsid); in ReturnGalleries()
211 policy->GrantDeleteFromFileSystem(child_id, filesystems[i].fsid); in ReturnGalleries()
213 policy->GrantCopyIntoFileSystem(child_id, filesystems[i].fsid); in ReturnGalleries()
/external/chromium_org/webkit/browser/fileapi/
Disolated_context.cc314 std::string fsid = base::FilePath(*component_iter++).MaybeAsASCII(); in CrackVirtualPath() local
315 if (fsid.empty()) in CrackVirtualPath()
321 IDToInstance::const_iterator found_instance = instance_map_.find(fsid); in CrackVirtualPath()
324 *id_or_name = fsid; in CrackVirtualPath()
/external/kernel-headers/original/linux/nfsd/
Dnfsfh.h175 static inline void mk_fsid_v1(u32 *fsidv, u32 fsid) in mk_fsid_v1() argument
177 fsidv[0] = fsid; in mk_fsid_v1()
/external/tcpdump/
Dprint-nfs.c811 my_fsid fsid; in nfs_printfh() local
829 Parse_fh((const u_char *)dp, len, &fsid, &ino, NULL, &sfsname, 0); in nfs_printfh()
846 fsid.Fsid_dev.Major, fsid.Fsid_dev.Minor); in nfs_printfh()
849 if(fsid.Fsid_dev.Minor == 257) in nfs_printfh()
851 (void)printf("%s", fsid.Opaque_Handle); in nfs_printfh()

12