Changeset 25645 in vbox
- Timestamp:
- Jan 5, 2010 9:29:31 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 46 edited
-
Doxyfile.Core (modified) (2 diffs)
-
include/iprt/asm.h (modified) (4 diffs)
-
include/iprt/assert.h (modified) (2 diffs)
-
include/iprt/cache.h (modified) (1 diff)
-
include/iprt/cdefs.h (modified) (3 diffs)
-
include/iprt/critsect.h (modified) (3 diffs)
-
include/iprt/dbg.h (modified) (2 diffs)
-
include/iprt/file.h (modified) (3 diffs)
-
include/iprt/handletable.h (modified) (2 diffs)
-
include/iprt/initterm.h (modified) (1 diff)
-
include/iprt/linux/sysfs.h (modified) (1 diff)
-
include/iprt/localipc.h (modified) (2 diffs)
-
include/iprt/lockvalidator.h (modified) (3 diffs)
-
include/iprt/mem.h (modified) (7 diffs)
-
include/iprt/net.h (modified) (1 diff)
-
include/iprt/path.h (modified) (2 diffs)
-
include/iprt/rand.h (modified) (1 diff)
-
include/iprt/s3.h (modified) (1 diff)
-
include/iprt/semaphore.h (modified) (2 diffs)
-
include/iprt/test.h (modified) (6 diffs)
-
include/iprt/types.h (modified) (2 diffs)
-
include/iprt/uuid.h (modified) (3 diffs)
-
src/VBox/Runtime/Doxyfile (modified) (4 diffs)
-
src/VBox/Runtime/Makefile.kmk (modified) (1 diff)
-
src/VBox/Runtime/VBox/strformat-vbox.cpp (modified) (2 diffs)
-
src/VBox/Runtime/common/checksum/ipv4.cpp (modified) (4 diffs)
-
src/VBox/Runtime/common/dbg/dbgas.cpp (modified) (4 diffs)
-
src/VBox/Runtime/common/dbg/dbgmod.cpp (modified) (1 diff)
-
src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp (modified) (1 diff)
-
src/VBox/Runtime/common/dbg/dbgmodnm.cpp (modified) (1 diff)
-
src/VBox/Runtime/common/misc/cache.cpp (modified) (1 diff)
-
src/VBox/Runtime/common/misc/lockvalidator.cpp (modified) (2 diffs)
-
src/VBox/Runtime/common/misc/s3.cpp (modified) (4 diffs)
-
src/VBox/Runtime/common/misc/thread.cpp (modified) (2 diffs)
-
src/VBox/Runtime/common/path/RTPathParse.cpp (modified) (2 diffs)
-
src/VBox/Runtime/common/string/strformatrt.cpp (modified) (2 diffs)
-
src/VBox/Runtime/include/internal/dbgmod.h (modified) (3 diffs)
-
src/VBox/Runtime/include/internal/rand.h (modified) (3 diffs)
-
src/VBox/Runtime/r0drv/nt/timer-r0drv-nt.cpp (modified) (1 diff)
-
src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp (modified) (1 diff)
-
src/VBox/Runtime/r3/linux/fileaio-linux.cpp (modified) (1 diff)
-
src/VBox/Runtime/r3/posix/fileaio-posix.cpp (modified) (1 diff)
-
src/VBox/Runtime/r3/solaris/fileaio-solaris.cpp (modified) (1 diff)
-
src/VBox/Runtime/r3/test.cpp (modified) (5 diffs)
-
src/VBox/Runtime/r3/win/fileaio-win.cpp (modified) (1 diff)
-
src/VBox/Runtime/r3/xml.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Doxyfile.Core
r25642 r25645 434 434 PREDEFINED += HCPTRTYPE(HCType)=HCType 435 435 PREDEFINED += R3R0PTRTYPE(R3R0Type)=R3R0Type 436 # Compile assertion hacks. 437 PREDEFINED += \ 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) 436 445 # COM/XPCOM hacks. 437 446 PREDEFINED += STDMETHODIMP=HRESULT … … 519 528 DECLR0CALLBACKMEMBER \ 520 529 DECLINLINE \ 530 DECL_FORCE_INLINE \ 531 DECLHIDDEN \ 521 532 CTXSUFF \ 522 533 OTHERCTXSUFF \ -
trunk/include/iprt/asm.h
r25496 r25645 34 34 #include <iprt/types.h> 35 35 #include <iprt/assert.h> 36 /** @todo #include <iprt/param.h>for PAGE_SIZE. */36 /** @todo @code #include <iprt/param.h> @endcode for PAGE_SIZE. */ 37 37 /** @def RT_INLINE_ASM_USES_INTRIN 38 38 * Defined as 1 if we're using a _MSC_VER 1400. … … 1049 1049 * @returns Model. 1050 1050 * @param uEAX EAX from ASMCpuId(1) or ASMCpuId(0x80000001). 1051 * @param fIntel Whether it's an intel CPU.1052 1051 */ 1053 1052 DECLINLINE(uint32_t) ASMGetCpuModelIntel(uint32_t uEAX) … … 1064 1063 * @returns Model. 1065 1064 * @param uEAX EAX from ASMCpuId(1) or ASMCpuId(0x80000001). 1066 * @param fIntel Whether it's an intel CPU.1067 1065 */ 1068 1066 DECLINLINE(uint32_t) ASMGetCpuModelAMD(uint32_t uEAX) … … 3689 3687 * 3690 3688 * @returns The old value. 3691 * @param p u32 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 */ 3692 DECLINLINE(uint32_t) ASMAtomicSubU32(int32_t volatile *pi32, uint32_t i32) 3693 { 3694 return ASMAtomicAddU32((uint32_t volatile *)pi32, (uint32_t)-(int32_t)i32); 3697 3695 } 3698 3696 -
trunk/include/iprt/assert.h
r25548 r25645 137 137 RTDECL(void) RTAssertMsg2Add(const char *pszFormat, ...); 138 138 /** 139 * Weak version of RTAssertMsg Add2that forwards to RTAssertMsg2AddWeakV.139 * Weak version of RTAssertMsg2Add that forwards to RTAssertMsg2AddWeakV. 140 140 * 141 141 * There is not need to override this, check out RTAssertMsg2AddWeakV instead! 142 142 * 143 * @copydoc RTAssertMsg Add2143 * @copydoc RTAssertMsg2Add 144 144 */ 145 145 RTDECL(void) RTAssertMsg2AddWeak(const char *pszFormat, ...); … … 434 434 #endif 435 435 436 /** @def rtAssertPanic()436 /** @def RTAssertPanic() 437 437 * If RT_STRICT is defined this macro will invoke RTAssertDoPanic if 438 438 * RTAssertShouldPanic returns true. If RT_STRICT isn't defined it won't do any -
trunk/include/iprt/cache.h
r20374 r25645 104 104 * 105 105 * @returns iprt status code. 106 * @param pp ObjCacheWhere 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 bytes110 * @param fProt Protection flags for protecting cache against concurrent access111 * 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. 114 114 */ 115 115 RTDECL(int) RTCacheCreate(PRTOBJCACHE *ppCache, uint32_t cElements, size_t cbElement, uint32_t fProt); -
trunk/include/iprt/cdefs.h
r25475 r25645 465 465 * between R3, R0 and/or RC. The intention is to avoid the \#ifdef IN_RC mess. 466 466 * 467 * @param pR 0String The RC string. Only referenced in RC.467 * @param pRCString The RC string. Only referenced in RC. 468 468 * @see R3STRING, R0STRING 469 469 */ … … 568 568 * @param type The return type of the function or the data type of the variable. 569 569 */ 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) 571 571 # define DECLHIDDEN(type) type 572 572 #else … … 1098 1098 * Convert a pointer to a structure member into a pointer to the structure. 1099 1099 * @returns pointer to the structure. 1100 * @param pMem berPointer to the member.1100 * @param pMem Pointer to the member. 1101 1101 * @param Type Strucutre type. 1102 1102 * @param Member Member name. -
trunk/include/iprt/critsect.h
r25607 r25645 138 138 * @param pCritSect The critical section. 139 139 * @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. 141 143 */ 142 144 RTDECL(int) RTCritSectEnterDebug(PRTCRITSECT pCritSect, RTHCUINTPTR uId, RT_SRC_POS_DECL); … … 164 166 * @param pCritSect The critical section. 165 167 * @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. 167 171 */ 168 172 RTDECL(int) RTCritSectTryEnterDebug(PRTCRITSECT pCritSect, RTHCUINTPTR uId, RT_SRC_POS_DECL); … … 197 201 * @param papCritSects Array of critical section pointers. 198 202 * @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. 200 206 * 201 207 * @remark See RTCritSectEnterMultiple(). -
trunk/include/iprt/dbg.h
r22116 r25645 512 512 * @param poffDisp Where to return the distance between the symbol 513 513 * and address. Optional. 514 * @param pSym InfoWhere to return the symbol info.514 * @param pSymbol Where to return the symbol info. 515 515 * @param phMod Where to return the module handle. Optional. 516 516 */ 517 RTDECL(int) RTDbgAsSymbolByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL pSym Info, PRTDBGMOD phMod);517 RTDECL(int) RTDbgAsSymbolByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod); 518 518 519 519 /** … … 1100 1100 * specified address and the returned symbol. 1101 1101 * Optional. 1102 * @param p SymInfo Where to store the symbolinformation.1102 * @param pLineInfo Where to store the line number information. 1103 1103 */ 1104 1104 RTDECL(int) RTDbgModLineByAddr(RTDBGMOD hDbgMod, RTDBGSEGIDX iSeg, RTUINTPTR off, PRTINTPTR poffDisp, PRTDBGLINE pLineInfo); -
trunk/include/iprt/file.h
r24889 r25645 260 260 * 261 261 * @return The native handle. 262 * @param sFile The IPRT file handle.262 * @param File The IPRT file handle. 263 263 */ 264 264 RTR3DECL(RTHCINTPTR) RTFileToNative(RTFILE File); … … 1035 1035 * @param hFile The file to write to. 1036 1036 * @param off The offset to start writing at. 1037 * @param pvBuf Where to store the written bits.1038 * @param cb ReadNumber of bytes to write.1037 * @param pvBuf The bits to write. 1038 * @param cbWrite Number of bytes to write. 1039 1039 * @param pvUser Opaque user data associated with this request which 1040 1040 * can be retrieved with RTFileAioReqGetUser(). 1041 1041 */ 1042 1042 RTDECL(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); 1044 1044 1045 1045 /** … … 1094 1094 * requests. 1095 1095 */ 1096 RTDECL(int) RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfer ed);1096 RTDECL(int) RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransferred); 1097 1097 1098 1098 -
trunk/include/iprt/handletable.h
r20374 r25645 113 113 * location phHandleTable points at. 114 114 * 115 * @param p HandleTableWhere to store the handle table handle on success.115 * @param phHandleTable Where to store the handle table handle on success. 116 116 * @param fFlags Flags, see RTHANDLETABLE_FLAGS_*. 117 117 * @param uBase The handle base value. This is the value of the … … 136 136 * @returns IPRT status code and *phHandleTable. 137 137 * 138 * @param p HandleTableWhere to store the handle table handle on success.138 * @param phHandleTable Where to store the handle table handle on success. 139 139 */ 140 140 RTDECL(int) RTHandleTableCreate(PRTHANDLETABLE phHandleTable); -
trunk/include/iprt/initterm.h
r24179 r25645 57 57 * 58 58 * @returns IPRT status code. 59 * @param pszProgramPath The path to the program file.60 59 * 61 60 * @remarks Failure to initialize SUPLib is ignored. -
trunk/include/iprt/linux/sysfs.h
r23332 r25645 40 40 RT_C_DECLS_BEGIN 41 41 42 /** @defgroup grp_rt_ mpRTLinuxSysfs - Linux sysfs42 /** @defgroup grp_rt_linux_sysfs RTLinuxSysfs - Linux sysfs 43 43 * @ingroup grp_rt 44 44 * @{ -
trunk/include/iprt/localipc.h
r20374 r25645 123 123 * 124 124 * @returns IPRT status code. 125 * @ paramVINF_SUCCESS on success and *phSession holding the session handle.125 * @retval VINF_SUCCESS on success and *phSession holding the session handle. 126 126 * 127 127 * @param phSession Where to store the sesson handle on success. … … 270 270 * @param pGid Where to store the group ID on success. 271 271 */ 272 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRT UID pUid);272 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTGID pGid); 273 273 274 274 /** @} */ -
trunk/include/iprt/lockvalidator.h
r25638 r25645 37 37 38 38 39 /** @defgroup grp_ ldrRTLockValidator - Lock Validator39 /** @defgroup grp_rtlockval RTLockValidator - Lock Validator 40 40 * @ingroup grp_rt 41 41 * @{ … … 572 572 * Removes all current owners and makes hThread the only owner. 573 573 * 574 * @param pRe adThe validator record.574 * @param pRec The validator record. 575 575 * @param hThread The thread handle of the owner. NIL_RTTHREAD is 576 576 * an alias for the current thread. … … 585 585 * acquiring the lock in shared mode. 586 586 * 587 * @param pRe adThe validator record.587 * @param pRec The validator record. 588 588 * @param hThread The thread handle of the owner. NIL_RTTHREAD is 589 589 * an alias for the current thread. -
trunk/include/iprt/mem.h
r25347 r25645 265 265 * 266 266 * @param pvDst The kernel mode destination address. 267 * @param R3Ptr DstThe user mode source address.267 * @param R3PtrSrc The user mode source address. 268 268 * @param cb The number of bytes to copy. 269 269 */ … … 446 446 * chokes on it with an internal compiler error. 447 447 * 448 * @ paramT The data type that's being managed.448 * @tparam T The data type that's being managed. 449 449 * @param aMem Pointer to the memory that should be free. 450 450 */ … … 477 477 * chokes on it with an internal compiler error. 478 478 * 479 * @ paramT The data type that's being managed.479 * @tparam T The data type that's being managed. 480 480 * @param aMem Pointer to the memory that should be free. 481 481 */ … … 494 494 * chokes on it with an internal compiler error. 495 495 * 496 * @ paramT The data type that's being managed.496 * @tparam T The data type that's being managed. 497 497 * @param aMem Pointer to the memory that should be free. 498 498 */ … … 508 508 * for RTAutoRes. 509 509 * 510 * @ paramT The data type that's being managed.510 * @tparam T The data type that's being managed. 511 511 * @returns NULL with the right type. 512 512 */ … … 529 529 * you hand it. 530 530 * 531 * @ paramT The data type to manage allocations for.532 * @ paramDestruct 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. 533 533 * This will default to RTMemFree. 534 * @ paramAllocator The function to be used to allocate or reallocate534 * @tparam Allocator The function to be used to allocate or reallocate 535 535 * the managed memory. 536 536 * This is standard realloc() like stuff, so it's possible … … 643 643 * @retval false on failure, no memory is associated with the object. 644 644 * 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 times647 * the size of the data type - this is currently what's passed648 * 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. 649 649 * This defaults to 1. 650 650 */ -
trunk/include/iprt/net.h
r20374 r25645 417 417 /** 418 418 * IPv4 DHCP packet. 419 * @ obsoleteUse RTNETBOOTP.419 * @deprecated Use RTNETBOOTP. 420 420 */ 421 421 #pragma pack(1) -
trunk/include/iprt/path.h
r23294 r25645 269 269 * 270 270 * @param pszPath Path to find filename in. 271 * @param pc bDir Where to put the length of the directory component.272 * Ifno 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. 273 273 * @param poffName Where to store the filename offset. 274 274 * If empty string or if it's ending with a slash this … … 277 277 * If empty string or if it's ending with a slash this 278 278 * will be set to -1. Optional. 279 * @param pfFlags Where to set flags returning more information about280 * the path. For the future. Optional.281 279 */ 282 280 RTDECL(size_t) RTPathParse(const char *pszPath, size_t *pcchDir, ssize_t *poffName, ssize_t *poffSuff); -
trunk/include/iprt/rand.h
r20374 r25645 118 118 * 119 119 * @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. 121 122 */ 122 123 RTDECL(int) RTRandAdvCreate(PRTRAND phRand) RT_NO_THROW; -
trunk/include/iprt/s3.h
r21757 r25645 265 265 * @param pszFilename Name of the file to upload the content of. 266 266 */ 267 RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFile Name);267 RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFilename); 268 268 269 269 /** @} */ -
trunk/include/iprt/semaphore.h
r25640 r25645 250 250 251 251 252 /** @defgroup grp_rt_sems_mutex RT Mutex - Mutex semaphores.252 /** @defgroup grp_rt_sems_mutex RTSemMutex - Mutex semaphores. 253 253 * 254 254 * Mutex semaphores protect a section of code or data to which access must be … … 661 661 * from. Optional. 662 662 */ 663 RTDECL(int) RTSemRWRequestWriteDebug(RTSEMRW MutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);663 RTDECL(int) RTSemRWRequestWriteDebug(RTSEMRW RWSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL); 664 664 665 665 /** -
trunk/include/iprt/test.h
r25599 r25645 244 244 * @param va Arguments for the reason format string. 245 245 */ 246 RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReason , va_list va);246 RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReasonFmt, va_list va); 247 247 248 248 /** … … 253 253 * associated with the calling thread. 254 254 * @param pszReasonFmt Text explaining why, optional (NULL). 255 * @param vaArguments for the reason format string.256 */ 257 RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReason , ...);255 * @param ... Arguments for the reason format string. 256 */ 257 RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReasonFmt, ...); 258 258 259 259 /** … … 292 292 * associated with the calling thread. 293 293 * @param pszSubTestFmt The sub-test name format string. 294 * @param ...Arguments.294 * @param va Arguments. 295 295 */ 296 296 RTR3DECL(int) RTTestSubV(RTTEST hTest, const char *pszSubTestFmt, va_list va); … … 380 380 * @param hTest The test handle. If NIL_RTTEST we'll use the one 381 381 * associated with the calling thread. 382 * @param enmLevel Message importance level.383 382 * @param pszFormat The message. 384 383 * @param va Arguments. … … 392 391 * @param hTest The test handle. If NIL_RTTEST we'll use the one 393 392 * associated with the calling thread. 394 * @param enmLevel Message importance level.395 393 * @param pszFormat The message. 396 394 * @param ... Arguments. … … 668 666 * @returns Number of chars printed. 669 667 * @param pszSubTestFmt The sub-test name format string. 670 * @param ...Arguments.668 * @param va Arguments. 671 669 */ 672 670 RTR3DECL(int) RTTestISubV(const char *pszSubTestFmt, va_list va); -
trunk/include/iprt/types.h
r25607 r25645 1026 1026 /** Raw mode context pointer, unsigned integer variant. */ 1027 1027 typedef int32_t RTRCINTPTR; 1028 /** @def RTRCUIN PTR_MAX1028 /** @def RTRCUINTPTR_MAX 1029 1029 * The maximum value a RTRCUINPTR can have. 1030 1030 */ … … 1033 1033 /** Raw mode context pointer, signed integer variant. */ 1034 1034 typedef uint32_t RTRCUINTPTR; 1035 /** @def RTRCIN PTR_MIN1035 /** @def RTRCINTPTR_MIN 1036 1036 * The minimum value a RTRCINPTR can have. 1037 1037 */ 1038 1038 #define RTRCINTPTR_MIN ((RTRCINTPTR)INT32_MIN) 1039 /** @def RTRCIN PTR_MAX1039 /** @def RTRCINTPTR_MAX 1040 1040 * The maximum value a RTRCINPTR can have. 1041 1041 */ -
trunk/include/iprt/uuid.h
r20374 r25645 77 77 * 78 78 * @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. 81 83 */ 82 84 RTDECL(int) RTUuidCompare(PCRTUUID pUuid1, PCRTUUID pUuid2); … … 87 89 * @note IPRT uses little endian byte ordering in the UUID integer fields. If 88 90 * 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 * needto convert the first three integer fields (one 32 bit value, two 16 bit91 * 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 91 93 * values) separately to big endian (also called network byte order). 92 94 * Correspondingly, if you want to get the right result with UUIDs which are in … … 96 98 * 97 99 * @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. 100 103 */ 101 104 RTDECL(int) RTUuidCompareStr(PCRTUUID pUuid1, const char *pszString); -
trunk/src/VBox/Runtime/Doxyfile
r25642 r25645 1175 1175 RTDECL(type)=type \ 1176 1176 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 \ 1180 1189 1181 1190 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then … … 1200 1209 DECLEXPORT \ 1201 1210 DECLIMPORT \ 1211 DECLHIDDEN \ 1202 1212 DECLASM \ 1203 1213 DECLASMTYPE \ … … 1208 1218 DECLR3CALLBACKMEMBER \ 1209 1219 DECLR0CALLBACKMEMBER \ 1210 DECLINLINE \1211 1220 RTR3DECL \ 1212 1221 RTR0DECL \ … … 1220 1229 CTXMID \ 1221 1230 OTHERCTXMID \ 1231 \ 1232 RT_SRC_POS \ 1233 RT_SRC_POS_ARGS \ 1234 RT_SRC_POS_DECL 1235 1222 1236 1223 1237 # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -
trunk/src/VBox/Runtime/Makefile.kmk
r25638 r25645 1727 1727 IPRT_DOXYFILE_INPUT_DIRS = \ 1728 1728 $(PATH_ROOT)/include/iprt \ 1729 $(PATH_ROOT)/include/iprt/cpp \ 1730 $(PATH_ROOT)/include/iprt/linux \ 1729 1731 $(PATH_ROOT)/include/iprt/nocrt \ 1730 1732 $(PATH_ROOT)/include/iprt/nocrt/x86 \ 1731 1733 $(PATH_ROOT)/include/iprt/nocrt/amd64 \ 1734 $(PATH_ROOT)/include/iprt/nocrt/compiler \ 1732 1735 $(VBOX_PATH_RUNTIME_SRC)/include/internal \ 1733 1736 $(VBOX_PATH_RUNTIME_SRC)/common/alloc \ 1737 $(VBOX_PATH_RUNTIME_SRC)/common/asm \ 1734 1738 $(VBOX_PATH_RUNTIME_SRC)/common/checksum \ 1739 $(VBOX_PATH_RUNTIME_SRC)/common/dbg \ 1735 1740 $(VBOX_PATH_RUNTIME_SRC)/common/err \ 1736 1741 $(VBOX_PATH_RUNTIME_SRC)/common/ldr \ 1737 1742 $(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 \ 1738 1747 $(VBOX_PATH_RUNTIME_SRC)/common/misc \ 1748 $(VBOX_PATH_RUNTIME_SRC)/common/path \ 1749 $(VBOX_PATH_RUNTIME_SRC)/common/rand \ 1739 1750 $(VBOX_PATH_RUNTIME_SRC)/common/string \ 1740 1751 $(VBOX_PATH_RUNTIME_SRC)/common/table \ -
trunk/src/VBox/Runtime/VBox/strformat-vbox.cpp
r25000 r25645 27 27 * Clara, CA 95054 USA or visit http://www.sun.com if you need 28 28 * additional information or have any questions. 29 */30 31 /** @page pg_rt_str_format_vbox The VBox String Format Extensions32 *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 number35 * of VBox specific format types. Most of these doesn't work with any flags (like36 * 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 the41 * status code define corresponding to the iprt status code.42 * - \%Vrs - Takes an integer iprt status code as argument. Will insert the43 * short description of the specified status code.44 * - \%Vrf - Takes an integer iprt status code as argument. Will insert the45 * full description of the specified status code.46 * - \%Vra - Takes an integer iprt status code as argument. Will insert the47 * status code define + full description.48 * - \%Vt - Current thread (RTThreadSelf()).49 * - \%Vhxd - Takes a pointer to the memory which is to be dumped in typical50 * hex format. Use the width to specify the length, and the precision to51 * 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 *64 29 */ 65 30 … … 80 45 /** 81 46 * 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! 83 50 * 84 51 * @returns The number of bytes formatted. -
trunk/src/VBox/Runtime/common/checksum/ipv4.cpp
r21337 r25645 228 228 * 229 229 * @returns 32-bit intermediary checksum value. 230 * @param p UdpHdr Pointer to the TCP header to checksum, network endian (big).231 * Assums the caller has already validate it and made sure the232 * 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. 233 233 * @param u32Sum The 32-bit intermediate checksum value. 234 234 */ … … 274 274 * 275 275 * @returns 32-bit intermediary checksum value. 276 * @param p UdpHdr Pointer to the TCP header to checksum, network endian (big).277 * Assums the caller has already validate it and made sure the278 * 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. 279 279 * @param u32Sum The 32-bit intermediate checksum value. 280 280 */ … … 290 290 * 291 291 * @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. 293 294 * @param u32Sum The 32-bit intermediate checksum value. 294 295 * @param pfOdd This is used to keep track of odd bits, initialize to false … … 342 343 * 343 344 * @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. 345 347 * @param u32Sum The 32-bit intermediate checksum value. 346 348 * @param pfOdd This is used to keep track of odd bits, initialize to false -
trunk/src/VBox/Runtime/common/dbg/dbgas.cpp
r23022 r25645 1167 1167 * Adjusts the address to correspond to the mapping of the module/segment. 1168 1168 * 1169 * @param p Symbol 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. 1171 1171 * @param hDbgMod The module handle. 1172 1172 * @param MapAddr The mapping address. … … 1259 1259 * @param cb The size of the symbol. 1260 1260 * @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 1261 1264 */ 1262 1265 RTDECL(int) RTDbgAsSymbolAdd(RTDBGAS hDbgAs, const char *pszSymbol, RTUINTPTR Addr, RTUINTPTR cb, uint32_t fFlags, uint32_t *piOrdinal) … … 1343 1346 * @param poffDisp Where to return the distance between the symbol 1344 1347 * and address. Optional. 1345 * @param ppSym bol Where to return the pointer to the allocated1346 * symbolinfo. Always set. Free with RTDbgSymbolFree.1348 * @param ppSymInfo Where to return the pointer to the allocated symbol 1349 * info. Always set. Free with RTDbgSymbolFree. 1347 1350 * @param phMod Where to return the module handle. Optional. 1348 1351 */ 1349 RTDECL(int) RTDbgAsSymbolByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL *ppSym bol, PRTDBGMOD phMod)1352 RTDECL(int) RTDbgAsSymbolByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL *ppSymInfo, PRTDBGMOD phMod) 1350 1353 { 1351 1354 /* … … 1369 1372 * Forward the call. 1370 1373 */ 1371 int rc = RTDbgModSymbolByAddrA(hMod, iSeg, offSeg, poffDisp, ppSym bol);1374 int rc = RTDbgModSymbolByAddrA(hMod, iSeg, offSeg, poffDisp, ppSymInfo); 1372 1375 if (RT_SUCCESS(rc)) 1373 rtDbgAsAdjustSymbolValue(*ppSym bol, hMod, MapAddr, iSeg);1376 rtDbgAsAdjustSymbolValue(*ppSymInfo, hMod, MapAddr, iSeg); 1374 1377 if (phMod) 1375 1378 *phMod = hMod; -
trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp
r22114 r25645 1291 1291 * specified address and the returned symbol. 1292 1292 * Optional. 1293 * @param p SymInfo Where to store the symbolinformation.1293 * @param pLineInfo Where to store the line number information. 1294 1294 */ 1295 1295 RTDECL(int) RTDbgModLineByAddr(RTDBGMOD hDbgMod, RTDBGSEGIDX iSeg, RTUINTPTR off, PRTINTPTR poffDisp, PRTDBGLINE pLineInfo) -
trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp
r22111 r25645 530 530 531 531 532 /** @copydoc RTDBGMODVTDBG::pfn RvaToSegOff*/532 /** @copydoc RTDBGMODVTDBG::pfnImageSize */ 533 533 static DECLCALLBACK(RTUINTPTR) rtDbgModContainer_ImageSize(PRTDBGMODINT pMod) 534 534 { -
trunk/src/VBox/Runtime/common/dbg/dbgmodnm.cpp
r21337 r25645 162 162 163 163 164 /** @copydoc RTDBGMODVTDBG::pfn RvaToSegOff*/164 /** @copydoc RTDBGMODVTDBG::pfnImageSize */ 165 165 static DECLCALLBACK(RTUINTPTR) rtDbgModNm_ImageSize(PRTDBGMODINT pMod) 166 166 { -
trunk/src/VBox/Runtime/common/misc/cache.cpp
r24181 r25645 50 50 * 51 51 * @returns iprt status code. 52 * @param pp ObjCacheWhere 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 bytes56 * @param fProt Protection flags for protecting cache against concurrent access57 * from different threads.58 * RTOBJCACHE_PROTECT_REQUESTERto 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. 60 60 */ 61 61 RTDECL(int) RTCacheCreate(PRTOBJCACHE *ppCache, uint32_t cElements, size_t cbElement, uint32_t fProt) -
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r25638 r25645 188 188 * Launch a simple assertion like complaint w/ panic. 189 189 * 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. 191 193 * @param pszWhat What we're complaining about. 192 194 * @param ... Format arguments. … … 211 213 * 212 214 * @param pszPrefix Message prefix. 213 * @param RecThe lock record we're working on.214 * @param psz Prefix Message suffix.215 * @param pRec The lock record we're working on. 216 * @param pszSuffix Message suffix. 215 217 */ 216 218 static void rtLockValidatorComplainAboutLock(const char *pszPrefix, PRTLOCKVALRECUNION pRec, const char *pszSuffix) -
trunk/src/VBox/Runtime/common/misc/s3.cpp
r23973 r25645 863 863 } 864 864 865 RTR3DECL(int) RTS3GetKey(RTS3 hS3, const char * pszBucketName, const char* pszKeyName, const char* pszFileName)865 RTR3DECL(int) RTS3GetKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFilename) 866 866 { 867 867 PRTS3INTERNAL pS3Int = hS3; … … 873 873 /* Open the file */ 874 874 RTFILE hFile; 875 int rc = RTFileOpen(&hFile, pszFile Name, 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); 876 876 if (RT_FAILURE(rc)) 877 877 return rc; … … 916 916 /* If there was an error delete the newly created file */ 917 917 if (RT_FAILURE(rc)) 918 RTFileDelete(pszFile Name);918 RTFileDelete(pszFilename); 919 919 920 920 return rc; 921 921 } 922 922 923 RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char * pszBucketName, const char* pszKeyName, const char* pszFileName)923 RTR3DECL(int) RTS3PutKey(RTS3 hS3, const char *pszBucketName, const char *pszKeyName, const char *pszFilename) 924 924 { 925 925 PRTS3INTERNAL pS3Int = hS3; … … 931 931 /* Open the file */ 932 932 RTFILE hFile; 933 int rc = RTFileOpen(&hFile, pszFile Name, 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); 934 934 if (RT_FAILURE(rc)) 935 935 return rc; -
trunk/src/VBox/Runtime/common/misc/thread.cpp
r25638 r25645 779 779 * @param enmType See RTThreadCreate. 780 780 * @param fFlags See RTThreadCreate. 781 * @param pszName Thread name format.781 * @param pszNameFmt Thread name format. 782 782 * @param va Format arguments. 783 783 */ … … 804 804 * @param enmType See RTThreadCreate. 805 805 * @param fFlags See RTThreadCreate. 806 * @param pszName Thread name format.806 * @param pszNameFmt Thread name format. 807 807 * @param ... Format arguments. 808 808 */ -
trunk/src/VBox/Runtime/common/path/RTPathParse.cpp
r21673 r25645 46 46 * 47 47 * @param pszPath Path to find filename in. 48 * @param pc bDir Where to put the length of the directory component.49 * Ifno 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. 50 50 * @param poffName Where to store the filename offset. 51 51 * If empty string or if it's ending with a slash this … … 54 54 * If empty string or if it's ending with a slash this 55 55 * will be set to -1. Optional. 56 * @param pfFlags Where to set flags returning more information about57 * the path. For the future. Optional.58 56 */ 59 57 RTDECL(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 82 82 * - \%RHx - Takes a #RTHCUINT or #RTHCINT value, formatting it as hex. 83 83 * - \%RRv - Takes a #RTRCPTR, #RTRCINTPTR or #RTRCUINTPTR value. 84 * - \%RCi - Takes a #RT CCINT value.84 * - \%RCi - Takes a #RTINT value. 85 85 * - \%RCp - Takes a #RTCCPHYS value. 86 86 * - \%RCr - Takes a #RTCCUINTREG value. … … 233 233 #define STRMEM(str) sizeof(str) - 1, str 234 234 { STRMEM("Ci"), sizeof(RTINT), 10, RTSF_INT, RTSTR_F_VALSIGNED }, 235 { STRMEM("Cp"), sizeof(RT GCPHYS), 16, RTSF_INTW, 0 },235 { STRMEM("Cp"), sizeof(RTCCPHYS), 16, RTSF_INTW, 0 }, 236 236 { STRMEM("Cr"), sizeof(RTCCUINTREG), 16, RTSF_INTW, 0 }, 237 237 { STRMEM("Cu"), sizeof(RTUINT), 10, RTSF_INT, 0 }, -
trunk/src/VBox/Runtime/include/internal/dbgmod.h
r22115 r25645 38 38 RT_C_DECLS_BEGIN 39 39 40 /** @defgroup grp_rt_dbgmod RTDbgMod - Debug Module Interperter 41 * @ingroup grp_rt 40 /** @addtogroup grp_rt_dbgmod 42 41 * @internal 43 42 * @{ … … 224 223 * @param off The offset into the segment. 225 224 * @param cb The area covered by the symbol. 0 is fine. 225 * @param fFlags Flags. 226 226 * @param piOrdinal Where to return the symbol ordinal on success. If the 227 227 * interpreter doesn't do ordinals, this will be set to … … 306 306 * @param pszFile The filename. 307 307 * @param cchFile The length of the filename. 308 * @param uLineNo The line number. 308 309 * @param iSeg The segment number (0-based). 309 310 * @param off The offset into the segment. -
trunk/src/VBox/Runtime/include/internal/rand.h
r20374 r25645 105 105 * @retval VERR_NOT_SUPPORTED by non-psuedo generators. 106 106 * 107 * @param hRand Handle to the random number generator.107 * @param pThis Pointer to the instance data. 108 108 * @param pszState Where to store the state. The returned string will be 109 109 * null terminated and printable. … … 112 112 * terminator, thus the 'cb' instead of 'cch'). 113 113 */ 114 DECLCALLBACKMEMBER(int, pfnSaveState)( RTRAND hRand, char *pszState, size_t *pcbState);114 DECLCALLBACKMEMBER(int, pfnSaveState)(PRTRANDINT pThis, char *pszState, size_t *pcbState); 115 115 116 116 /** … … 123 123 * @retval VERR_NOT_SUPPORTED by non-psuedo generators. 124 124 * 125 * @param hRand Handle to the random number generator.125 * @param pThis Pointer to the instance data. 126 126 * @param pszState The state to load. 127 127 */ 128 DECLCALLBACKMEMBER(int, pfnRestoreState)( RTRAND hRand, char const *pszState);128 DECLCALLBACKMEMBER(int, pfnRestoreState)(PRTRANDINT pThis, char const *pszState); 129 129 130 130 /** -
trunk/src/VBox/Runtime/r0drv/nt/timer-r0drv-nt.cpp
r25528 r25645 107 107 * 108 108 * @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. 110 113 */ 111 114 static 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 224 224 225 225 RTDECL(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) 227 227 { 228 228 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE, 229 off, pvBuf, cbWrite, pvUser);229 off, (void *)pvBuf, cbWrite, pvUser); 230 230 } 231 231 -
trunk/src/VBox/Runtime/r3/linux/fileaio-linux.cpp
r22969 r25645 399 399 400 400 RTDECL(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) 402 402 { 403 403 return rtFileAioReqPrepareTransfer(hReq, hFile, LNXKAIO_IOCB_CMD_WRITE, 404 off, pvBuf, cbWrite, pvUser);404 off, (void *)pvBuf, cbWrite, pvUser); 405 405 } 406 406 -
trunk/src/VBox/Runtime/r3/posix/fileaio-posix.cpp
r25528 r25645 423 423 424 424 RTDECL(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) 426 426 { 427 427 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE, 428 off, pvBuf, cbWrite, pvUser);428 off, (void *)pvBuf, cbWrite, pvUser); 429 429 } 430 430 -
trunk/src/VBox/Runtime/r3/solaris/fileaio-solaris.cpp
r25629 r25645 191 191 192 192 RTDECL(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) 194 194 { 195 195 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE, 196 off, pvBuf, cbWrite, pvUser);196 off, (void *)pvBuf, cbWrite, pvUser); 197 197 } 198 198 -
trunk/src/VBox/Runtime/r3/test.cpp
r25517 r25645 832 832 833 833 834 RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReason , va_list va)834 RTR3DECL(int) RTTestSkipAndDestroyV(RTTEST hTest, const char *pszReasonFmt, va_list va) 835 835 { 836 836 PRTTESTINT pTest = hTest; … … 844 844 if (!pTest->cErrors) 845 845 { 846 if (pszReason )847 RTTestPrintfNlV(hTest, RTTESTLVL_FAILURE, pszReason , va);846 if (pszReasonFmt) 847 RTTestPrintfNlV(hTest, RTTESTLVL_FAILURE, pszReasonFmt, va); 848 848 RTTestPrintfNl(hTest, RTTESTLVL_ALWAYS, "SKIPPED\n", pTest->cErrors); 849 849 rc = 2; … … 860 860 861 861 862 RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReason , ...)862 RTR3DECL(int) RTTestSkipAndDestroy(RTTEST hTest, const char *pszReasonFmt, ...) 863 863 { 864 864 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); 867 867 va_end(va); 868 868 return rc; … … 1129 1129 * @param hTest The test handle. If NIL_RTTEST we'll use the one 1130 1130 * associated with the calling thread. 1131 * @param enmLevel Message importance level.1132 1131 * @param pszFormat The message. 1133 1132 * @param va Arguments. … … 1145 1144 * @param hTest The test handle. If NIL_RTTEST we'll use the one 1146 1145 * associated with the calling thread. 1147 * @param enmLevel Message importance level.1148 1146 * @param pszFormat The message. 1149 1147 * @param ... Arguments. -
trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp
r21494 r25645 212 212 213 213 RTDECL(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) 215 215 { 216 216 return rtFileAioReqPrepareTransfer(hReq, hFile, TRANSFERDIRECTION_WRITE, 217 off, pvBuf, cbWrite, pvUser);217 off, (void *)pvBuf, cbWrite, pvUser); 218 218 } 219 219 -
trunk/src/VBox/Runtime/r3/xml.cpp
r25348 r25645 731 731 * 732 732 * @param pcszMatch name of attribute to find. 733 * @param strout: attribute value733 * @param ppcsz out: attribute value 734 734 * @return TRUE if attribute was found and str was thus updated. 735 735 */ … … 856 856 * 857 857 * @param pcszMatch name of attribute to find. 858 * @param iout: attribute value; overwritten only if attribute was found858 * @param f out: attribute value; overwritten only if attribute was found 859 859 * @return TRUE if attribute was found and str was thus updated. 860 860 */ … … 921 921 * in "this". 922 922 * 923 * @param pcsz ElementName923 * @param pcszContent 924 924 * @return 925 925 */ … … 1078 1078 * ...; 1079 1079 * </code> 1080 * @param node1081 * @param pcszMatch1082 1080 * @return 1083 1081 */ … … 1321 1319 * The document that is passed in will be reset before being filled if not empty. 1322 1320 * 1323 * @param pcszFilename in: name fo file to parse.1321 * @param strFilename in: name fo file to parse. 1324 1322 * @param doc out: document to be reset and filled with data according to file contents. 1325 1323 */
Note:
See TracChangeset
for help on using the changeset viewer.

