Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

#define AssertReturn ( expr,
rc   ) 

Value:

do { \
        if (RT_UNLIKELY(!(expr))) \
            return (rc); \
    } while (0)
Assert that an expression is true and returns if it isn't. In RT_STRICT mode it will hit a breakpoint before returning.

Parameters:
expr Expression which should be true.
rc What is to be presented to return.

Definition at line 380 of file assert.h.

Referenced by VirtualBoxBaseWithTypedChildren< Snapshot >::addDependentChild(), VirtualBoxBaseWithChildren::addDependentChild(), SessionMachine::AdoptSavedState(), Progress::advanceOperation(), MediumBase::attachTo(), Console::attachToHostInterface(), SessionMachine::AutoCaptureUSBDevices(), util::Backupable< ParallelPort::Data >::backup(), SessionMachine::BeginSavingState(), SessionMachine::BeginTakingSnapshot(), SessionMachine::CaptureUSBDevice(), CombinedProgress::checkProgress(), settings::XmlTreeBackend::CloseCallback(), cpumR3CpuIdInit(), util::Shareable< BIOSSettings::Data, util::internal::Dummy >::create(), util::Shareable< BIOSSettings::Data, util::internal::Dummy >::createCopy(), HardDisk2::createDiffStorage(), Console::createSharedFolder(), DarwinGetDVDDrives(), DarwinGetEthernetControllers(), darwinOpenMasterPort(), dbgfR3SymInit(), DECLCALLBACK(), DECLINLINE(), HardDisk2::deleteStorage(), SessionMachine::DetachAllUSBDevices(), MediumBase::detachFrom(), Console::detachFromHostInterface(), com::SafeArray< I *, com::SafeIfaceArrayTraits< I > >::detachTo(), SessionMachine::DetachUSBDevice(), HardDisk2::discard(), SessionMachine::DiscardCurrentSnapshotAndState(), SessionMachine::DiscardCurrentState(), SessionMachine::DiscardSnapshot(), SessionMachine::EndSavingState(), SessionMachine::endTakingSnapshot(), SessionMachine::EndTakingSnapshot(), com::SafeArray< I *, com::SafeIfaceArrayTraits< I > >::ensureCapacity(), COMErrorInfo::fetchFromCurrentThread(), Console::fetchSharedFolders(), FFmpegWriteRGB24(), FFmpegWriteYUV420p(), Console::findOtherSharedFolder(), Console::findSharedFolder(), VirtualBoxBaseWithChildrenNEXT::getDependentChild(), VirtualBoxBaseWithChildren::getDependentChild(), getDriveInfoFromEnv(), Console::getGuestProperty(), guestProp::Service::getOldNotification(), com::GetVBoxUserHomeDirectory(), OUSBDevice::init(), USBController::init(), Progress::init(), SnapshotMachine::init(), SessionMachine::init(), CombinedProgress::init(), HardDiskFormat::init(), HardDisk2::init(), com::VirtualBoxErrorInfoGlue::init(), com::VirtualBoxErrorInfo::init(), USBController::initCopy(), USBController::loadSettings(), SnapshotMachine::lockHandle(), SessionMachine::lockHandle(), HardDisk2::mergeTo(), NETFLT_DECL_CALLBACK(), Progress::notifyComplete(), Progress::notifyCompleteBstr(), Progress::notifyProgress(), NS_NewGenericFactoryEx(), SessionMachine::OnSessionEnd(), Console::onShowWindow(), Open(), com::SafeArray< I *, com::SafeIfaceArrayTraits< I > >::operator[](), matching::ParsedIntervalFilter< T >::parseValue(), patmPatchGenMovDebug(), MyEvent::postTo(), Console::powerDownHostInterfaces(), HardDisk2::prepareDiscard(), HardDisk2::prepareMergeTo(), ProgressBase::protectedInit(), ImageMediumBase::protectedInit(), com::VirtualBoxErrorInfoGlue::protectedInit(), MediumBase::queryInfo(), HardDisk2::queryInfo(), remGenerateExportGlue(), remGenerateImportGlue(), VirtualBoxBaseWithTypedChildren< Snapshot >::removeDependentChild(), VirtualBoxBaseWithChildren::removeDependentChild(), Console::removeSharedFolder(), HostUSBDevice::reset(), HardDisk2::root(), RTDECL(), rtFsGetRoot(), rtLocalIpcServerWinCreatePipeInstance(), rtR0MemObjNativeAllocPhys(), rtR0MemObjNativeGetPagePhysAddr(), rtR0MemObjNativeLockUser(), rtR0MemObjNtMap(), rtSemEventMultiWait(), rtThreadNativeCreate(), USBController::saveSettings(), ImageMediumBase::saveSettings(), HardDisk2::saveSettings(), com::SupportErrorInfoBase::setErrorInfo(), ProgressBase::setErrorInfoOnThread(), VirtualBoxSupportErrorInfoImplBase::setErrorInternal(), com::SupportErrorInfoBase::setErrorInternal(), HostUSBDevice::setHostDriven(), HostUSBDevice::setHostState(), HostUSBDevice::setIgnored(), HardDisk2::setLocation(), VBoxGlobal::startMachine(), supdrvIDC(), supdrvIDC_LdrGetSymbol(), supdrvLdrAddUsage(), SUPR0DECL(), VBoxConsoleWnd::toggleFullscreenMode(), HardDisk2::unregisterWithVirtualBox(), Console::updateMachineState(), SessionMachine::updateMachineStateOnClient(), MediumBase::updatePath(), usbProxyLinuxFindActiveConfig(), vboxClipboardConnect(), vboxClipboardDisconnect(), vboxClipboardUtf16GetLinSize(), vboxClipboardUtf16GetWinSize(), vboxClipboardUtf16LinToWin(), vboxClipboardUtf16WinToLin(), vboxglFlushBuffer(), VMMR3DECL(), vmmR3SwitcherInit(), and QIWidgetValidator::warningText().


Generated by  Doxygen 1.6.0   Back to index