/vbox/src/VBox/Frontends/VirtualBox/src/widgets/ |
H A D | VBoxMediaComboBox.cpp | 278 void VBoxMediaComboBox::appendItem (const UIMedium &aMedium) argument 280 mMedia.append (Medium (aMedium.id(), aMedium.location(), 281 aMedium.toolTipCheckRO (!mShowDiffs, mShowNullItem && mType != UIMediumType_HardDisk))); 283 insertItem (count(), aMedium.iconCheckRO (!mShowDiffs), 284 aMedium.details (!mShowDiffs)); 287 void VBoxMediaComboBox::replaceItem (int aIndex, const UIMedium &aMedium) argument 291 mMedia [aIndex].id = aMedium.id(); 292 mMedia [aIndex].location = aMedium.location(); 293 mMedia [aIndex].toolTip = aMedium [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | MediumLock.cpp | 40 MediumLock::MediumLock(const ComObjPtr<Medium> &aMedium, bool aLockWrite) argument 41 : mMedium(aMedium), mMediumCaller(NULL), mLockWrite(aLockWrite), 166 HRESULT MediumLockList::Append(const ComObjPtr<Medium> &aMedium, bool aLockWrite) argument 170 mMediumLocks.push_back(MediumLock(aMedium, aLockWrite)); 174 HRESULT MediumLockList::Prepend(const ComObjPtr<Medium> &aMedium, bool aLockWrite) argument 178 mMediumLocks.push_front(MediumLock(aMedium, aLockWrite)); 182 HRESULT MediumLockList::Update(const ComObjPtr<Medium> &aMedium, bool aLockWrite) argument 188 if (it->GetMedium() == aMedium)
|
H A D | MediumAttachmentImpl.cpp | 110 * @param aMedium Medium object. 118 Medium *aMedium, 132 LogFlowThisFunc(("aParent=%p aMedium=%p aControllerName=%ls aPort=%d aDevice=%d aType=%d aImplicit=%d aPassthrough=%d aTempEject=%d aNonRotational=%d aDiscard=%d aHotPluggable=%d strBandwithGroup=%s\n", aParent, aMedium, aControllerName.raw(), aPort, aDevice, aType, aImplicit, aPassthrough, aTempEject, aNonRotational, aDiscard, aHotPluggable, strBandwidthGroup.c_str())); 135 AssertReturn(aMedium, E_INVALIDARG); 146 m->bd->pMedium = aMedium; 507 * @param aMedium 509 void MediumAttachment::i_updateMedium(const ComObjPtr<Medium> &aMedium) argument 514 m->bd->pMedium = aMedium; 117 init(Machine *aParent, Medium *aMedium, const Bstr &aControllerName, LONG aPort, LONG aDevice, DeviceType_T aType, bool aImplicit, bool aPassthrough, bool aTempEject, bool aNonRotational, bool aDiscard, bool aHotPluggable, const Utf8Str &strBandwidthGroup) argument
|
H A D | MediumImpl.cpp | 209 Task(Medium *aMedium, Progress *aProgress) argument 211 mMedium(aMedium), 212 mMediumCaller(aMedium), 217 AssertReturnVoidStmt(aMedium, mRC = E_FAIL); 223 VirtualBox *pVirtualBox = aMedium->m->pVirtualBox; 287 CreateBaseTask(Medium *aMedium, argument 291 : Medium::Task(aMedium, aProgress), 306 CreateDiffTask(Medium *aMedium, argument 312 : Medium::Task(aMedium, aProgress), 346 CloneTask(Medium *aMedium, argument 410 CompactTask(Medium *aMedium, Progress *aProgress, MediumLockList *aMediumLockList, bool fKeepMediumLockList = false) argument 438 ResizeTask(Medium *aMedium, uint64_t aSize, Progress *aProgress, MediumLockList *aMediumLockList, bool fKeepMediumLockList = false) argument 469 ResetTask(Medium *aMedium, Progress *aProgress, MediumLockList *aMediumLockList, bool fKeepMediumLockList = false) argument 495 DeleteTask(Medium *aMedium, Progress *aProgress, MediumLockList *aMediumLockList, bool fKeepMediumLockList = false) argument 521 MergeTask(Medium *aMedium, Medium *aTarget, bool fMergeForward, Medium *aParentForTarget, MediumLockList *aChildrenToReparent, Progress *aProgress, MediumLockList *aMediumLockList, bool fKeepMediumLockList = false) argument 569 ExportTask(Medium *aMedium, Progress *aProgress, const char *aFilename, MediumFormat *aFormat, MediumVariant_T aVariant, SecretKeyStore *pSecretKeyStore, VDINTERFACEIO *aVDImageIOIf, void *aVDImageIOUser, MediumLockList *aSourceMediumLockList, bool fKeepSourceMediumLockList = false) argument 621 ImportTask(Medium *aMedium, Progress *aProgress, const char *aFilename, MediumFormat *aFormat, MediumVariant_T aVariant, VDINTERFACEIO *aVDImageIOIf, void *aVDImageIOUser, Medium *aParent, MediumLockList *aTargetMediumLockList, bool fKeepTargetMediumLockList = false) argument 679 EncryptTask(Medium *aMedium, const com::Utf8Str &strNewPassword, const com::Utf8Str &strCurrentPassword, const com::Utf8Str &strCipher, const com::Utf8Str &strNewPasswordId, Progress *aProgress, MediumLockList *aMediumLockList) argument [all...] |
H A D | VirtualBoxImpl.cpp | 1743 ComPtr<IMedium> &aMedium) 1795 medium.queryInterfaceTo(aMedium.asOutParam()); 1804 ComPtr<IMedium> &aMedium) 1881 pMedium.queryInterfaceTo(aMedium.asOutParam()); 1739 createMedium(const com::Utf8Str &aFormat, const com::Utf8Str &aLocation, AccessMode_T aAccessMode, DeviceType_T aDeviceType, ComPtr<IMedium> &aMedium) argument 1800 openMedium(const com::Utf8Str &aLocation, DeviceType_T aDeviceType, AccessMode_T aAccessMode, BOOL aForceNewUuid, ComPtr<IMedium> &aMedium) argument
|
H A D | MachineImpl.cpp | 3718 const ComPtr<IMedium> &aMedium) 3720 IMedium *aM = aMedium; 3721 LogFlowThisFunc(("aControllerName=\"%s\" aControllerPort=%d aDevice=%d aType=%d aMedium=%p\n", 3799 if (aMedium && medium.isNull()) 4669 LogFlowThisFunc(("aName=\"%s\" aControllerPort=%d aDevice=%d aType=%d aMedium=%p\n", 4695 const ComPtr<IMedium> &aMedium, 4722 IMedium *iM = aMedium; 4724 if (aMedium && pMedium.isNull()) 4815 ComPtr<IMedium> &aMedium) 4822 aMedium 3714 attachDevice(const com::Utf8Str &aName, LONG aControllerPort, LONG aDevice, DeviceType_T aType, const ComPtr<IMedium> &aMedium) argument 4692 mountMedium(const com::Utf8Str &aName, LONG aControllerPort, LONG aDevice, const ComPtr<IMedium> &aMedium, BOOL aForce) argument 4812 getMedium(const com::Utf8Str &aName, LONG aControllerPort, LONG aDevice, ComPtr<IMedium> &aMedium) argument [all...] |