Searched refs:progress (Results 1 - 25 of 90) sorted by relevance

1234

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Djob.c32 * Get job progress
35 * @v progress Progress data to fill in
37 void job_progress ( struct interface *intf, struct job_progress *progress ) {
47 op ( object, progress );
49 /* Default is to mark progress as zero */
50 memset ( progress, 0, sizeof ( *progress ) );
H A Dmonojob.c60 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/Devices/PC/ipxe/src/include/ipxe/
H A Djob.h14 /** Job progress */
20 * represents the progress through the operation. For a
34 struct job_progress *progress );
36 typeof ( void ( object_type, struct job_progress *progress ) )
/vbox/src/VBox/Frontends/VBoxShell/
H A Dvboxinfo.vbs18 Dim session, progress
21 Set progress = vb.openRemoteSession(session, mach.id, "gui", "")
22 progress.waitForCompletion(-1)
28 Dim session, progress
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DUIApplianceImportEditorWidget.cpp61 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 DUIProgressDialog.h51 UIProgressDialog(CProgress &progress, const QString &strTitle,
124 * @param progress holds the CProgress to be wrapped. */
125 UIProgress(CProgress &progress, QObject *pParent = 0);
/vbox/include/VBox/com/
H A Derrorprint.h48 void GlueHandleComErrorProgress(ComPtr<IProgress> progress,
168 * Check the progress object for an error and if there is one print out the
171 #define CHECK_PROGRESS_ERROR(progress, msg) \
174 rc = progress->COMGETTER(ResultCode)(&iRc); \
179 com::GlueHandleComErrorProgress(progress, __PRETTY_FUNCTION__, iRc, __FILE__, __LINE__); \
188 # define CHECK_PROGRESS_ERROR_BREAK(progress, msg) \
192 rc = progress->COMGETTER(ResultCode)(&iRc); \
197 com::GlueHandleComErrorProgress(progress, __PRETTY_FUNCTION__, iRc, __FILE__, __LINE__); \
202 # define CHECK_PROGRESS_ERROR_BREAK(progress, msg) \
206 rc = progress
[all...]
/vbox/src/VBox/Frontends/VBoxHeadless/testcase/
H A DtstHeadless.cpp116 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/Frontends/VirtualBox/src/wizards/clonevd/
H A DUIWizardCloneVD.cpp87 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/VirtualBox/src/wizards/newvd/
H A DUIWizardNewVD.cpp91 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/Frontends/VirtualBox/src/wizards/clonevm/
H A DUIWizardCloneVM.cpp86 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/Main/src-server/generic/
H A DNetIf-generic.cpp189 /* 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...]
/vbox/src/VBox/Main/src-server/
H A DVFSExplorerImpl.cpp163 progress(aProgress),
174 ComObjPtr<Progress> progress; member in struct:VFSExplorer::TaskVFSExplorer
249 !pTask->progress.isNull())
252 pTask->progress->COMGETTER(Canceled)(&fCanceled);
255 pTask->progress->SetCurrentOperationProgress(uPercent);
304 if (aTask->progress)
305 aTask->progress->SetCurrentOperationProgress(33);
320 if (aTask->progress)
321 aTask->progress->SetCurrentOperationProgress(66);
334 if (aTask->progress)
542 ComObjPtr<Progress> progress; local
662 ComObjPtr<Progress> progress; local
[all...]
H A DHostPower.cpp161 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/VBoxAutostart/
H A DVBoxAutostartStop.cpp54 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 DVBoxAutostartStart.cpp127 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);
/vbox/src/VBox/Runtime/testcase/
H A DtstRTS3.cpp58 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/Source/C/LzmaCompress/Sdk/C/
H A DLzmaEnc.h42 SZ_ERROR_PROGRESS - some break from progress callback
53 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
55 int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
70 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/
H A DUIWizardExportApp.cpp89 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/Main/webservice/samples/perl/
H A Dclienttest.pl178 my $progress = vboxService->IMachine_launchVMProcess($machine,
183 if (!$progress);
186 vboxService->IProgress_waitForCompletion($progress, -1);
189 $fCompleted = vboxService->IProgress_getCompleted($progress);
193 $resultCode = vboxService->IProgress_getResultCode($progress);
/vbox/src/VBox/Main/testcase/
H A DtstVBoxAPIWin.cpp185 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);
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIDnDDrag.cpp151 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);
/vbox/src/VBox/Frontends/VirtualBox/src/globals/
H A DUIMessageCenter.h144 bool showModalProgressDialog(CProgress &progress, const QString &strTitle,
170 void cannotOpenSession(const CProgress &progress, const QString &strMachineName) const;
185 void cannotRemoveMachine(const CMachine &machine, const CProgress &progress) const;
195 void cannotSaveMachineState(const CProgress &progress, const QString &strMachineName);
198 void cannotPowerDownMachine(const CProgress &progress, const QString &strMachineName) const;
206 void cannotTakeSnapshot(const CProgress &progress, const QString &strMachineName, QWidget *pParent = 0) const;
208 bool cannotRestoreSnapshot(const CProgress &progress, const QString &strSnapshotName, const QString &strMachineName) const;
210 void cannotRemoveSnapshot(const CProgress &progress, const QString &strSnapshotName, const QString &strMachineName) const;
223 void cannotCreateHostInterface(const CProgress &progress, QWidget *pParent = 0);
225 void cannotRemoveHostInterface(const CProgress &progress, cons
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/settings/global/
H A DUIGlobalSettingsExtension.cpp198 /* Prepare installation progress: */
199 CProgress progress = extPackFile.Install(fReplaceIt, displayInfo); local
202 /* Show installation progress: */
203 msgCenter().showModalProgressDialog(progress, tr("Extensions"), ":/progress_install_guest_additions_90px.png", pParent);
204 if (!progress.GetCanceled())
206 if (progress.isOk() && progress.GetResultCode() == 0)
209 msgCenter().cannotInstallExtPack(progress, strFilePath, pParent);
409 /* Prepare uninstallation progress: */
410 CProgress progress local
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageHostonly.cpp60 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);

Completed in 71 milliseconds

1234