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

#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 516 of file assert.h.

Referenced by SessionMachine::AdoptSavedState(), AllocMemoryArea(), Medium::attachTo(), SessionMachine::AutoCaptureUSBDevices(), SessionMachine::BeginSavingState(), SessionMachine::BeginTakingSnapshot(), SessionMachine::CaptureUSBDevice(), CombinedProgress::checkProgress(), clipCTextToWinTxt(), clipGetTextFormatFromTargets(), clipLookupContext(), clipRegisterContext(), cpumR3CpuIdFetchLeafOverride(), cpumR3CpuIdInit(), Medium::createDiffStorage(), Console::createSharedFolder(), DarwinGetDVDDrives(), DarwinGetEthernetControllers(), darwinOpenMasterPort(), dbgfR3SymInit(), DECLCALLBACK(), DECLHIDDEN(), DECLINLINE(), SessionMachine::DeleteSnapshot(), Medium::deleteStorage(), SessionMachine::DetachAllUSBDevices(), Medium::detachFrom(), com::SafeArray< I *, com::SafeIfaceArrayTraits< I > >::detachTo(), SessionMachine::DetachUSBDevice(), devFindDeviceRecursive(), devValidateDevice(), Console::doCPUAdd(), Console::doCPURemove(), ElfWriteMappingHeaders(), ElfWriteNoteHeader(), ElfWriteNoteSection(), SessionMachine::EndSavingState(), SessionMachine::EndTakingSnapshot(), com::SafeArray< I *, com::SafeIfaceArrayTraits< I > >::ensureCapacity(), COMErrorInfo::fetchFromCurrentThread(), Console::fetchSharedFolders(), FFmpegWriteRGB24(), FFmpegWriteYUV420p(), Console::findOtherSharedFolder(), Console::findSharedFolder(), SessionMachine::FinishOnlineMergeMedium(), floppyGetName(), Medium::getBase(), VirtualBoxBaseWithChildrenNEXT::getDependentChild(), getDriveInfoFromSysfs(), GetMemoryChunk(), guestProp::Service::getOldNotification(), com::GetVBoxUserHomeDirectory(), OUSBDevice::init(), SnapshotMachine::init(), Progress::init(), Medium::init(), MediumFormat::init(), SessionMachine::init(), CombinedProgress::init(), com::VirtualBoxErrorInfoGlue::init(), com::VirtualBoxErrorInfo::init(), intnetR0SgWritePartSlow(), Console::loadStateFileExecInternal(), SnapshotMachine::lockHandle(), SessionMachine::lockHandle(), SessionMachine::lockMedia(), Medium::mergeTo(), Progress::notifyComplete(), Progress::notifyCompleteV(), NS_NewGenericFactoryEx(), SessionMachine::onlineMergeMedium(), SessionMachine::OnSessionEnd(), Console::onShowWindow(), Open(), com::SafeArray< I *, com::SafeIfaceArrayTraits< I > >::operator[](), matching::ParsedIntervalFilter< T >::parseValue(), patmPatchGenMovDebug(), pdmR3DevInit(), pdmR3UsbRegisterHub(), pgmR3InitPaging(), MyEvent::postTo(), Console::powerDownHostInterfaces(), SessionMachine::prepareDeleteSnapshotMedium(), Medium::prepareMergeTo(), ProcReadAuxVecs(), ProcReadCred(), ProcReadFileInto(), ProcReadInfo(), ProcReadLdt(), ProcReadMappings(), ProcReadMiscInfo(), ProcReadPriv(), ProcReadStatus(), ProcReadThreads(), ProgressBase::protectedInit(), com::VirtualBoxErrorInfoGlue::protectedInit(), remGenerateExportGlue(), remGenerateImportGlue(), Console::removeSharedFolder(), HostUSBDevice::reset(), SessionMachine::RestoreSnapshot(), rtCoreDumperCreateCore(), rtCoreDumperDestroyCore(), rtCoreDumperResumeThreads(), rtCoreDumperWriteCore(), RTDECL(), rtFsGetRoot(), rtHeapOffsetAllocBlock(), rtLocalIpcServerWinCreatePipeInstance(), RTR0DECL(), rtR0MemObjNativeAllocPhys(), rtR0MemObjNativeEnterPhys(), rtR0MemObjNativeGetPagePhysAddr(), rtR0MemObjNativeLockUser(), rtR0MemObjNativeMapKernel(), rtR0MemObjNtMap(), rtstrFormatType(), rtThreadNativeCreate(), ScmStreamCheckItegrity(), ScmStreamCopyLines(), ScmStreamGetLineByNo(), scmStreamGetLineInternal(), ScmStreamPutCh(), ScmStreamPutLine(), ScmStreamRead(), ScmStreamSeekAbsolute(), ScmStreamSeekByLine(), ScmStreamWrite(), Progress::SetCurrentOperationProgress(), com::SupportErrorInfoBase::setErrorInfo(), ProgressBase::setErrorInfoOnThread(), VirtualBoxSupportErrorInfoImplBase::setErrorInternal(), com::SupportErrorInfoBase::setErrorInternal(), HostUSBDevice::setHostDriven(), HostUSBDevice::setHostState(), HostUSBDevice::setIgnored(), Medium::setLocation(), Progress::SetNextOperation(), VBoxGlobal::startMachine(), SUPDECL(), supdrvIDC(), supdrvIDC_LdrGetSymbol(), supdrvLdrAddUsage(), SUPR0DECL(), teleporterTcpReadLine(), Medium::unregisterWithVirtualBox(), Console::updateMachineState(), SessionMachine::updateMachineStateOnClient(), Medium::updatePath(), usbProxyLinuxFindActiveConfig(), vboxClipboardConnect(), vboxClipboardUtf16GetLinSize(), vboxClipboardUtf16GetWinSize(), vboxClipboardUtf16LinToWin(), vboxClipboardUtf16WinToLin(), vboxfuseDirInsertChild(), vboxfuseOp_read(), vboxfuseTreeLookupParent(), vboxNetFltSolarisCreateVNIC(), vboxNetFltSolarisInitVNIC(), VMM_INT_DECL(), VMMR3DECL(), vmmR3SwitcherInit(), and QIWidgetValidator::warningText().


Generated by  Doxygen 1.6.0   Back to index