/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/ |
H A D | UIWizardCloneVD.cpp | 87 CProgress progress = sourceVirtualDisk.CloneTo(virtualDisk, variants, CMedium()); local 94 /* Show creation progress: */ 95 msgCenter().showModalProgressDialog(progress, windowTitle(), ":/progress_media_create_90px.png", this); 96 if (progress.GetCanceled()) 98 if (!progress.isOk() || progress.GetResultCode() != 0) 100 msgCenter().cannotCreateHardDiskStorage(progress, strMediumPath, this);
|
/vbox/src/VBox/Frontends/VBoxHeadless/testcase/ |
H A D | tstHeadless.cpp | 116 ComPtr <IProgress> progress; local 120 NULL, progress.asOutParam())); 123 CHECK_ERROR_BREAK(progress, WaitForCompletion(-1)); 126 CHECK_ERROR_BREAK(progress, COMGETTER(Completed)(&completed)); 130 CHECK_ERROR_BREAK(progress, COMGETTER(ResultCode)(&resultCode)); 133 ProgressErrorInfo info(progress); 151 ComPtr <IProgress> progress; local 153 CHECK_ERROR_BREAK(console, PowerDown(progress.asOutParam())); 156 CHECK_ERROR_BREAK(progress, WaitForCompletion(-1)); 159 CHECK_ERROR_BREAK(progress, COMGETTE [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | monojob.c | 60 struct job_progress progress; local 89 job_progress ( &monojob, &progress ); 90 /* Normalise progress figures to avoid overflow */ 91 completed = ( progress.completed / 128 ); 92 total = ( progress.total / 128 );
|
/vbox/src/VBox/Main/src-server/ |
H A D | HostPower.cpp | 161 ComPtr<IProgress> progress; local 165 rc = pMachine->i_saveStateWithReason(Reason_HostBatteryLow, progress); 173 rc = progress->WaitForCompletion(-1); 177 progress->COMGETTER(ResultCode)(&iRc);
|
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/ |
H A D | UIWizardCloneVM.cpp | 86 CProgress progress = machine.TakeSnapshot(strSnapshotName, "", true); local 90 /* Show the "Taking Snapshot" progress dialog: */ 91 msgCenter().showModalProgressDialog(progress, m_machine.GetName(), ":/progress_snapshot_create_90px.png", this); 93 if (!progress.isOk() || progress.GetResultCode() != 0) 95 msgCenter().cannotTakeSnapshot(progress, m_machine.GetName(), this); 136 CProgress progress = srcMachine.CloneTo(cloneMachine, cloneMode, options); local 144 msgCenter().showModalProgressDialog(progress, windowTitle(), ":/progress_clone_90px.png", this); 145 if (progress.GetCanceled()) 147 if (!progress [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvd/ |
H A D | UIWizardNewVD.cpp | 91 CProgress progress = virtualDisk.CreateBaseStorage(uSize, variants); local 98 /* Show creation progress: */ 99 msgCenter().showModalProgressDialog(progress, windowTitle(), ":/progress_media_create_90px.png", this); 100 if (progress.GetCanceled()) 102 if (!progress.isOk() || progress.GetResultCode() != 0) 104 msgCenter().cannotCreateHardDiskStorage(progress, strMediumPath, this);
|
/vbox/src/VBox/Main/glue/ |
H A D | ErrorInfo.cpp | 296 ProgressErrorInfo::ProgressErrorInfo(IProgress *progress) : argument 299 Assert(progress); 300 if (!progress) 304 HRESULT rc = progress->COMGETTER(ErrorInfo)(info.asOutParam());
|
H A D | errorprint.cpp | 155 void GlueHandleComErrorProgress(ComPtr<IProgress> progress, argument 161 /* Get the error info out of the progress object. */ 162 ProgressErrorInfo ei(progress);
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstVBoxAPIWin.cpp | 185 IProgress *progress = NULL; local 212 NULL, &progress); 221 rc = progress->WaitForCompletion(-1); 233 rc = console->PowerDown(&progress); 237 rc = progress->WaitForCompletion(-1); 245 SAFE_RELEASE(progress);
|
H A D | tstVBoxAPI.cpp | 348 ComPtr<IProgress> progress; local 349 CHECK_ERROR_RET(machine, DeleteConfig(ComSafeArrayAsInParam(media), progress.asOutParam()), FALSE); 350 CHECK_ERROR_RET(progress, WaitForCompletion(-1), FALSE);
|
H A D | tstVBoxAPIXPCOM.cpp | 308 nsCOMPtr<IProgress> progress; local 313 getter_AddRefs(progress)); // optional progress object 325 rc = progress->WaitForCompletion(-1); 327 progress->GetResultCode(&resultCode);
|
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIDnDDrag.cpp | 151 CProgress progress = dndSource.Drop(strMimeType, local 155 msgCenter().showModalProgressDialog(progress, 158 if (!progress.GetCanceled()) 160 rc = ( progress.isOk() 161 && progress.GetResultCode() == 0) 204 msgCenter().cannotDropData(progress, pParent);
|
H A D | UIMachine.cpp | 64 /* Prepare restore-snapshot progress: */ 65 CProgress progress = machine.RestoreSnapshot(snapshot); local 69 /* Show the snapshot-discarding progress: */ 70 msgCenter().showModalProgressDialog(progress, machine.GetName(), ":/progress_snapshot_discard_90px.png"); 71 if (progress.GetResultCode() != 0) 72 return msgCenter().cannotRestoreSnapshot(progress, snapshot.GetName(), machine.GetName());
|
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/ |
H A D | UIApplianceImportEditorWidget.cpp | 61 CProgress progress; local 69 progress = m_pAppliance->Read(strFile); 73 /* Show some progress, so the user know whats going on */ 74 msgCenter().showModalProgressDialog(progress, tr("Reading Appliance ..."), ":/progress_reading_appliance_90px.png", this); 75 if (!progress.isOk() || progress.GetResultCode() != 0) 124 else if (!progress.isNull() && (!progress.isOk() || progress.GetResultCode() != 0)) 125 msgCenter().cannotImportAppliance(progress, m_pApplianc 145 CProgress progress; local [all...] |
H A D | UIProgressDialog.cpp | 50 UIProgressDialog::UIProgressDialog(CProgress &progress, argument 56 , m_progress(progress) 96 /* Create progress-bar: */ 130 /* The progress dialog will be shown automatically after 131 * the duration is over if progress is not finished yet. */ 152 * responsive and it is in our case (We show the progress dialog bar). */ 189 /* We should not show progress-dialog 206 /* We should hide progress-dialog 221 /* Is this progress-dialog a top-level modal-dialog now? */ 245 /* Update the progress dialo 332 UIProgress(CProgress &progress, QObject *pParent ) argument [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvm/ |
H A D | UIWizardNewVMPageBasic3.cpp | 112 /* Prepare delete storage progress: */ 113 CProgress progress = m_virtualDisk.DeleteStorage(); local 116 /* Show delete storage progress: */ 117 msgCenter().showModalProgressDialog(progress, thisImp()->windowTitle(), ":/progress_media_delete_90px.png", thisImp()); 118 if (!progress.isOk() || progress.GetResultCode() != 0) 119 msgCenter().cannotDeleteHardDiskStorage(progress, strLocation, thisImp());
|
H A D | UIWizardNewVM.cpp | 267 QVector<CMedium> aMedia = m_machine.Unregister(KCleanupMode_UnregisterOnly); // @todo replace with DetachAllReturnHardDisksOnly once a progress dialog is in place below 270 CProgress progress = m_machine.DeleteConfig(aMedia); local 271 progress.WaitForCompletion(-1); // @todo do this nicely with a progress dialog, this can delete lots of files
|
/vbox/src/VBox/Frontends/VBoxAutostart/ |
H A D | VBoxAutostartStart.cpp | 127 ComPtr<IProgress> progress; local 141 Bstr("").raw(), progress.asOutParam())); 142 if (SUCCEEDED(rc) && !progress.isNull()) 145 CHECK_ERROR(progress, WaitForCompletion(-1)); 149 CHECK_ERROR(progress, COMGETTER(Completed)(&completed)); 155 CHECK_ERROR(progress, COMGETTER(ResultCode)(&iRc)); 160 ProgressErrorInfo info(progress);
|
H A D | VBoxAutostartStop.cpp | 54 ComPtr<IProgress> progress; local 87 CHECK_ERROR(machine, SaveState(progress.asOutParam())); 95 rc = showProgress(progress); 96 CHECK_PROGRESS_ERROR(progress, ("Failed to save machine state")); 175 ComPtr<IProgress> progress; local 192 CHECK_ERROR_BREAK(console, PowerDown(progress.asOutParam())); 194 rc = showProgress(progress); 195 CHECK_PROGRESS_ERROR(progress, ("Failed to power off machine"));
|
H A D | VBoxAutostart.h | 134 * Print out progress on the console. 140 DECLHIDDEN(HRESULT) showProgress(ComPtr<IProgress> progress); variable
|
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageHostonly.cpp | 60 ComPtr<IProgress> progress; local 62 CHECK_ERROR_RET(host, CreateHostOnlyNetworkInterface (hif.asOutParam(), progress.asOutParam()), 1); 64 rc = showProgress(progress); 66 CHECK_PROGRESS_ERROR_RET(progress, ("Failed to create the host-only adapter"), 1); 97 ComPtr<IProgress> progress; local 98 CHECK_ERROR_RET(host, RemoveHostOnlyNetworkInterface(guid.raw(), progress.asOutParam()), 1); 100 rc = showProgress(progress); 102 CHECK_PROGRESS_ERROR_RET(progress, ("Failed to remove the host-only adapter"), 1);
|
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/ |
H A D | UIWizardExportApp.cpp | 89 CProgress progress = explorer.Update(); local 93 /* Show some progress, so the user know whats going on: */ 94 msgCenter().showModalProgressDialog(progress, QApplication::translate("UIWizardExportApp", "Checking files ..."), 96 if (progress.GetCanceled()) 98 if (!progress.isOk() || progress.GetResultCode() != 0) 100 msgCenter().cannotCheckFiles(progress, this); 115 /* Show some progress, so the user know whats going on: */ 138 CProgress progress = appliance.Write(field("format").toString(), options, uri()); local 142 /* Show some progress, s [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTS3.cpp | 58 static int progress(unsigned uPercent, void *pvUser) function 71 RTS3SetProgressCallback(hS3, progress, pszTitle); 98 RTS3SetProgressCallback(hS3, progress, pszTitle); 109 RTS3SetProgressCallback(hS3, progress, pszTitle); 121 RTS3SetProgressCallback(hS3, progress, pszTitle); 147 RTS3SetProgressCallback(hS3, progress, pszTitle); 158 RTS3SetProgressCallback(hS3, progress, pszTitle); 169 RTS3SetProgressCallback(hS3, progress, pszTitle);
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/gcc/ |
H A D | mingw-gcc-build.py | 273 def progress(received, blockSize, fileSize): function in function:SourceFiles.GetAll 305 urllib.urlretrieve(url, local_file, progress)
|
/vbox/src/VBox/Main/src-server/generic/ |
H A D | NetIf-generic.cpp | 189 /* create a progress object */ 190 ComObjPtr<Progress> progress; local 191 progress.createObject(); 197 hrc = progress->init(pVirtualBox, host, 202 progress.queryInterfaceTo(aProgress); 208 progress->i_notifyComplete(E_FAIL, 238 progress->i_notifyComplete(E_FAIL, 257 progress->i_notifyComplete(E_FAIL, 276 progress->i_notifyComplete(E_FAIL, 287 progress 317 ComObjPtr<Progress> progress; local [all...] |