/vbox/src/VBox/Main/include/ |
H A D | SerialPortImpl.h | 91 pMachine(NULL) 95 Machine * const pMachine; member in struct:SerialPort::Data
|
H A D | BandwidthControlImpl.h | 76 Data(Machine *pMachine) argument 77 : pParent(pMachine)
|
H A D | ApplianceImplPrivate.h | 156 ComPtr<IMachine> pMachine; member in struct:MyHardDiskAttachment 233 ComPtr<Machine> pMachine; // VirtualBox machine this description was exported from (export only) member in struct:VirtualSystemDescription::Data
|
/vbox/src/VBox/Main/src-server/ |
H A D | ClientToken.cpp | 74 Machine::ClientToken::ClientToken(const ComObjPtr<Machine> &pMachine, argument 76 mMachine(pMachine) 80 Bstr tokenId = pMachine->mData->m_strConfigFileFull; 92 pMachine->mData->mUuid.raw()); 123 Utf8Str semName = pMachine->mData->m_strConfigFileFull; 192 mClientTokenId = pMachine->mData->m_strConfigFileFull;
|
H A D | HostPower.cpp | 145 ComPtr<SessionMachine> pMachine = *it; local 146 rc = pMachine->GetExtraData(Bstr("VBoxInternal2/SavestateOnBatteryLow").raw(), 165 rc = pMachine->i_saveStateWithReason(Reason_HostBatteryLow, progress); 168 LogRel(("SaveState '%s' failed with %Rhrc\n", pMachine->i_getName().c_str(), rc)); 185 LogRel(("SaveState '%s' succeeded\n", pMachine->i_getName().c_str()));
|
H A D | BandwidthGroupImpl.cpp | 245 ComObjPtr<Machine> pMachine = m->pParent->i_getMachine(); local 247 pMachine->i_onBandwidthGroupChange(this);
|
H A D | ParallelPortImpl.cpp | 41 pMachine(NULL) 46 Machine * const pMachine; member in struct:ParallelPort::Data 87 unconst(m->pMachine) = aParent; 123 unconst(m->pMachine) = aParent; 157 unconst(m->pMachine) = aParent; 188 unconst(m->pMachine) = NULL; 210 AutoMutableStateDependency adep(m->pMachine); 230 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); 231 m->pMachine->i_setModified(Machine::IsModified_ParallelPorts); 234 m->pMachine [all...] |
H A D | USBControllerImpl.cpp | 53 Data(Machine *pMachine) argument 54 : pParent(pMachine)
|
H A D | BIOSSettingsImpl.cpp | 38 : pMachine(NULL) 41 Machine * const pMachine; member in struct:BIOSSettings::Data 86 unconst(m->pMachine) = aParent; 117 unconst(m->pMachine) = aParent; 147 unconst(m->pMachine) = aParent; 175 unconst(m->pMachine) = NULL; 199 AutoMutableStateDependency adep(m->pMachine); 208 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); // mParent is const, needs no locking 209 m->pMachine->i_setModified(Machine::IsModified_BIOS); 228 AutoMutableStateDependency adep(m->pMachine); [all...] |
H A D | MediumAttachmentImpl.cpp | 71 : pMachine(aMachine), 76 Machine * const pMachine; member in struct:MediumAttachment::Data 143 unconst(m->pMachine) = aParent; 221 unconst(m->pMachine) = NULL; 366 hrc = m->pMachine->i_getBandwidthGroup(m->bd->strBandwidthGroup, pBwGroup, true /* fSetError */); 583 void MediumAttachment::i_updateParentMachine(Machine * const pMachine) argument 592 unconst(m->pMachine) = pMachine;
|
H A D | USBDeviceFilterImpl.cpp | 464 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local 472 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 473 pMachine->i_setModified(Machine::IsModified_USB); 502 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local 510 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 511 pMachine->i_setModified(Machine::IsModified_USB); 618 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local 626 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 627 pMachine->i_setModified(Machine::IsModified_USB); 656 ComObjPtr<Machine> pMachine local 800 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local [all...] |
H A D | USBDeviceFiltersImpl.cpp | 51 Data(Machine *pMachine) argument 52 : pParent(pMachine), 53 pHost(pMachine->i_getVirtualBox()->i_host())
|
H A D | USBProxyService.cpp | 465 ComObjPtr<SessionMachine> pMachine = *it; local 469 && pMachine == aIgnoreMachine) 475 if (runMachineFilters(pMachine, aDevice)) 477 LogFlowThisFunc(("{%s} attached to %p\n", aDevice->i_getName().c_str(), (void *)pMachine));
|
H A D | MachineImplCloneVM.cpp | 121 HRESULT createDifferencingMedium(const ComObjPtr<Machine> &pMachine, const ComObjPtr<Medium> &pParent, 150 ComPtr<IMachine> pMachine; 151 rc = pSnapshot->COMGETTER(Machine)(pMachine.asOutParam()); 153 machineList.append((Machine*)(IMachine*)pMachine); 660 HRESULT MachineCloneVMPrivate::createDifferencingMedium(const ComObjPtr<Machine> &pMachine, const ComObjPtr<Medium> &pParent, argument 710 rc = VirtualBoxBase::handleUnexpectedExceptions(pMachine, RT_SRC_POS);
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstOVF.cpp | 351 ComPtr<IMachine> pMachine; local 352 rc = pVirtualBox->FindMachine(bstrUUID.raw(), pMachine.asOutParam()); 357 rc = pMachine->Unregister(CleanupMode_DetachAllReturnHardDisksOnly, 362 rc = pMachine->DeleteConfig(ComSafeArrayAsInParam(sfaMedia), pProgress.asOutParam());
|
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/ |
H A D | VBoxWatchdogUtils.cpp | 65 * @param pMachine Pointer to the machine's internal structure. 69 int getMetric(PVBOXWATCHDOG_MACHINE pMachine, const Bstr& strName, LONG *pulData) argument 71 AssertPtrReturn(pMachine, VERR_INVALID_POINTER); 77 pMachine->machine.queryInterfaceTo(&metricObjects[0]); 95 Assert(!pMachine->collector.isNull()); 96 HRESULT hrc = pMachine->collector->QueryMetricsData( 139 * @param pMachine Machine to get payload for. 142 void* payloadFrom(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument 144 AssertPtrReturn(pMachine, NULL); 146 mapPayloadIter it = pMachine 153 payloadAlloc(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule, size_t cbSize, void **ppszPayload) argument 178 payloadFree(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument 199 getMachineState(const PVBOXWATCHDOG_MACHINE pMachine) argument [all...] |
H A D | VBoxModAPIMonitor.cpp | 181 static int apimonMachineControl(const Bstr &strUuid, PVBOXWATCHDOG_MACHINE pMachine, argument 185 AssertPtrReturn(pMachine, VERR_INVALID_POINTER); 317 static bool apimonHandleVM(const PVBOXWATCHDOG_MACHINE pMachine) argument 323 mapGroupsIterConst itVMGroup = pMachine->groups.begin(); 324 while ( itVMGroup != pMachine->groups.end()
|
H A D | VBoxModBallooning.cpp | 212 * @param pMachine Machine to determine ballooning for. 214 static bool balloonIsRequired(PVBOXWATCHDOG_MACHINE pMachine) argument 216 AssertPtrReturn(pMachine, false); 220 payloadFrom(pMachine, VBOX_MOD_BALLOONING_NAME); 222 pData->ulBalloonSizeMax = pMachine->machine.isNull() 223 ? 0 : balloonGetMaxSize(pMachine->machine); 236 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local 237 AssertPtrBreakStmt(pMachine, vrc=VERR_INVALID_PARAMETER); 239 ComPtr<IMachine> m = pMachine->machine; 260 ComPtr<IPerformanceCollector> coll = pMachine 285 balloonMachineUpdate(const Bstr &strUuid, PVBOXWATCHDOG_MACHINE pMachine) argument 509 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local 523 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local 534 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageSnapshot.cpp | 164 * @param pMachine Reference to the VM (locked) we're operating on. 166 static RTEXITCODE handleSnapshotList(HandlerArg *pArgs, ComPtr<IMachine> &pMachine) argument 191 HRESULT hrc = pMachine->FindSnapshot(Bstr().raw(), pSnapshot.asOutParam()); 200 CHECK_ERROR2_RET(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam()), RTEXITCODE_FAILURE); 213 * @param pMachine Machine to dump snapshots for. 215 void DumpSnapshot(ComPtr<IMachine> &pMachine) argument 223 CHECK_ERROR_BREAK(pMachine, FindSnapshot(Bstr("").raw(), pSnapshot.asOutParam())); 227 CHECK_ERROR_BREAK(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam())); 231 CHECK_ERROR_BREAK(pMachine, COMGETTER(MediumAttachments)(ComSafeArrayAsOutParam(aAttachments))); 277 ComPtr<IMachine> pMachine; local [all...] |
H A D | VBoxManageAppliance.cpp | 1133 ComPtr<IMachine> pMachine = *itM; local 1135 CHECK_ERROR_BREAK(pMachine, ExportTo(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam()));
|
H A D | VBoxManageDisk.cpp | 1281 ComPtr<IMachine> pMachine; local 1282 CHECK_ERROR(pVirtualBox, FindMachine(machineIds[i], pMachine.asOutParam())); 1283 if (pMachine) 1286 pMachine->COMGETTER(Name)(name.asOutParam()); 1287 pMachine->COMGETTER(Id)(uuid.asOutParam()); 1298 pMachine->FindSnapshot(snapshotIds[j], pSnapshot.asOutParam());
|
/vbox/src/VBox/Main/src-client/ |
H A D | GuestSessionImplTasks.cpp | 78 const ComPtr<IMachine> pMachine = pConsole->i_machine(); local 80 Assert(!pMachine.isNull()); 83 HRESULT hr = pMachine->GetGuestProperty(Bstr(strPath).raw(),
|
H A D | ConsoleImplTeleporter.cpp | 135 IMachine *pMachine, IInternalMachineControl *pControl, 138 , mpMachine(pMachine) 1021 * @param pMachine The IMachine for the virtual machine. 1032 HRESULT Console::i_teleporterTrg(PUVM pUVM, IMachine *pMachine, Utf8Str *pErrorMsg, bool fStartPaused, argument 1035 LogThisFunc(("pUVM=%p pMachine=%p fStartPaused=%RTbool pProgress=%p\n", pUVM, pMachine, fStartPaused, pProgress)); 1043 HRESULT hrc = pMachine->COMGETTER(TeleporterPort)(&uPort); 1049 hrc = pMachine->COMGETTER(TeleporterAddress)(bstrAddress.asOutParam()); 1056 hrc = pMachine->COMGETTER(TeleporterPassword)(bstrPassword.asOutParam()); 1080 hrc = pMachine 134 TeleporterStateTrg(Console *pConsole, PUVM pUVM, Progress *pProgress, IMachine *pMachine, IInternalMachineControl *pControl, PRTTIMERLR phTimerLR, bool fStartPaused) argument [all...] |
/vbox/src/VBox/HostServices/SharedOpenGL/crserver/ |
H A D | crservice.cpp | 937 ComPtr<IMachine> pMachine; local 944 CHECK_ERROR_BREAK(pConsole, COMGETTER(Machine)(pMachine.asOutParam())); 945 CHECK_ERROR_BREAK(pMachine, COMGETTER(MonitorCount)(&monitorCount));
|
/vbox/src/VBox/Frontends/VBoxHeadless/ |
H A D | VBoxHeadless.cpp | 164 ComPtr <IMachine> pMachine; local 167 hrc = gConsole->COMGETTER(Machine)(pMachine.asOutParam()); 168 if (SUCCEEDED(hrc) && pMachine) 171 hrc = pMachine->COMGETTER(Id)(gpMachineId.asOutParam()); 207 hrc = pMachine->GetExtraData(Bstr("VRDP/DisconnectOnGuestLogout").raw(), 259 hrc = pMachine->COMGETTER(VRDEServer)(vrdeServer.asOutParam());
|