VirtualBox

Changeset 25645 in vbox


Ignore:
Timestamp:
Jan 5, 2010 9:29:31 AM (15 years ago)
Author:
vboxsync
Message:

IPRT,DoxyFile.Core: Mopped up the errors in the IPRT doxygen run.

Location:
trunk
Files:
46 edited

Legend:

Unmodified
Added
Removed
  • trunk/Doxyfile.Core

    r25642 r25645  
    434434PREDEFINED            += HCPTRTYPE(HCType)=HCType
    435435PREDEFINED            += R3R0PTRTYPE(R3R0Type)=R3R0Type
     436# Compile assertion hacks.
     437PREDEFINED            += \
     438    AssertCompile(expr) \
     439    AssertCompileSize(a,b) \
     440    AssertCompileSizeAlignment(a,b) \
     441    AssertCompileMemberSizeAlignment(a,b,c) \
     442    AssertCompileMemberAlignment(a,b,c) \
     443    AssertCompileMemberOffset(a,b,c) \
     444    AssertCompile2MemberOffsets(a,b,c)
    436445# COM/XPCOM hacks.
    437446PREDEFINED            += STDMETHODIMP=HRESULT
     
    519528    DECLR0CALLBACKMEMBER \
    520529    DECLINLINE \
     530    DECL_FORCE_INLINE \
     531    DECLHIDDEN \
    521532    CTXSUFF \
    522533    OTHERCTXSUFF \
  • trunk/include/iprt/asm.h

    r25496 r25645  
    3434#include <iprt/types.h>
    3535#include <iprt/assert.h>
    36 /** @todo #include <iprt/param.h> for PAGE_SIZE. */
     36/** @todo @code #include <iprt/param.h> @endcode for PAGE_SIZE. */
    3737/** @def RT_INLINE_ASM_USES_INTRIN
    3838 * Defined as 1 if we're using a _MSC_VER 1400.
     
    10491049 * @returns Model.
    10501050 * @param   uEAX    EAX from ASMCpuId(1) or ASMCpuId(0x80000001).
    1051  * @param   fIntel  Whether it's an intel CPU.
    10521051 */
    10531052DECLINLINE(uint32_t) ASMGetCpuModelIntel(uint32_t uEAX)
     
    10641063 * @returns Model.
    10651064 * @param   uEAX    EAX from ASMCpuId(1) or ASMCpuId(0x80000001).
    1066  * @param   fIntel  Whether it's an intel CPU.
    10671065 */
    10681066DECLINLINE(uint32_t) ASMGetCpuModelAMD(uint32_t uEAX)
     
    36893687 *
    36903688 * @returns The old value.
    3691  * @param   pu32        Pointer to the value.
    3692  * @param   u32         Number to subtract.
    3693  */
    3694 DECLINLINE(uint32_t) ASMAtomicSubU32(int32_t volatile *pi32, uint32_t u32)
    3695 {
    3696     return ASMAtomicAddU32((uint32_t volatile *)pi32, (uint32_t)-(int32_t)u32);
     3689 * @param   pi32        Pointer to the value.
     3690 * @param   i32         Number to subtract.
     3691 */
     3692DECLINLINE(uint32_t) ASMAtomicSubU32(int32_t volatile *pi32, uint32_t i32)
     3693{
     3694    return ASMAtomicAddU32((uint32_t volatile *)pi32, (uint32_t)-(int32_t)i32);
    36973695}
    36983696
  • trunk/include/iprt/assert.h

    r25548 r25645  
    137137RTDECL(void)    RTAssertMsg2Add(const char *pszFormat, ...);
    138138/**
    139  * Weak version of RTAssertMsgAdd2 that forwards to RTAssertMsg2AddWeakV.
     139 * Weak version of RTAssertMsg2Add that forwards to RTAssertMsg2AddWeakV.
    140140 *
    141141 * There is not need to override this, check out RTAssertMsg2AddWeakV instead!
    142142 *
    143  * @copydoc RTAssertMsgAdd2
     143 * @copydoc RTAssertMsg2Add
    144144 */
    145145RTDECL(void)    RTAssertMsg2AddWeak(const char *pszFormat, ...);
     
    434434#endif
    435435
    436 /** @def rtAssertPanic()
     436/** @def RTAssertPanic()
    437437 * If RT_STRICT is defined this macro will invoke RTAssertDoPanic if
    438438 * RTAssertShouldPanic returns true. If RT_STRICT isn't defined it won't do any
  • trunk/include/iprt/cache.h

    r20374 r25645  
    104104 *
    105105 * @returns iprt status code.
    106  * @param   ppObjCache    Where to store the pointer to the created cache.
    107  * @param   cElements     Number of elements the cache can hold.
    108  *                        0 if unlimited size.
    109  * @param   cbElement     Size of one element in bytes
    110  * @param   fProt         Protection flags for protecting cache against concurrent access
    111  *                        from different threads.
    112  *                        RTOBJCACHE_PROTECT_REQUEST   to protect the request function.
    113  *                        RTOBJCACHE_PROTECT_INSERT    to protect the insert function.
     106 * @param   ppCache         Where to store the pointer to the created cache.
     107 * @param   cElements       Number of elements the cache can hold.
     108 *                          0 if unlimited size.
     109 * @param   cbElement       Size of one element in bytes
     110 * @param   fProt           Protection flags for protecting cache against
     111 *                          concurrent access from different threads.
     112 *                          RTOBJCACHE_PROTECT_REQUEST   to protect the request function.
     113 *                          RTOBJCACHE_PROTECT_INSERT    to protect the insert function.
    114114 */
    115115RTDECL(int) RTCacheCreate(PRTOBJCACHE *ppCache, uint32_t cElements, size_t cbElement, uint32_t fProt);
  • trunk/include/iprt/cdefs.h

    r25475 r25645  
    465465 * between R3, R0 and/or RC. The intention is to avoid the \#ifdef IN_RC mess.
    466466 *
    467  * @param   pR0String   The RC string. Only referenced in RC.
     467 * @param   pRCString   The RC string. Only referenced in RC.
    468468 * @see R3STRING, R0STRING
    469469 */
     
    568568 * @param   type    The return type of the function or the data type of the variable.
    569569 */
    570 #if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) || !defined(RT_USE_VISIBILITY_HIDDEN)
     570#if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) || !defined(RT_USE_VISIBILITY_HIDDEN) || defined(DOXYGEN_RUNNING)
    571571# define DECLHIDDEN(type)       type
    572572#else
     
    10981098 * Convert a pointer to a structure member into a pointer to the structure.
    10991099 * @returns pointer to the structure.
    1100  * @param   pMember Pointer to the member.
     1100 * @param   pMem    Pointer to the member.
    11011101 * @param   Type    Strucutre type.
    11021102 * @param   Member  Member name.
  • trunk/include/iprt/critsect.h

    r25607 r25645  
    138138 * @param   pCritSect       The critical section.
    139139 * @param   uId             Where we're entering the section.
    140  * @param   RT_SRC_POS_DECL The source position.
     140 * @param   pszFile         The source position - file.
     141 * @param   iLine           The source position - line.
     142 * @param   pszFunction     The source position - function.
    141143 */
    142144RTDECL(int) RTCritSectEnterDebug(PRTCRITSECT pCritSect, RTHCUINTPTR uId, RT_SRC_POS_DECL);
     
    164166 * @param   pCritSect       The critical section.
    165167 * @param   uId             Where we're entering the section.
    166  * @param   RT_SRC_POS_DECL The source position.
     168 * @param   pszFile         The source position - file.
     169 * @param   iLine           The source position - line.
     170 * @param   pszFunction     The source position - function.
    167171 */
    168172RTDECL(int) RTCritSectTryEnterDebug(PRTCRITSECT pCritSect, RTHCUINTPTR uId, RT_SRC_POS_DECL);
     
    197201 * @param   papCritSects    Array of critical section pointers.
    198202 * @param   uId             Where we're entering the section.
    199  * @param   RT_SRC_POS_DECL The source position.
     203 * @param   pszFile         The source position - file.
     204 * @param   iLine           The source position - line.
     205 * @param   pszFunction     The source position - function.
    200206 *
    201207 * @remark  See RTCritSectEnterMultiple().
  • trunk/include/iprt/dbg.h

    r22116 r25645  
    512512 * @param   poffDisp        Where to return the distance between the symbol
    513513 *                          and address. Optional.
    514  * @param   pSymInfo        Where to return the symbol info.
     514 * @param   pSymbol         Where to return the symbol info.
    515515 * @param   phMod           Where to return the module handle. Optional.
    516516 */
    517 RTDECL(int) RTDbgAsSymbolByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL pSymInfo, PRTDBGMOD phMod);
     517RTDECL(int) RTDbgAsSymbolByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod);
    518518
    519519/**
     
    11001100 *                              specified address and the returned symbol.
    11011101 *                              Optional.
    1102  * @param   pSymInfo            Where to store the symbol information.
     1102 * @param   pLineInfo           Where to store the line number information.
    11031103 */
    11041104RTDECL(int)         RTDbgModLineByAddr(RTDBGMOD hDbgMod, RTDBGSEGIDX iSeg, RTUINTPTR off, PRTINTPTR poffDisp, PRTDBGLINE pLineInfo);
  • trunk/include/iprt/file.h

    r24889 r25645  
    260260 *
    261261 * @return  The native handle.
    262  * @params  File            The IPRT file handle.
     262 * @param   File            The IPRT file handle.
    263263 */
    264264RTR3DECL(RTHCINTPTR) RTFileToNative(RTFILE File);
     
    10351035 * @param   hFile           The file to write to.
    10361036 * @param   off             The offset to start writing at.
    1037  * @param   pvBuf           Where to store the written bits.
    1038  * @param   cbRead          Number of bytes to write.
     1037 * @param   pvBuf           The bits to write.
     1038 * @param   cbWrite         Number of bytes to write.
    10391039 * @param   pvUser          Opaque user data associated with this request which
    10401040 *                          can be retrieved with RTFileAioReqGetUser().
    10411041 */
    10421042RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off,
    1043                                      void *pvBuf, size_t cbWrite, void *pvUser);
     1043                                     void const *pvBuf, size_t cbWrite, void *pvUser);
    10441044
    10451045/**
     
    10941094 *                          requests.
    10951095 */
    1096 RTDECL(int) RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfered);
     1096RTDECL(int) RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransferred);
    10971097
    10981098
  • trunk/include/iprt/handletable.h

    r20374 r25645  
    113113 *          location phHandleTable points at.
    114114 *
    115  * @param   pHandleTable    Where to store the handle table handle on success.
     115 * @param   phHandleTable   Where to store the handle table handle on success.
    116116 * @param   fFlags          Flags, see RTHANDLETABLE_FLAGS_*.
    117117 * @param   uBase           The handle base value. This is the value of the
     
    136136 * @returns IPRT status code and *phHandleTable.
    137137 *
    138  * @param   pHandleTable    Where to store the handle table handle on success.
     138 * @param   phHandleTable   Where to store the handle table handle on success.
    139139 */
    140140RTDECL(int)     RTHandleTableCreate(PRTHANDLETABLE phHandleTable);
  • trunk/include/iprt/initterm.h

    r24179 r25645  
    5757 *
    5858 * @returns IPRT status code.
    59  * @param   pszProgramPath      The path to the program file.
    6059 *
    6160 * @remarks Failure to initialize SUPLib is ignored.
  • trunk/include/iprt/linux/sysfs.h

    r23332 r25645  
    4040RT_C_DECLS_BEGIN
    4141
    42 /** @defgroup grp_rt_mp RTLinuxSysfs - Linux sysfs
     42/** @defgroup grp_rt_linux_sysfs    RTLinuxSysfs - Linux sysfs
    4343 * @ingroup grp_rt
    4444 * @{
  • trunk/include/iprt/localipc.h

    r20374 r25645  
    123123 *
    124124 * @returns IPRT status code.
    125  * @param   VINF_SUCCESS on success and *phSession holding the session handle.
     125 * @retval  VINF_SUCCESS on success and *phSession holding the session handle.
    126126 *
    127127 * @param   phSession           Where to store the sesson handle on success.
     
    270270 * @param   pGid                Where to store the group ID on success.
    271271 */
    272 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTUID pUid);
     272RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTGID pGid);
    273273
    274274/** @} */
  • trunk/include/iprt/lockvalidator.h

    r25638 r25645  
    3737
    3838
    39 /** @defgroup grp_ldr       RTLockValidator - Lock Validator
     39/** @defgroup grp_rtlockval     RTLockValidator - Lock Validator
    4040 * @ingroup grp_rt
    4141 * @{
     
    572572 * Removes all current owners and makes hThread the only owner.
    573573 *
    574  * @param   pRead               The validator record.
     574 * @param   pRec                The validator record.
    575575 * @param   hThread             The thread handle of the owner.  NIL_RTTHREAD is
    576576 *                              an alias for the current thread.
     
    585585 * acquiring the lock in shared mode.
    586586 *
    587  * @param   pRead               The validator record.
     587 * @param   pRec                The validator record.
    588588 * @param   hThread             The thread handle of the owner.  NIL_RTTHREAD is
    589589 *                              an alias for the current thread.
  • trunk/include/iprt/mem.h

    r25347 r25645  
    265265 *
    266266 * @param   pvDst       The kernel mode destination address.
    267  * @param   R3PtrDst    The user mode source address.
     267 * @param   R3PtrSrc    The user mode source address.
    268268 * @param   cb          The number of bytes to copy.
    269269 */
     
    446446 * chokes on it with an internal compiler error.
    447447 *
    448  * @param   T           The data type that's being managed.
     448 * @tparam  T           The data type that's being managed.
    449449 * @param   aMem        Pointer to the memory that should be free.
    450450 */
     
    477477 * chokes on it with an internal compiler error.
    478478 *
    479  * @param   T           The data type that's being managed.
     479 * @tparam  T           The data type that's being managed.
    480480 * @param   aMem        Pointer to the memory that should be free.
    481481 */
     
    494494 * chokes on it with an internal compiler error.
    495495 *
    496  * @param   T           The data type that's being managed.
     496 * @tparam  T           The data type that's being managed.
    497497 * @param   aMem        Pointer to the memory that should be free.
    498498 */
     
    508508 * for RTAutoRes.
    509509 *
    510  * @param   T           The data type that's being managed.
     510 * @tparam  T           The data type that's being managed.
    511511 * @returns NULL with the right type.
    512512 */
     
    529529 * you hand it.
    530530 *
    531  * @param   T           The data type to manage allocations for.
    532  * @param   Destruct    The function to be used to free the resource.
     531 * @tparam  T           The data type to manage allocations for.
     532 * @tparam  Destruct    The function to be used to free the resource.
    533533 *                      This will default to RTMemFree.
    534  * @param   Allocator   The function to be used to allocate or reallocate
     534 * @tparam  Allocator   The function to be used to allocate or reallocate
    535535 *                      the managed memory.
    536536 *                      This is standard realloc() like stuff, so it's possible
     
    643643     * @retval  false on failure, no memory is associated with the object.
    644644     *
    645      * @param   cElements   The new number of elements (of the data type) to allocate.
    646      *                      The size of the allocation is the number of elements times
    647      *                      the size of the data type - this is currently what's passed
    648      *                      down to the Allocator.
     645     * @param   a_cElements The new number of elements (of the data type) to
     646     *                      allocate. The size of the allocation is the number of
     647     *                      elements times the size of the data type - this is
     648     *                      currently what's passed down to the Allocator.
    649649     *                      This defaults to 1.
    650650     */
  • trunk/include/iprt/net.h

    r20374 r25645  
    417417/**
    418418 * IPv4 DHCP packet.
    419  * @obsolete Use RTNETBOOTP.
     419 * @deprecated Use RTNETBOOTP.
    420420 */
    421421#pragma pack(1)
  • trunk/include/iprt/path.h

    r23294 r25645  
    269269 *
    270270 * @param   pszPath     Path to find filename in.
    271  * @param   pcbDir      Where to put the length of the directory component.
    272  *                      If no directory, this will be 0. Optional.
     271 * @param   pcchDir     Where to put the length of the directory component. If
     272 *                      no directory, this will be 0. Optional.
    273273 * @param   poffName    Where to store the filename offset.
    274274 *                      If empty string or if it's ending with a slash this
     
    277277 *                      If empty string or if it's ending with a slash this
    278278 *                      will be set to -1. Optional.
    279  * @param   pfFlags     Where to set flags returning more information about
    280  *                      the path. For the future. Optional.
    281279 */
    282280RTDECL(size_t) RTPathParse(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff);
  • trunk/include/iprt/rand.h

    r20374 r25645  
    118118 *
    119119 * @returns IPRT status code.
    120  * @param   hRand       Handle to the random number generator.
     120 * @param   phRand      Where to return the handle to the new random number
     121 *                      generator.
    121122 */
    122123RTDECL(int) RTRandAdvCreate(PRTRAND phRand) RT_NO_THROW;
  • trunk/include/iprt/s3.h

    r21757 r25645  
    265265 * @param   pszFilename     Name of the file to upload the content of.
    266266 */
    267 RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFileName);
     267RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFilename);
    268268
    269269/** @} */
  • trunk/include/iprt/semaphore.h

    r25640 r25645  
    250250
    251251
    252 /** @defgroup grp_rt_sems_mutex     RTMutex - Mutex semaphores.
     252/** @defgroup grp_rt_sems_mutex     RTSemMutex - Mutex semaphores.
    253253 *
    254254 * Mutex semaphores protect a section of code or data to which access must be
     
    661661 *                              from.  Optional.
    662662 */
    663 RTDECL(int)  RTSemRWRequestWriteDebug(RTSEMRW MutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);
     663RTDECL(int)  RTSemRWRequestWriteDebug(RTSEMRW RWSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);
    664664
    665665/**
  • trunk/include/iprt/test.h

    r25599 r25645  
    244244 * @param   va              Arguments for the reason format string.
    245245 */
    246 RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReason, va_list va);
     246RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReasonFmt, va_list va);
    247247
    248248/**
     
    253253 *                          associated with the calling thread.
    254254 * @param   pszReasonFmt    Text explaining why, optional (NULL).
    255  * @param   va              Arguments for the reason format string.
    256  */
    257 RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReason, ...);
     255 * @param   ...             Arguments for the reason format string.
     256 */
     257RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReasonFmt, ...);
    258258
    259259/**
     
    292292 *                          associated with the calling thread.
    293293 * @param   pszSubTestFmt   The sub-test name format string.
    294  * @param   ...             Arguments.
     294 * @param   va              Arguments.
    295295 */
    296296RTR3DECL(int) RTTestSubV(RTTEST hTest, const char *pszSubTestFmt, va_list va);
     
    380380 * @param   hTest       The test handle. If NIL_RTTEST we'll use the one
    381381 *                      associated with the calling thread.
    382  * @param   enmLevel    Message importance level.
    383382 * @param   pszFormat   The message.
    384383 * @param   va          Arguments.
     
    392391 * @param   hTest       The test handle. If NIL_RTTEST we'll use the one
    393392 *                      associated with the calling thread.
    394  * @param   enmLevel    Message importance level.
    395393 * @param   pszFormat   The message.
    396394 * @param   ...         Arguments.
     
    668666 * @returns Number of chars printed.
    669667 * @param   pszSubTestFmt   The sub-test name format string.
    670  * @param   ...             Arguments.
     668 * @param   va              Arguments.
    671669 */
    672670RTR3DECL(int) RTTestISubV(const char *pszSubTestFmt, va_list va);
  • trunk/include/iprt/types.h

    r25607 r25645  
    10261026/** Raw mode context pointer, unsigned integer variant. */
    10271027typedef int32_t         RTRCINTPTR;
    1028 /** @def RTRCUINPTR_MAX
     1028/** @def RTRCUINTPTR_MAX
    10291029 * The maximum value a RTRCUINPTR can have.
    10301030 */
     
    10331033/** Raw mode context pointer, signed integer variant. */
    10341034typedef uint32_t        RTRCUINTPTR;
    1035 /** @def RTRCINPTR_MIN
     1035/** @def RTRCINTPTR_MIN
    10361036 * The minimum value a RTRCINPTR can have.
    10371037 */
    10381038#define RTRCINTPTR_MIN ((RTRCINTPTR)INT32_MIN)
    1039 /** @def RTRCINPTR_MAX
     1039/** @def RTRCINTPTR_MAX
    10401040 * The maximum value a RTRCINPTR can have.
    10411041 */
  • trunk/include/iprt/uuid.h

    r20374 r25645  
    7777 *
    7878 * @returns 0 if eq, < 0 or > 0.
    79  * @param   pUuid1          First value to compare. NULL is treated like if RTUuidIsNull() return true.
    80  * @param   pUuid2          Second value to compare. NULL is treated like if RTUuidIsNull() return true.
     79 * @param   pUuid1          First value to compare.  NULL is treated like if
     80 *                          RTUuidIsNull() return true.
     81 * @param   pUuid2          Second value to compare.  NULL is treated like if
     82 *                          RTUuidIsNull() return true.
    8183 */
    8284RTDECL(int)  RTUuidCompare(PCRTUUID pUuid1, PCRTUUID pUuid2);
     
    8789 * @note IPRT uses little endian byte ordering in the UUID integer fields. If
    8890 * you want to pass IPRT UUIDs in binary representation to other UUID libraries
    89  * and expect to get exactly the same string representation as in IPRT, you
    90  * need to convert the first three integer fields (one 32 bit value, two 16 bit
     91 * and expect to get exactly the same string representation as in IPRT, you need
     92 * to convert the first three integer fields (one 32 bit value, two 16 bit
    9193 * values) separately to big endian (also called network byte order).
    9294 * Correspondingly, if you want to get the right result with UUIDs which are in
     
    9698 *
    9799 * @returns 0 if eq, < 0 or > 0.
    98  * @param   pUuid1          First value to compare. NULL is not allowed.
    99  * @param   pszString2      The 2nd UUID in string form. NULL of malformed string is not permitted.
     100 * @param   pUuid1          First value to compare.  NULL is not allowed.
     101 * @param   pszString       The 2nd UUID in string form.  NULL or malformed
     102 *                          string is not permitted.
    100103 */
    101104RTDECL(int)  RTUuidCompareStr(PCRTUUID pUuid1, const char *pszString);
  • trunk/src/VBox/Runtime/Doxyfile

    r25642 r25645  
    11751175    RTDECL(type)=type \
    11761176    RT_EXPORT_SYMBOL(name)= \
    1177     DECL_FORCE_INLINE(type)=DECLINLINE(type)
    1178 
    1179 #    DECLCALLBACK(type)=type
     1177    \
     1178    "DECLINLINE(type)=inline type" \
     1179    DECL_FORCE_INLINE(type)=DECLINLINE(type) \
     1180    \
     1181    AssertCompile(expr) \
     1182    AssertCompileSize(a,b) \
     1183    AssertCompileSizeAlignment(a,b) \
     1184    AssertCompileMemberSizeAlignment(a,b,c) \
     1185    AssertCompileMemberAlignment(a,b,c) \
     1186    AssertCompileMemberOffset(a,b,c) \
     1187    AssertCompile2MemberOffsets(a,b,c) \
     1188    \
    11801189
    11811190# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
     
    12001209    DECLEXPORT \
    12011210    DECLIMPORT \
     1211    DECLHIDDEN \
    12021212    DECLASM \
    12031213    DECLASMTYPE \
     
    12081218    DECLR3CALLBACKMEMBER \
    12091219    DECLR0CALLBACKMEMBER \
    1210     DECLINLINE \
    12111220    RTR3DECL \
    12121221    RTR0DECL \
     
    12201229    CTXMID \
    12211230    OTHERCTXMID \
     1231    \
     1232    RT_SRC_POS \
     1233    RT_SRC_POS_ARGS \
     1234    RT_SRC_POS_DECL
     1235
    12221236
    12231237# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
  • trunk/src/VBox/Runtime/Makefile.kmk

    r25638 r25645  
    17271727IPRT_DOXYFILE_INPUT_DIRS = \
    17281728        $(PATH_ROOT)/include/iprt \
     1729        $(PATH_ROOT)/include/iprt/cpp \
     1730        $(PATH_ROOT)/include/iprt/linux \
    17291731        $(PATH_ROOT)/include/iprt/nocrt \
    17301732        $(PATH_ROOT)/include/iprt/nocrt/x86 \
    17311733        $(PATH_ROOT)/include/iprt/nocrt/amd64 \
     1734        $(PATH_ROOT)/include/iprt/nocrt/compiler \
    17321735        $(VBOX_PATH_RUNTIME_SRC)/include/internal \
    17331736        $(VBOX_PATH_RUNTIME_SRC)/common/alloc \
     1737        $(VBOX_PATH_RUNTIME_SRC)/common/asm \
    17341738        $(VBOX_PATH_RUNTIME_SRC)/common/checksum \
     1739        $(VBOX_PATH_RUNTIME_SRC)/common/dbg \
    17351740        $(VBOX_PATH_RUNTIME_SRC)/common/err \
    17361741        $(VBOX_PATH_RUNTIME_SRC)/common/ldr \
    17371742        $(VBOX_PATH_RUNTIME_SRC)/common/log \
     1743        $(VBOX_PATH_RUNTIME_SRC)/common/math \
     1744        $(VBOX_PATH_RUNTIME_SRC)/common/math/amd64 \
     1745        $(VBOX_PATH_RUNTIME_SRC)/common/math/gcc \
     1746        $(VBOX_PATH_RUNTIME_SRC)/common/math/x86 \
    17381747        $(VBOX_PATH_RUNTIME_SRC)/common/misc \
     1748        $(VBOX_PATH_RUNTIME_SRC)/common/path \
     1749        $(VBOX_PATH_RUNTIME_SRC)/common/rand \
    17391750        $(VBOX_PATH_RUNTIME_SRC)/common/string \
    17401751        $(VBOX_PATH_RUNTIME_SRC)/common/table \
  • trunk/src/VBox/Runtime/VBox/strformat-vbox.cpp

    r25000 r25645  
    2727 * Clara, CA 95054 USA or visit http://www.sun.com if you need
    2828 * additional information or have any questions.
    29  */
    30 
    31 /** @page pg_rt_str_format_vbox    The VBox String Format Extensions
    32  *
    33  * The string formatter supports most of the non-float format types and flags.
    34  * See RTStrFormatV() for the full tail there. In addition we've added a number
    35  * of VBox specific format types. Most of these doesn't work with any flags (like
    36  * width, precision and such), but they should still be very useful.
    37  *
    38  * The types:
    39  *
    40  *      - \%Vrc  - Takes an integer iprt status code as argument. Will insert the
    41  *        status code define corresponding to the iprt status code.
    42  *      - \%Vrs  - Takes an integer iprt status code as argument. Will insert the
    43  *        short description of the specified status code.
    44  *      - \%Vrf  - Takes an integer iprt status code as argument. Will insert the
    45  *        full description of the specified status code.
    46  *      - \%Vra  - Takes an integer iprt status code as argument. Will insert the
    47  *        status code define + full description.
    48  *      - \%Vt   - Current thread (RTThreadSelf()).
    49  *      - \%Vhxd - Takes a pointer to the memory which is to be dumped in typical
    50  *        hex format. Use the width to specify the length, and the precision to
    51  *        set the number of bytes per line. Default width and precision is 16.
    52  *      - \%Vhxs - Takes a pointer to the memory to be displayed as a hex string,
    53  *        i.e. a series of space separated bytes formatted as two digit hex value.
    54  *        Use the width to specify the length. Default length is 16 bytes.
    55  *      - \%VGp   - Guest context physical address.
    56  *      - \%VGv   - Guest context virtual address.
    57  *      - \%VRv   - 32 bits guest context virtual address.
    58  *      - \%VHp   - Host context physical address.
    59  *      - \%VHv   - Host context virtual address.
    60  *      - \%VI[8|16|32|64] - Signed integer value of the specifed bit count.
    61  *      - \%VU[8|16|32|64] - Unsigned integer value of the specifed bit count.
    62  *      - \%VX[8|16|32|64] - Hexadecimal integer value of the specifed bit count.
    63  *
    6429 */
    6530
     
    8045/**
    8146 * Callback to format VBox formatting extentions.
    82  * See @ref pg_rt_str_format_vbox for a reference on the format types.
     47 *
     48 * @deprecated All the %V* format extensions are deprecated and will be removed
     49 *             before long!
    8350 *
    8451 * @returns The number of bytes formatted.
  • trunk/src/VBox/Runtime/common/checksum/ipv4.cpp

    r21337 r25645  
    228228 *
    229229 * @returns 32-bit intermediary checksum value.
    230  * @param   pUdpHdr         Pointer to the TCP header to checksum, network endian (big).
    231  *                          Assums the caller has already validate it and made sure the
    232  *                          entire header is present.
     230 * @param   pTcpHdr         Pointer to the TCP header to checksum, network
     231 *                          endian (big). Assums the caller has already validate
     232 *                          it and made sure the entire header is present.
    233233 * @param   u32Sum          The 32-bit intermediate checksum value.
    234234 */
     
    274274 *
    275275 * @returns 32-bit intermediary checksum value.
    276  * @param   pUdpHdr         Pointer to the TCP header to checksum, network endian (big).
    277  *                          Assums the caller has already validate it and made sure the
    278  *                          entire header is present.
     276 * @param   pTcpHdr         Pointer to the TCP header to checksum, network
     277 *                          endian (big). Assums the caller has already validate
     278 *                          it and made sure the entire header is present.
    279279 * @param   u32Sum          The 32-bit intermediate checksum value.
    280280 */
     
    290290 *
    291291 * @returns 32-bit intermediary checksum value.
    292  * @param   pUdpHdr         Pointer to the UDP header to checksum, network endian (big).
     292 * @param   pvData          Pointer to the data that should be checksummed.
     293 * @param   cbData          The number of bytes to checksum.
    293294 * @param   u32Sum          The 32-bit intermediate checksum value.
    294295 * @param   pfOdd           This is used to keep track of odd bits, initialize to false
     
    342343 *
    343344 * @returns 32-bit intermediary checksum value.
    344  * @param   pUdpHdr         Pointer to the UDP header to checksum, network endian (big).
     345 * @param   pvData          The data bits to checksum.
     346 * @param   cbData          The number of bytes to checksum.
    345347 * @param   u32Sum          The 32-bit intermediate checksum value.
    346348 * @param   pfOdd           This is used to keep track of odd bits, initialize to false
  • trunk/src/VBox/Runtime/common/dbg/dbgas.cpp

    r23022 r25645  
    11671167 * Adjusts the address to correspond to the mapping of the module/segment.
    11681168 *
    1169  * @param   pSymbol         The returned symbol info.
    1170  * @param   pMap            The mapping record.
     1169 * @param   pAddr           The address to adjust (in/out).
     1170 * @param   iSeg            The related segment.
    11711171 * @param   hDbgMod         The module handle.
    11721172 * @param   MapAddr         The mapping address.
     
    12591259 * @param   cb              The size of the symbol.
    12601260 * @param   fFlags          Symbol flags.
     1261 * @param   piOrdinal       Where to return the symbol ordinal on success. If
     1262 *                          the interpreter doesn't do ordinals, this will be set to
     1263 *                          UINT32_MAX. Optional
    12611264 */
    12621265RTDECL(int) RTDbgAsSymbolAdd(RTDBGAS hDbgAs, const char *pszSymbol, RTUINTPTR Addr, RTUINTPTR cb, uint32_t fFlags, uint32_t *piOrdinal)
     
    13431346 * @param   poffDisp        Where to return the distance between the symbol
    13441347 *                          and address. Optional.
    1345  * @param   ppSymbol        Where to return the pointer to the allocated
    1346  *                          symbol info. Always set. Free with RTDbgSymbolFree.
     1348 * @param   ppSymInfo       Where to return the pointer to the allocated symbol
     1349 *                          info. Always set. Free with RTDbgSymbolFree.
    13471350 * @param   phMod           Where to return the module handle. Optional.
    13481351 */
    1349 RTDECL(int) RTDbgAsSymbolByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL *ppSymbol, PRTDBGMOD phMod)
     1352RTDECL(int) RTDbgAsSymbolByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL *ppSymInfo, PRTDBGMOD phMod)
    13501353{
    13511354    /*
     
    13691372     * Forward the call.
    13701373     */
    1371     int rc = RTDbgModSymbolByAddrA(hMod, iSeg, offSeg, poffDisp, ppSymbol);
     1374    int rc = RTDbgModSymbolByAddrA(hMod, iSeg, offSeg, poffDisp, ppSymInfo);
    13721375    if (RT_SUCCESS(rc))
    1373         rtDbgAsAdjustSymbolValue(*ppSymbol, hMod, MapAddr, iSeg);
     1376        rtDbgAsAdjustSymbolValue(*ppSymInfo, hMod, MapAddr, iSeg);
    13741377    if (phMod)
    13751378        *phMod = hMod;
  • trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp

    r22114 r25645  
    12911291 *                              specified address and the returned symbol.
    12921292 *                              Optional.
    1293  * @param   pSymInfo            Where to store the symbol information.
     1293 * @param   pLineInfo           Where to store the line number information.
    12941294 */
    12951295RTDECL(int) RTDbgModLineByAddr(RTDBGMOD hDbgMod, RTDBGSEGIDX iSeg, RTUINTPTR off, PRTINTPTR poffDisp, PRTDBGLINE pLineInfo)
  • trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp

    r22111 r25645  
    530530
    531531
    532 /** @copydoc RTDBGMODVTDBG::pfnRvaToSegOff */
     532/** @copydoc RTDBGMODVTDBG::pfnImageSize */
    533533static DECLCALLBACK(RTUINTPTR) rtDbgModContainer_ImageSize(PRTDBGMODINT pMod)
    534534{
  • trunk/src/VBox/Runtime/common/dbg/dbgmodnm.cpp

    r21337 r25645  
    162162
    163163
    164 /** @copydoc RTDBGMODVTDBG::pfnRvaToSegOff */
     164/** @copydoc RTDBGMODVTDBG::pfnImageSize */
    165165static DECLCALLBACK(RTUINTPTR) rtDbgModNm_ImageSize(PRTDBGMODINT pMod)
    166166{
  • trunk/src/VBox/Runtime/common/misc/cache.cpp

    r24181 r25645  
    5050 *
    5151 * @returns iprt status code.
    52  * @param   ppObjCache    Where to store the pointer to the created cache.
    53  * @param   cElements     Number of elements the cache can hold.
    54  *                        0 if unlimited size.
    55  * @param   cbElement     Size of one element in bytes
    56  * @param   fProt         Protection flags for protecting cache against concurrent access
    57  *                        from different threads.
    58  *                        RTOBJCACHE_PROTECT_REQUESTER to protect the request function.
    59  *                        RTOBJCACHE_PROTECT_INSERT    to protect the insert function.
     52 * @param   ppCache         Where to store the pointer to the created cache.
     53 * @param   cElements       Number of elements the cache can hold.
     54 *                          0 if unlimited size.
     55 * @param   cbElement       Size of one element in bytes
     56 * @param   fProt           Protection flags for protecting cache against
     57 *                          concurrent access from different threads.
     58 *                          RTOBJCACHE_PROTECT_REQUEST  to protect the request function.
     59 *                          RTOBJCACHE_PROTECT_INSERT    to protect the insert function.
    6060 */
    6161RTDECL(int) RTCacheCreate(PRTOBJCACHE *ppCache, uint32_t cElements, size_t cbElement, uint32_t fProt)
  • trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp

    r25638 r25645  
    188188 * Launch a simple assertion like complaint w/ panic.
    189189 *
    190  * @param   RT_SRC_POS_DECL     Where from.
     190 * @param   pszFile             Where from - file.
     191 * @param   iLine               Where from - line.
     192 * @param   pszFunction         Where from - function.
    191193 * @param   pszWhat             What we're complaining about.
    192194 * @param   ...                 Format arguments.
     
    211213 *
    212214 * @param   pszPrefix           Message prefix.
    213  * @param   Rec                 The lock record we're working on.
    214  * @param   pszPrefix           Message suffix.
     215 * @param   pRec                The lock record we're working on.
     216 * @param   pszSuffix           Message suffix.
    215217 */
    216218static void rtLockValidatorComplainAboutLock(const char *pszPrefix, PRTLOCKVALRECUNION pRec, const char *pszSuffix)
  • trunk/src/VBox/Runtime/common/misc/s3.cpp

    r23973 r25645  
    863863}
    864864
    865 RTR3DECL(int) RTS3GetKey(RTS3 hS3, const char* pszBucketName, const char* pszKeyName, const char* pszFileName)
     865RTR3DECL(int) RTS3GetKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFilename)
    866866{
    867867    PRTS3INTERNAL pS3Int = hS3;
     
    873873    /* Open the file */
    874874    RTFILE hFile;
    875     int rc = RTFileOpen(&hFile, pszFileName, RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);
     875    int rc = RTFileOpen(&hFile, pszFilename, RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);
    876876    if (RT_FAILURE(rc))
    877877        return rc;
     
    916916    /* If there was an error delete the newly created file */
    917917    if (RT_FAILURE(rc))
    918         RTFileDelete(pszFileName);
     918        RTFileDelete(pszFilename);
    919919
    920920    return rc;
    921921}
    922922
    923 RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char* pszBucketName, const char* pszKeyName, const char* pszFileName)
     923RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFilename)
    924924{
    925925    PRTS3INTERNAL pS3Int = hS3;
     
    931931    /* Open the file */
    932932    RTFILE hFile;
    933     int rc = RTFileOpen(&hFile, pszFileName, RTFILE_O_OPEN | RTFILE_O_READ | RTFILE_O_DENY_NONE);
     933    int rc = RTFileOpen(&hFile, pszFilename, RTFILE_O_OPEN | RTFILE_O_READ | RTFILE_O_DENY_NONE);
    934934    if (RT_FAILURE(rc))
    935935        return rc;
  • trunk/src/VBox/Runtime/common/misc/thread.cpp

    r25638 r25645  
    779779 * @param   enmType     See RTThreadCreate.
    780780 * @param   fFlags      See RTThreadCreate.
    781  * @param   pszName     Thread name format.
     781 * @param   pszNameFmt  Thread name format.
    782782 * @param   va          Format arguments.
    783783 */
     
    804804 * @param   enmType     See RTThreadCreate.
    805805 * @param   fFlags      See RTThreadCreate.
    806  * @param   pszName     Thread name format.
     806 * @param   pszNameFmt  Thread name format.
    807807 * @param   ...         Format arguments.
    808808 */
  • trunk/src/VBox/Runtime/common/path/RTPathParse.cpp

    r21673 r25645  
    4646 *
    4747 * @param   pszPath     Path to find filename in.
    48  * @param   pcbDir      Where to put the length of the directory component.
    49  *                      If no directory, this will be 0. Optional.
     48 * @param   pcchDir     Where to put the length of the directory component. If
     49 *                      no directory, this will be 0. Optional.
    5050 * @param   poffName    Where to store the filename offset.
    5151 *                      If empty string or if it's ending with a slash this
     
    5454 *                      If empty string or if it's ending with a slash this
    5555 *                      will be set to -1. Optional.
    56  * @param   pfFlags     Where to set flags returning more information about
    57  *                      the path. For the future. Optional.
    5856 */
    5957RTDECL(size_t) RTPathParse(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff)
  • trunk/src/VBox/Runtime/common/string/strformatrt.cpp

    r25596 r25645  
    8282 *      - \%RHx             - Takes a #RTHCUINT or #RTHCINT value, formatting it as hex.
    8383 *      - \%RRv             - Takes a #RTRCPTR, #RTRCINTPTR or #RTRCUINTPTR value.
    84  *      - \%RCi             - Takes a #RTCCINT value.
     84 *      - \%RCi             - Takes a #RTINT value.
    8585 *      - \%RCp             - Takes a #RTCCPHYS value.
    8686 *      - \%RCr             - Takes a #RTCCUINTREG value.
     
    233233#define STRMEM(str) sizeof(str) - 1, str
    234234                    { STRMEM("Ci"),      sizeof(RTINT),          10, RTSF_INT,   RTSTR_F_VALSIGNED },
    235                     { STRMEM("Cp"),      sizeof(RTGCPHYS),       16, RTSF_INTW,  0 },
     235                    { STRMEM("Cp"),      sizeof(RTCCPHYS),       16, RTSF_INTW,  0 },
    236236                    { STRMEM("Cr"),      sizeof(RTCCUINTREG),    16, RTSF_INTW,  0 },
    237237                    { STRMEM("Cu"),      sizeof(RTUINT),         10, RTSF_INT,   0 },
  • trunk/src/VBox/Runtime/include/internal/dbgmod.h

    r22115 r25645  
    3838RT_C_DECLS_BEGIN
    3939
    40 /** @defgroup grp_rt_dbgmod     RTDbgMod - Debug Module Interperter
    41  * @ingroup grp_rt
     40/** @addtogroup grp_rt_dbgmod
    4241 * @internal
    4342 * @{
     
    224223     * @param   off         The offset into the segment.
    225224     * @param   cb          The area covered by the symbol. 0 is fine.
     225     * @param   fFlags      Flags.
    226226     * @param   piOrdinal   Where to return the symbol ordinal on success. If the
    227227     *                      interpreter doesn't do ordinals, this will be set to
     
    306306     * @param   pszFile     The filename.
    307307     * @param   cchFile     The length of the filename.
     308     * @param   uLineNo     The line number.
    308309     * @param   iSeg        The segment number (0-based).
    309310     * @param   off         The offset into the segment.
  • trunk/src/VBox/Runtime/include/internal/rand.h

    r20374 r25645  
    105105     * @retval  VERR_NOT_SUPPORTED by non-psuedo generators.
    106106     *
    107      * @param   hRand       Handle to the random number generator.
     107     * @param   pThis       Pointer to the instance data.
    108108     * @param   pszState    Where to store the state. The returned string will be
    109109     *                      null terminated and printable.
     
    112112     *                      terminator, thus the 'cb' instead of 'cch').
    113113     */
    114     DECLCALLBACKMEMBER(int, pfnSaveState)(RTRAND hRand, char *pszState, size_t *pcbState);
     114    DECLCALLBACKMEMBER(int, pfnSaveState)(PRTRANDINT pThis, char *pszState, size_t *pcbState);
    115115
    116116    /**
     
    123123     * @retval  VERR_NOT_SUPPORTED by non-psuedo generators.
    124124     *
    125      * @param   hRand       Handle to the random number generator.
     125     * @param   pThis       Pointer to the instance data.
    126126     * @param   pszState    The state to load.
    127127     */
    128     DECLCALLBACKMEMBER(int, pfnRestoreState)(RTRAND hRand, char const *pszState);
     128    DECLCALLBACKMEMBER(int, pfnRestoreState)(PRTRANDINT pThis, char const *pszState);
    129129
    130130    /**
  • trunk/src/VBox/Runtime/r0drv/nt/timer-r0drv-nt.cpp

    r25528 r25645  
    107107 *
    108108 * @returns HRTIMER_NORESTART or HRTIMER_RESTART depending on whether it's a one-shot or interval timer.
    109  * @param   pHrTimer    Pointer to the timer structure.
     109 * @param   pDpc                Pointer to the the DPC.
     110 * @param   pvUser              Pointer to our internal timer structure.
     111 * @param   SystemArgument1     Some system argument.
     112 * @param   SystemArgument2     Some system argument.
    110113 */
    111114static void _stdcall rtTimerNtSimpleCallback(IN PKDPC pDpc, IN PVOID pvUser, IN PVOID SystemArgument1, IN PVOID SystemArgument2)
  • trunk/src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp

    r19562 r25645  
    224224
    225225RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off,
    226                                      void *pvBuf, size_t cbWrite, void *pvUser)
     226                                     void const *pvBuf, size_t cbWrite, void *pvUser)
    227227{
    228228    return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE,
    229                                        off, pvBuf, cbWrite, pvUser);
     229                                       off, (void *)pvBuf, cbWrite, pvUser);
    230230}
    231231
  • trunk/src/VBox/Runtime/r3/linux/fileaio-linux.cpp

    r22969 r25645  
    399399
    400400RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off,
    401                                      void *pvBuf, size_t cbWrite, void *pvUser)
     401                                     void const *pvBuf, size_t cbWrite, void *pvUser)
    402402{
    403403    return rtFileAioReqPrepareTransfer(hReq, hFile, LNXKAIO_IOCB_CMD_WRITE,
    404                                        off, pvBuf, cbWrite, pvUser);
     404                                       off, (void *)pvBuf, cbWrite, pvUser);
    405405}
    406406
  • trunk/src/VBox/Runtime/r3/posix/fileaio-posix.cpp

    r25528 r25645  
    423423
    424424RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off,
    425                                      void *pvBuf, size_t cbWrite, void *pvUser)
     425                                     void const *pvBuf, size_t cbWrite, void *pvUser)
    426426{
    427427    return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE,
    428                                        off, pvBuf, cbWrite, pvUser);
     428                                       off, (void *)pvBuf, cbWrite, pvUser);
    429429}
    430430
  • trunk/src/VBox/Runtime/r3/solaris/fileaio-solaris.cpp

    r25629 r25645  
    191191
    192192RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off,
    193                                      void *pvBuf, size_t cbWrite, void *pvUser)
     193                                     void const *pvBuf, size_t cbWrite, void *pvUser)
    194194{
    195195    return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE,
    196                                        off, pvBuf, cbWrite, pvUser);
     196                                       off, (void *)pvBuf, cbWrite, pvUser);
    197197}
    198198
  • trunk/src/VBox/Runtime/r3/test.cpp

    r25517 r25645  
    832832
    833833
    834 RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReason, va_list va)
     834RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReasonFmt, va_list va)
    835835{
    836836    PRTTESTINT pTest = hTest;
     
    844844    if (!pTest->cErrors)
    845845    {
    846         if (pszReason)
    847             RTTestPrintfNlV(hTest, RTTESTLVL_FAILURE, pszReason, va);
     846        if (pszReasonFmt)
     847            RTTestPrintfNlV(hTest, RTTESTLVL_FAILURE, pszReasonFmt, va);
    848848        RTTestPrintfNl(hTest, RTTESTLVL_ALWAYS, "SKIPPED\n", pTest->cErrors);
    849849        rc = 2;
     
    860860
    861861
    862 RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReason, ...)
     862RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReasonFmt, ...)
    863863{
    864864    va_list va;
    865     va_start(va, pszReason);
    866     int rc = RTTestSkipAndDestroyV(hTest, pszReason, va);
     865    va_start(va, pszReasonFmt);
     866    int rc = RTTestSkipAndDestroyV(hTest, pszReasonFmt, va);
    867867    va_end(va);
    868868    return rc;
     
    11291129 * @param   hTest       The test handle. If NIL_RTTEST we'll use the one
    11301130 *                      associated with the calling thread.
    1131  * @param   enmLevel    Message importance level.
    11321131 * @param   pszFormat   The message.
    11331132 * @param   va          Arguments.
     
    11451144 * @param   hTest       The test handle. If NIL_RTTEST we'll use the one
    11461145 *                      associated with the calling thread.
    1147  * @param   enmLevel    Message importance level.
    11481146 * @param   pszFormat   The message.
    11491147 * @param   ...         Arguments.
  • trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp

    r21494 r25645  
    212212
    213213RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off,
    214                                      void *pvBuf, size_t cbWrite, void *pvUser)
     214                                     void const *pvBuf, size_t cbWrite, void *pvUser)
    215215{
    216216    return rtFileAioReqPrepareTransfer(hReq, hFile, TRANSFERDIRECTION_WRITE,
    217                                        off, pvBuf, cbWrite, pvUser);
     217                                       off, (void *)pvBuf, cbWrite, pvUser);
    218218}
    219219
  • trunk/src/VBox/Runtime/r3/xml.cpp

    r25348 r25645  
    731731 *
    732732 * @param pcszMatch name of attribute to find.
    733  * @param str out: attribute value
     733 * @param ppcsz out: attribute value
    734734 * @return TRUE if attribute was found and str was thus updated.
    735735 */
     
    856856 *
    857857 * @param pcszMatch name of attribute to find.
    858  * @param i out: attribute value; overwritten only if attribute was found
     858 * @param f out: attribute value; overwritten only if attribute was found
    859859 * @return TRUE if attribute was found and str was thus updated.
    860860 */
     
    921921 * in "this".
    922922 *
    923  * @param pcszElementName
     923 * @param pcszContent
    924924 * @return
    925925 */
     
    10781078 *          ...;
    10791079 * </code>
    1080  * @param node
    1081  * @param pcszMatch
    10821080 * @return
    10831081 */
     
    13211319 * The document that is passed in will be reset before being filled if not empty.
    13221320 *
    1323  * @param pcszFilename in: name fo file to parse.
     1321 * @param strFilename in: name fo file to parse.
    13241322 * @param doc out: document to be reset and filled with data according to file contents.
    13251323 */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette