Home
last modified time | relevance | path

Searched refs:StorageInfo (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/hdfs/
H A DTestDFSStartupVersions.java34 import org.apache.hadoop.hdfs.server.common.StorageInfo;
73 private StorageInfo[] initializeVersions() throws Exception { in initializeVersions()
83 return new StorageInfo[] { in initializeVersions()
84 new StorageInfo(layoutVersionOld, namespaceIdCur, fsscTimeOld), // 0 in initializeVersions()
85 new StorageInfo(layoutVersionOld, namespaceIdCur, fsscTimeCur), // 1 in initializeVersions()
86 new StorageInfo(layoutVersionOld, namespaceIdCur, fsscTimeNew), // 2 in initializeVersions()
87 new StorageInfo(layoutVersionOld, namespaceIdOld, fsscTimeOld), // 3 in initializeVersions()
88 new StorageInfo(layoutVersionOld, namespaceIdOld, fsscTimeCur), // 4 in initializeVersions()
128 boolean isVersionCompatible(StorageInfo namenodeVer, StorageInfo datanodeVer) { in isVersionCompatible()
176 StorageInfo[] versions = initializeVersions(); in testVersions()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/storage_monitor/
H A Dmedia_storage_util.cc31 typedef std::vector<StorageInfo> StorageInfoList;
51 StorageInfo::Type type; in FilterAttachedDevicesOnBackgroundSequence()
58 if (type == StorageInfo::FIXED_MASS_STORAGE) { in FilterAttachedDevicesOnBackgroundSequence()
91 StorageInfo::Type type; in CanCreateFileSystem()
95 if (type == StorageInfo::MAC_IMAGE_CAPTURE) in CanCreateFileSystem()
124 StorageInfo info; in GetDeviceInfoFromPath()
155 StorageInfo::MakeDeviceId(StorageInfo::FIXED_MASS_STORAGE, in GetDeviceInfoFromPath()
165 StorageInfo::Type type; in FindDevicePathById()
170 if (type == StorageInfo::FIXED_MASS_STORAGE) { in FindDevicePathById()
177 if (type == StorageInfo::MAC_IMAGE_CAPTURE) { in FindDevicePathById()
[all …]
H A Dstorage_info.cc53 StorageInfo::StorageInfo() : total_size_in_bytes_(0) { in StorageInfo() function in storage_monitor::StorageInfo
56 StorageInfo::StorageInfo(const StorageInfo& other) = default;
58 StorageInfo::StorageInfo(const std::string& device_id_in, in StorageInfo() function in storage_monitor::StorageInfo
71 StorageInfo::~StorageInfo() { in ~StorageInfo()
94 bool StorageInfo::CrackDeviceId(const std::string& device_id, in CrackDeviceId()
135 bool StorageInfo::IsMediaDevice(const std::string& device_id) { in IsMediaDevice()
143 bool StorageInfo::IsRemovableDevice(const std::string& device_id) { in IsRemovableDevice()
152 bool StorageInfo::IsMassStorageDevice(const std::string& device_id) { in IsMassStorageDevice()
160 bool StorageInfo::IsMTPDevice(const std::string& device_id) { in IsMTPDevice()
165 base::string16 StorageInfo::GetDisplayName(bool with_size) const { in GetDisplayName()
[all …]
H A Dstorage_info_unittest.cc20 StorageInfo::MakeDeviceId(StorageInfo::MTP_OR_PTP, kUniqueId); in TEST()
27 StorageInfo::Type type; in TEST()
29 ASSERT_TRUE(StorageInfo::CrackDeviceId(kMtpDeviceId, &type, &id)); in TEST()
31 EXPECT_EQ(StorageInfo::MTP_OR_PTP, type); in TEST()
35 StorageInfo::Type type; in TEST()
37 ASSERT_TRUE(StorageInfo::CrackDeviceId(kImageCaptureDeviceId, &type, &id)); in TEST()
38 EXPECT_EQ(StorageInfo::MAC_IMAGE_CAPTURE, type); in TEST()
H A Dmock_removable_storage_observer.h18 void OnRemovableStorageAttached(const StorageInfo& info) override;
20 void OnRemovableStorageDetached(const StorageInfo& info) override;
26 const StorageInfo& last_attached() { in last_attached()
30 const StorageInfo& last_detached() { in last_detached()
37 StorageInfo last_attached_;
38 StorageInfo last_detached_;
H A Dstorage_monitor_chromeos.cc62 StorageInfo* info) { in GetDeviceInfo()
75 StorageInfo::Type type = has_dcim ? in GetDeviceInfo()
79 *info = StorageInfo( in GetDeviceInfo()
96 *info = StorageInfo( in GetFixedStorageInfo()
97 StorageInfo::MakeDeviceId(StorageInfo::FIXED_MASS_STORAGE, unique_id), in GetFixedStorageInfo()
244 StorageInfo* device_info) const { in GetStorageInfoForPath()
282 StorageInfo::Type type; in EjectDevice()
288 if (type == StorageInfo::MTP_OR_PTP) { in EjectDevice()
333 StorageInfo info; in AddMountedPath()
349 StorageInfo info; in AddFixedStorageDisk()
[all …]
H A Dstorage_monitor_win.cc73 StorageInfo* device_info) const { in GetStorageInfoForPath()
79 std::vector<StorageInfo> attached_devices = GetAllAvailableStorages(); in GetStorageInfoForPath()
83 if (!StorageInfo::IsRemovableDevice(attached_devices[i].device_id())) in GetStorageInfoForPath()
108 StorageInfo::Type type; in EjectDevice()
109 if (!StorageInfo::CrackDeviceId(device_id, &type, nullptr)) { in EjectDevice()
114 if (type == StorageInfo::MTP_OR_PTP) in EjectDevice()
116 else if (StorageInfo::IsRemovableDevice(device_id)) in EjectDevice()
126 StorageInfo::Type type; in GetMTPStorageInfoFromDeviceId()
127 StorageInfo::CrackDeviceId(storage_device_id, &type, nullptr); in GetMTPStorageInfoFromDeviceId()
128 return ((type == StorageInfo::MTP_OR_PTP) && in GetMTPStorageInfoFromDeviceId()
[all …]
H A Dtest_volume_mount_watcher_win.cc59 StorageInfo* info) { in GetMassStorageDeviceDetails()
70 StorageInfo::Type type = StorageInfo::FIXED_MASS_STORAGE; in GetMassStorageDeviceDetails()
74 type = StorageInfo::REMOVABLE_MASS_STORAGE_WITH_DCIM; in GetMassStorageDeviceDetails()
79 std::string device_id = StorageInfo::MakeDeviceId(type, unique_id); in GetMassStorageDeviceDetails()
81 *info = StorageInfo(device_id, path.value(), storage_label, base::string16(), in GetMassStorageDeviceDetails()
102 StorageInfo info(device_id, device_path.value(), storage_label, in AddDeviceForTesting()
134 StorageInfo info; in GetDeviceRemovable()
136 *removable = StorageInfo::IsRemovableDevice(info.device_id()); in GetDeviceRemovable()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/storage_monitor/
H A Dmedia_storage_util.cc31 typedef std::vector<StorageInfo> StorageInfoList;
51 StorageInfo::Type type; in FilterAttachedDevicesOnBackgroundSequence()
58 if (type == StorageInfo::FIXED_MASS_STORAGE) { in FilterAttachedDevicesOnBackgroundSequence()
91 StorageInfo::Type type; in CanCreateFileSystem()
95 if (type == StorageInfo::MAC_IMAGE_CAPTURE) in CanCreateFileSystem()
124 StorageInfo info; in GetDeviceInfoFromPath()
155 StorageInfo::MakeDeviceId(StorageInfo::FIXED_MASS_STORAGE, in GetDeviceInfoFromPath()
165 StorageInfo::Type type; in FindDevicePathById()
170 if (type == StorageInfo::FIXED_MASS_STORAGE) { in FindDevicePathById()
177 if (type == StorageInfo::MAC_IMAGE_CAPTURE) { in FindDevicePathById()
[all …]
H A Dstorage_info.cc52 StorageInfo::StorageInfo() : total_size_in_bytes_(0) { in StorageInfo() function in storage_monitor::StorageInfo
55 StorageInfo::StorageInfo(const StorageInfo& other) = default;
57 StorageInfo::StorageInfo(const std::string& device_id_in, in StorageInfo() function in storage_monitor::StorageInfo
70 StorageInfo::~StorageInfo() { in ~StorageInfo()
93 bool StorageInfo::CrackDeviceId(const std::string& device_id, in CrackDeviceId()
134 bool StorageInfo::IsMediaDevice(const std::string& device_id) { in IsMediaDevice()
142 bool StorageInfo::IsRemovableDevice(const std::string& device_id) { in IsRemovableDevice()
151 bool StorageInfo::IsMassStorageDevice(const std::string& device_id) { in IsMassStorageDevice()
159 bool StorageInfo::IsMTPDevice(const std::string& device_id) { in IsMTPDevice()
164 base::string16 StorageInfo::GetDisplayName(bool with_size) const { in GetDisplayName()
[all …]
H A Dstorage_info_unittest.cc20 StorageInfo::MakeDeviceId(StorageInfo::MTP_OR_PTP, kUniqueId); in TEST()
27 StorageInfo::Type type; in TEST()
29 ASSERT_TRUE(StorageInfo::CrackDeviceId(kMtpDeviceId, &type, &id)); in TEST()
31 EXPECT_EQ(StorageInfo::MTP_OR_PTP, type); in TEST()
35 StorageInfo::Type type; in TEST()
37 ASSERT_TRUE(StorageInfo::CrackDeviceId(kImageCaptureDeviceId, &type, &id)); in TEST()
38 EXPECT_EQ(StorageInfo::MAC_IMAGE_CAPTURE, type); in TEST()
H A Dmock_removable_storage_observer.h18 void OnRemovableStorageAttached(const StorageInfo& info) override;
20 void OnRemovableStorageDetached(const StorageInfo& info) override;
26 const StorageInfo& last_attached() { in last_attached()
30 const StorageInfo& last_detached() { in last_detached()
37 StorageInfo last_attached_;
38 StorageInfo last_detached_;
H A Dstorage_monitor_chromeos.cc62 StorageInfo* info) { in GetDeviceInfo()
75 StorageInfo::Type type = has_dcim ? in GetDeviceInfo()
79 *info = StorageInfo( in GetDeviceInfo()
96 *info = StorageInfo( in GetFixedStorageInfo()
97 StorageInfo::MakeDeviceId(StorageInfo::FIXED_MASS_STORAGE, unique_id), in GetFixedStorageInfo()
244 StorageInfo* device_info) const { in GetStorageInfoForPath()
282 StorageInfo::Type type; in EjectDevice()
288 if (type == StorageInfo::MTP_OR_PTP) { in EjectDevice()
333 StorageInfo info; in AddMountedPath()
349 StorageInfo info; in AddFixedStorageDisk()
[all …]
H A Dstorage_monitor_win.cc72 StorageInfo* device_info) const { in GetStorageInfoForPath()
78 std::vector<StorageInfo> attached_devices = GetAllAvailableStorages(); in GetStorageInfoForPath()
82 if (!StorageInfo::IsRemovableDevice(attached_devices[i].device_id())) in GetStorageInfoForPath()
107 StorageInfo::Type type; in EjectDevice()
108 if (!StorageInfo::CrackDeviceId(device_id, &type, nullptr)) { in EjectDevice()
113 if (type == StorageInfo::MTP_OR_PTP) in EjectDevice()
115 else if (StorageInfo::IsRemovableDevice(device_id)) in EjectDevice()
125 StorageInfo::Type type; in GetMTPStorageInfoFromDeviceId()
126 StorageInfo::CrackDeviceId(storage_device_id, &type, nullptr); in GetMTPStorageInfoFromDeviceId()
127 return ((type == StorageInfo::MTP_OR_PTP) && in GetMTPStorageInfoFromDeviceId()
[all …]
H A Dtest_volume_mount_watcher_win.cc59 StorageInfo* info) { in GetMassStorageDeviceDetails()
70 StorageInfo::Type type = StorageInfo::FIXED_MASS_STORAGE; in GetMassStorageDeviceDetails()
74 type = StorageInfo::REMOVABLE_MASS_STORAGE_WITH_DCIM; in GetMassStorageDeviceDetails()
79 std::string device_id = StorageInfo::MakeDeviceId(type, unique_id); in GetMassStorageDeviceDetails()
81 *info = StorageInfo(device_id, path.value(), storage_label, base::string16(), in GetMassStorageDeviceDetails()
102 StorageInfo info(device_id, device_path.value(), storage_label, in AddDeviceForTesting()
134 StorageInfo info; in GetDeviceRemovable()
136 *removable = StorageInfo::IsRemovableDevice(info.device_id()); in GetDeviceRemovable()
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-kafka/source/model/
H A DStorageInfo.cpp21 StorageInfo::StorageInfo() : in StorageInfo() function in Aws::Kafka::Model::StorageInfo
26 StorageInfo::StorageInfo(JsonView jsonValue) : in StorageInfo() function in Aws::Kafka::Model::StorageInfo
32 StorageInfo& StorageInfo::operator =(JsonView jsonValue) in operator =()
44 JsonValue StorageInfo::Jsonize() const in Jsonize()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/storage/
H A DStorageInfo.cpp46 StorageInfo::StorageInfo() in StorageInfo() function in WebCore::StorageInfo
50 StorageInfo::~StorageInfo() in ~StorageInfo()
55 void StorageInfo::queryUsageAndQuota(ScriptExecutionContext*, int, PassRefPtr<StorageInfoUsageCallb… in queryUsageAndQuota()
60 void StorageInfo::requestQuota(ScriptExecutionContext*, int, unsigned long long, PassRefPtr<Storage… in requestQuota()
H A DStorageInfo.h46 class StorageInfo : public RefCounted<StorageInfo> {
53 static PassRefPtr<StorageInfo> create() in create()
55 return adoptRef(new StorageInfo()); in create()
62 ~StorageInfo();
65 StorageInfo();
/dports/cad/opencascade/opencascade-7.6.0/src/NCollection/
H A DNCollection_BaseAllocator.cxx68 struct StorageInfo struct
73 StorageInfo() : roundSize(0), nbAlloc(0), nbFree(0) {} in StorageInfo() function
78 static NCollection_DataMap<Standard_Size, StorageInfo>& StorageMap() in StorageMap()
81 static NCollection_DataMap<Standard_Size, StorageInfo> TheMap (1, & TheAlloc); in StorageMap()
166 NCollection_DataMap<Standard_Size, StorageInfo>& aStMap = StorageMap(); in StandardCallBack()
169 StorageInfo aEmpty(theRoundSize); in StandardCallBack()
172 StorageInfo& aInfo = aStMap(theRoundSize); in StandardCallBack()
219 NCollection_List<StorageInfo> aColl; in PrintMemUsageStatistics()
220 NCollection_List<StorageInfo>::Iterator itLst; in PrintMemUsageStatistics()
221 NCollection_DataMap<Standard_Size, StorageInfo>::Iterator itMap(StorageMap()); in PrintMemUsageStatistics()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/hdfs/org/apache/hadoop/hdfs/server/common/
H A DStorageInfo.java26 public class StorageInfo { class
31 public StorageInfo () { in StorageInfo() method in StorageInfo
35 public StorageInfo(int layoutV, int nsID, long cT) { in StorageInfo() method in StorageInfo
41 public StorageInfo(StorageInfo from) { in StorageInfo() method in StorageInfo
49 public void setStorageInfo(StorageInfo from) { in setStorageInfo()
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-kafka/include/aws/kafka/model/
H A DStorageInfo.h34 class AWS_KAFKA_API StorageInfo
37 StorageInfo();
38 StorageInfo(Aws::Utils::Json::JsonView jsonValue);
39 StorageInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
76 …inline StorageInfo& WithEbsStorageInfo(const EBSStorageInfo& value) { SetEbsStorageInfo(value); re… in WithEbsStorageInfo()
83 …inline StorageInfo& WithEbsStorageInfo(EBSStorageInfo&& value) { SetEbsStorageInfo(std::move(value… in WithEbsStorageInfo()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/
H A DStorageDocumentProvider.java79 protected class StorageInfo extends ElementInfo { class in StorageDocumentProvider
96 public StorageInfo(IDocument document, IAnnotationModel model) { in StorageInfo() method in StorageDocumentProvider.StorageInfo
260 ElementInfo info= new StorageInfo(document, createAnnotationModel(element)); in createElementInfo()
262 ((StorageInfo)info).fEncoding= getPersistedEncoding(element); in createElementInfo()
301 StorageInfo info= (StorageInfo) getElementInfo(input); in updateCache()
320 StorageInfo info= (StorageInfo) getElementInfo(element); in isReadOnly()
350 StorageInfo info= (StorageInfo) getElementInfo(element); in isModifiable()
368 StorageInfo info= (StorageInfo) getElementInfo(element); in doUpdateStateCache()
383 StorageInfo info= (StorageInfo) getElementInfo(element); in getEncoding()
394 StorageInfo info= (StorageInfo) getElementInfo(element); in setEncoding()
/dports/lang/mono/mono-5.10.1.57/mcs/class/WindowsBase/System.IO.Packaging/
H A DStorageInfo.cs30 public class StorageInfo class
32 internal StorageInfo () in StorageInfo() method in System.IO.Packaging.StorageInfo
51 public StorageInfo CreateSubStorage (string name) in CreateSubStorage()
76 public StorageInfo GetSubStorageInfo (string name) in GetSubStorageInfo()
81 public StorageInfo[] GetSubStorages () in GetSubStorages()
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/api/system_storage/
H A Dstorage_info_provider.cc14 using storage_monitor::StorageInfo;
26 void BuildStorageUnitInfo(const StorageInfo& info, StorageUnitInfo* unit) { in BuildStorageUnitInfo()
31 unit->type = StorageInfo::IsRemovableDevice(info.device_id()) in BuildStorageUnitInfo()
77 std::vector<StorageInfo> storage_list = in GetAllStoragesIntoInfoList()
80 for (std::vector<StorageInfo>::const_iterator it = storage_list.begin(); in GetAllStoragesIntoInfoList()
91 std::vector<StorageInfo> storage_list = in GetStorageFreeSpaceFromTransientIdAsync()
98 for (std::vector<StorageInfo>::const_iterator it = storage_list.begin(); in GetStorageFreeSpaceFromTransientIdAsync()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/api/system_storage/
H A Dstorage_info_provider.cc14 using storage_monitor::StorageInfo;
26 void BuildStorageUnitInfo(const StorageInfo& info, StorageUnitInfo* unit) { in BuildStorageUnitInfo()
31 unit->type = StorageInfo::IsRemovableDevice(info.device_id()) in BuildStorageUnitInfo()
77 std::vector<StorageInfo> storage_list = in GetAllStoragesIntoInfoList()
80 for (std::vector<StorageInfo>::const_iterator it = storage_list.begin(); in GetAllStoragesIntoInfoList()
91 std::vector<StorageInfo> storage_list = in GetStorageFreeSpaceFromTransientIdAsync()
98 for (std::vector<StorageInfo>::const_iterator it = storage_list.begin(); in GetStorageFreeSpaceFromTransientIdAsync()

12345678910>>...20