Changeset 57944 in vbox
- Timestamp:
- Sep 29, 2015 3:07:09 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102919
- Location:
- trunk
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r57926 r57944 1447 1447 * @param b The 2nd part. 1448 1448 * @param c The 3rd part. 1449 * @param d The 4th part. 1449 1450 */ 1450 1451 #define RT_CONCAT4(a,b,c,d) RT_CONCAT4_HLP(a,b,c,d) -
trunk/include/iprt/cpp/list.h
r56291 r57944 208 208 * This preallocates @a cCapacity elements within the list. 209 209 * 210 * @param cCapacit iyThe initial capacity the list has.210 * @param cCapacity The initial capacity the list has. 211 211 * @throws std::bad_alloc 212 212 */ … … 924 924 * This preallocates @a cCapacity elements within the list. 925 925 * 926 * @param cCapacit iyThe initial capacity the list has.926 * @param cCapacity The initial capacity the list has. 927 927 * @throws std::bad_alloc 928 928 */ … … 955 955 * This preallocates @a cCapacity elements within the list. 956 956 * 957 * @param cCapacit iyThe initial capacity the list has.957 * @param cCapacity The initial capacity the list has. 958 958 * @throws std::bad_alloc 959 959 */ … … 983 983 * This preallocates @a cCapacity elements within the list. 984 984 * 985 * @param cCapacit iyThe initial capacity the list has.985 * @param cCapacity The initial capacity the list has. 986 986 * @throws std::bad_alloc 987 987 */ -
trunk/include/iprt/cpp/ministring.h
r57005 r57944 428 428 * Shortcut to append(), char variant. 429 429 * 430 * @param pszThatThe character to append.430 * @param ch The character to append. 431 431 * 432 432 * @returns Reference to the object. 433 433 */ 434 RTCString &operator+=(char c )435 { 436 return append(c );434 RTCString &operator+=(char ch) 435 { 436 return append(ch); 437 437 } 438 438 … … 603 603 * Compares the member string to another RTCString. 604 604 * 605 * @param pcszThatThe string to compare with.605 * @param rThat The string to compare with. 606 606 * @param cs Whether comparison should be case-sensitive. 607 607 * @returns 0 if equal, negative if this is smaller than @a pcsz, positive 608 608 * if larger. 609 609 */ 610 int compare(const RTCString & that, CaseSensitivity cs = CaseSensitive) const610 int compare(const RTCString &rThat, CaseSensitivity cs = CaseSensitive) const 611 611 { 612 612 if (cs == CaseSensitive) 613 return ::RTStrCmp(m_psz, that.m_psz);614 return ::RTStrICmp(m_psz, that.m_psz);613 return ::RTStrCmp(m_psz, rThat.m_psz); 614 return ::RTStrICmp(m_psz, rThat.m_psz); 615 615 } 616 616 … … 619 619 * 620 620 * @returns true if equal, false if not. 621 * @param that The string to compare with.622 */ 623 bool equals(const RTCString & that) const624 { 625 return that.length() == length()626 && memcmp( that.m_psz, m_psz, length()) == 0;621 * @param rThat The string to compare with. 622 */ 623 bool equals(const RTCString &rThat) const 624 { 625 return rThat.length() == length() 626 && memcmp(rThat.m_psz, m_psz, length()) == 0; 627 627 } 628 628 -
trunk/include/iprt/cpp/mtlist.h
r56291 r57944 101 101 * This preallocates @a cCapacity elements within the list. 102 102 * 103 * @param cCapacit iyThe initial capacity the list has.103 * @param cCapacity The initial capacity the list has. 104 104 * @throws std::bad_alloc 105 105 */ … … 129 129 * This preallocates @a cCapacity elements within the list. 130 130 * 131 * @param cCapacit iyThe initial capacity the list has.131 * @param cCapacity The initial capacity the list has. 132 132 * @throws std::bad_alloc 133 133 */ … … 157 157 * This preallocates @a cCapacity elements within the list. 158 158 * 159 * @param cCapacit iyThe initial capacity the list has.159 * @param cCapacity The initial capacity the list has. 160 160 * @throws std::bad_alloc 161 161 */ -
trunk/include/iprt/cpp/xml.h
r56291 r57944 601 601 * simple path to any decendant. 602 602 * @param pcszAttribute The attribute name. 603 * @param pcszPathNamespace The namespace to match @ pcszPath with, NULL603 * @param pcszPathNamespace The namespace to match @a pcszPath with, NULL 604 604 * (default) match any namespace. When using a 605 605 * path, this matches all elements along the way. 606 * @param pcszAttrib Namespace The namespace prefix to apply to the attribute,607 * NULL (default) match any namespace.606 * @param pcszAttributeNamespace The namespace prefix to apply to the 607 * attribute, NULL (default) match any namespace. 608 608 * @see findChildElementP and findAttributeValue 609 609 */ -
trunk/include/iprt/dbg.h
r57004 r57944 444 444 * @param pvUser2 Second user parameter. 445 445 */ 446 typedef DECLCALLBACK(int) FN DBGCFGOPEN(RTDBGCFG hDbgCfg, const char *pszFilename, void *pvUser1, void *pvUser2);446 typedef DECLCALLBACK(int) FNRTDBGCFGOPEN(RTDBGCFG hDbgCfg, const char *pszFilename, void *pvUser1, void *pvUser2); 447 447 /** Pointer to a open-file callback used to the RTDbgCfgOpen functions. */ 448 typedef FN DBGCFGOPEN *PFNDBGCFGOPEN;448 typedef FNRTDBGCFGOPEN *PFNRTDBGCFGOPEN; 449 449 450 450 451 451 RTDECL(int) RTDbgCfgOpenPeImage(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, 452 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);452 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 453 453 RTDECL(int) RTDbgCfgOpenPdb70(RTDBGCFG hDbgCfg, const char *pszFilename, PCRTUUID pUuid, uint32_t uAge, 454 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);454 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 455 455 RTDECL(int) RTDbgCfgOpenPdb20(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, uint32_t uAge, 456 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);456 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 457 457 RTDECL(int) RTDbgCfgOpenDbg(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, 458 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);458 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 459 459 RTDECL(int) RTDbgCfgOpenDwo(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t uCrc32, 460 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);460 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 461 461 RTDECL(int) RTDbgCfgOpenDsymBundle(RTDBGCFG hDbgCfg, const char *pszFilename, PCRTUUID pUuid, 462 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);462 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 463 463 RTDECL(int) RTDbgCfgOpenMachOImage(RTDBGCFG hDbgCfg, const char *pszFilename, PCRTUUID pUuid, 464 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2);464 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2); 465 465 466 466 -
trunk/include/iprt/getopt.h
r57926 r57944 454 454 * @param ppwszCmdLine Where to return the command line string. This must 455 455 * be freed by calling RTUtf16Free. 456 * @param papszArg sThe argument vector to convert.456 * @param papszArgv The argument vector to convert. 457 457 * @param fFlags A combination of the RTGETOPTARGV_CNV_XXX flags. 458 458 */ -
trunk/include/iprt/ldr.h
r57926 r57944 635 635 * @param pvUser The user argument specified to RTLdrEnumSymbols(). 636 636 */ 637 typedef DECLCALLBACK(int) RTLDRENUMSYMS(RTLDRMOD hLdrMod, const char *pszSymbol, unsigned uSymbol, RTLDRADDR Value, void *pvUser);638 /** Pointer to a RTLDRENUMSYMS() callback function. */639 typedef RTLDRENUMSYMS *PFNRTLDRENUMSYMS;637 typedef DECLCALLBACK(int) FNRTLDRENUMSYMS(RTLDRMOD hLdrMod, const char *pszSymbol, unsigned uSymbol, RTLDRADDR Value, void *pvUser); 638 /** Pointer to a FNRTLDRENUMSYMS() callback function. */ 639 typedef FNRTLDRENUMSYMS *PFNRTLDRENUMSYMS; 640 640 641 641 /** … … 931 931 * 932 932 * @param hLdrMod The module handle. 933 * @param RvaThe segment index.933 * @param iSeg The segment index. 934 934 * @param offSeg The segment offset. 935 935 * @param pRva Where to return the RVA. … … 1071 1071 * Optional. 1072 1072 */ 1073 RTDECL(int) RTLdrQueryPropEx(RTLDRMOD hLdrMod, RTLDRPROP enmProp, void *pvBits, void *pvBuf, size_t cbBuf, size_t *pcb Buf);1073 RTDECL(int) RTLdrQueryPropEx(RTLDRMOD hLdrMod, RTLDRPROP enmProp, void *pvBits, void *pvBuf, size_t cbBuf, size_t *pcbRet); 1074 1074 1075 1075 -
trunk/include/iprt/mem.h
r57926 r57944 721 721 * 722 722 * @param pv Pointer to memory block. 723 * @param SRC_POS The source position where call is being made from. Use 724 * RT_SRC_POS when possible. Optional. 723 725 */ 724 726 RTDECL(void) RTMemEfFree(void *pv, RT_SRC_POS_DECL) RT_NO_THROW_PROTO; -
trunk/include/iprt/sort.h
r56291 r57944 55 55 * @param papvArray The array to sort. 56 56 * @param cElements The number of elements in the array. 57 * @param cbElement sThe size of an array element.57 * @param cbElement The size of an array element. 58 58 * @param pfnCmp Callback function comparing two elements. 59 59 * @param pvUser User argument for the callback. … … 78 78 * Shell sort an array of variable sized elementes. 79 79 * 80 * @param p apvArrayThe array to sort.80 * @param pvArray The array to sort. 81 81 * @param cElements The number of elements in the array. 82 * @param cbElement sThe size of an array element.82 * @param cbElement The size of an array element. 83 83 * @param pfnCmp Callback function comparing two elements. 84 84 * @param pvUser User argument for the callback. … … 101 101 * 102 102 * @returns true if it is sorted, false if it isn't. 103 * @param p apvArrayThe array to check.103 * @param pvArray The array to check. 104 104 * @param cElements The number of elements in the array. 105 * @param cbElement sThe size of an array element.105 * @param cbElement The size of an array element. 106 106 * @param pfnCmp Callback function comparing two elements. 107 107 * @param pvUser User argument for the callback. -
trunk/include/iprt/tcp.h
r53615 r57944 53 53 * @returns VERR_TCP_SERVER_STOP to terminate the server loop forcing 54 54 * the RTTcpCreateServer() call to return. 55 * @param Sock The socket which the client is connected to.56 * The callwill close this socket.55 * @param hSocket The socket which the client is connected to. The call 56 * will close this socket. 57 57 * @param pvUser User argument. 58 58 */ 59 typedef DECLCALLBACK(int) FNRTTCPSERVE(RTSOCKET Sock, void *pvUser);59 typedef DECLCALLBACK(int) FNRTTCPSERVE(RTSOCKET hSocket, void *pvUser); 60 60 /** Pointer to a RTTCPSERVE(). */ 61 61 typedef FNRTTCPSERVE *PFNRTTCPSERVE; … … 213 213 * 214 214 * @returns iprt status code. 215 * @param SockSocket descriptor.216 */ 217 RTR3DECL(int) RTTcpClientClose(RTSOCKET Sock);215 * @param hSocket Socket descriptor. 216 */ 217 RTR3DECL(int) RTTcpClientClose(RTSOCKET hSocket); 218 218 219 219 /** … … 228 228 * further ado. 229 229 */ 230 RTR3DECL(int) RTTcpClientCloseEx(RTSOCKET Sock, bool fGracefulShutdown);230 RTR3DECL(int) RTTcpClientCloseEx(RTSOCKET hSocket, bool fGracefulShutdown); 231 231 232 232 /** … … 234 234 * 235 235 * @returns iprt status code. 236 * @param SockSocket descriptor.236 * @param hSocket Socket descriptor. 237 237 * @param pvBuffer Where to put the data we read. 238 238 * @param cbBuffer Read buffer size. … … 241 241 * If not NULL a partial read can be done successfully. 242 242 */ 243 RTR3DECL(int) RTTcpRead(RTSOCKET Sock, void *pvBuffer, size_t cbBuffer, size_t *pcbRead);243 RTR3DECL(int) RTTcpRead(RTSOCKET hSocket, void *pvBuffer, size_t cbBuffer, size_t *pcbRead); 244 244 245 245 /** … … 249 249 * @retval VERR_INTERRUPTED if interrupted before anything was written. 250 250 * 251 * @param SockSocket descriptor.251 * @param hSocket Socket descriptor. 252 252 * @param pvBuffer Buffer to write data to socket. 253 253 * @param cbBuffer How much to write. 254 254 */ 255 RTR3DECL(int) RTTcpWrite(RTSOCKET Sock, const void *pvBuffer, size_t cbBuffer);255 RTR3DECL(int) RTTcpWrite(RTSOCKET hSocket, const void *pvBuffer, size_t cbBuffer); 256 256 257 257 /** … … 259 259 * 260 260 * @returns iprt status code. 261 * @param SockSocket descriptor.262 */ 263 RTR3DECL(int) RTTcpFlush(RTSOCKET Sock);261 * @param hSocket Socket descriptor. 262 */ 263 RTR3DECL(int) RTTcpFlush(RTSOCKET hSocket); 264 264 265 265 /** … … 270 270 * 271 271 * @returns iprt status code. 272 * @param SockSocket descriptor.272 * @param hSocket Socket descriptor. 273 273 * @param fEnable When set to true enables coalescing. 274 274 */ 275 RTR3DECL(int) RTTcpSetSendCoalescing(RTSOCKET Sock, bool fEnable);275 RTR3DECL(int) RTTcpSetSendCoalescing(RTSOCKET hSocket, bool fEnable); 276 276 277 277 /** … … 280 280 * 281 281 * @returns iprt status code. 282 * @param SockSocket descriptor.282 * @param hSocket Socket descriptor. 283 283 * @param cMillies Number of milliseconds to wait for the socket. 284 284 * Use RT_INDEFINITE_WAIT to wait for ever. 285 285 */ 286 RTR3DECL(int) RTTcpSelectOne(RTSOCKET Sock, RTMSINTERVAL cMillies);286 RTR3DECL(int) RTTcpSelectOne(RTSOCKET hSocket, RTMSINTERVAL cMillies); 287 287 288 288 /** … … 291 291 * 292 292 * @returns iprt status code. 293 * @param SockSocket descriptor.293 * @param hSocket Socket descriptor. 294 294 * @param fEvents Event mask to wait for. 295 295 * Use the RTSOCKET_EVT_* defines. … … 298 298 * Use RT_INDEFINITE_WAIT to wait for ever. 299 299 */ 300 RTR3DECL(int) RTTcpSelectOneEx(RTSOCKET Sock, uint32_t fEvents, uint32_t *pfEvents, 301 RTMSINTERVAL cMillies); 300 RTR3DECL(int) RTTcpSelectOneEx(RTSOCKET hSocket, uint32_t fEvents, uint32_t *pfEvents, RTMSINTERVAL cMillies); 302 301 303 302 #if 0 /* skipping these for now - RTTcpServer* handles this. */ … … 306 305 * 307 306 * @returns iprt status code. 308 * @param SockSocket descriptor.307 * @param hSocket Socket descriptor. 309 308 * @param cBackLog The maximum length the queue of pending connections 310 309 * may grow to. 311 310 */ 312 RTR3DECL(int) RTTcpListen(RTSOCKET Sock, int cBackLog);311 RTR3DECL(int) RTTcpListen(RTSOCKET hSocket, int cBackLog); 313 312 314 313 /** … … 316 315 * 317 316 * @returns iprt status code. 318 * @param SockSocket descriptor.317 * @param hSocket Socket descriptor. 319 318 * @param uPort The port for accepting connection. 320 319 * @param pSockAccepted Where to store the handle to the accepted connection. 321 320 */ 322 RTR3DECL(int) RTTcpAccept(RTSOCKET Sock, unsigned uPort, PRTSOCKET pSockAccepted);321 RTR3DECL(int) RTTcpAccept(RTSOCKET hSocket, unsigned uPort, PRTSOCKET pSockAccepted); 323 322 324 323 #endif … … 328 327 * 329 328 * @returns IPRT status code. 330 * @param SockSocket descriptor.329 * @param hSocket Socket descriptor. 331 330 * @param pAddr Where to store the local address on success. 332 331 */ 333 RTR3DECL(int) RTTcpGetLocalAddress(RTSOCKET Sock, PRTNETADDR pAddr);332 RTR3DECL(int) RTTcpGetLocalAddress(RTSOCKET hSocket, PRTNETADDR pAddr); 334 333 335 334 /** … … 337 336 * 338 337 * @returns IPRT status code. 339 * @param SockSocket descriptor.338 * @param hSocket Socket descriptor. 340 339 * @param pAddr Where to store the peer address on success. 341 340 */ 342 RTR3DECL(int) RTTcpGetPeerAddress(RTSOCKET Sock, PRTNETADDR pAddr);341 RTR3DECL(int) RTTcpGetPeerAddress(RTSOCKET hSocket, PRTNETADDR pAddr); 343 342 344 343 /** … … 348 347 * @retval VERR_INTERRUPTED if interrupted before anything was written. 349 348 * 350 * @param SockSocket descriptor.349 * @param hSocket Socket descriptor. 351 350 * @param pSgBuf Scatter/gather buffer to write data to socket. 352 351 */ 353 RTR3DECL(int) RTTcpSgWrite(RTSOCKET Sock, PCRTSGBUF pSgBuf);352 RTR3DECL(int) RTTcpSgWrite(RTSOCKET hSocket, PCRTSGBUF pSgBuf); 354 353 355 354 … … 399 398 * @returns IPRT status code. 400 399 * 401 * @param SockSocket descriptor.400 * @param hSocket Socket descriptor. 402 401 * @param pvBuffer Where to put the data we read. 403 402 * @param cbBuffer Read buffer size. 404 403 * @param pcbRead Number of bytes read. 405 404 */ 406 RTR3DECL(int) RTTcpReadNB(RTSOCKET Sock, void *pvBuffer, size_t cbBuffer, size_t *pcbRead);405 RTR3DECL(int) RTTcpReadNB(RTSOCKET hSocket, void *pvBuffer, size_t cbBuffer, size_t *pcbRead); 407 406 408 407 /** … … 413 412 * @returns IPRT status code. 414 413 * 415 * @param SockSocket descriptor.414 * @param hSocket Socket descriptor. 416 415 * @param pvBuffer Buffer to write data to socket. 417 416 * @param cbBuffer How much to write. 418 417 * @param pcbWritten Number of bytes written. 419 418 */ 420 RTR3DECL(int) RTTcpWriteNB(RTSOCKET Sock, const void *pvBuffer, size_t cbBuffer, size_t *pcbWritten);419 RTR3DECL(int) RTTcpWriteNB(RTSOCKET hSocket, const void *pvBuffer, size_t cbBuffer, size_t *pcbWritten); 421 420 422 421 /** … … 428 427 * @retval VERR_INTERRUPTED if interrupted before anything was written. 429 428 * 430 * @param SockSocket descriptor.429 * @param hSocket Socket descriptor. 431 430 * @param pSgBuf Scatter/gather buffer to write data to socket. 432 431 * @param pcbWritten Number of bytes written. 433 432 */ 434 RTR3DECL(int) RTTcpSgWriteNB(RTSOCKET Sock, PCRTSGBUF pSgBuf, size_t *pcbWritten);433 RTR3DECL(int) RTTcpSgWriteNB(RTSOCKET hSocket, PCRTSGBUF pSgBuf, size_t *pcbWritten); 435 434 436 435 -
trunk/include/iprt/test.h
r57004 r57944 175 175 * @param phTest Where to store the test instance handle. 176 176 */ 177 RTR3DECL(RTEXITCODE) RTTestInitExAndCreate(int cArgs, char ***p apszArgs, uint32_t fRtInit, const char *pszTest, PRTTEST phTest);177 RTR3DECL(RTEXITCODE) RTTestInitExAndCreate(int cArgs, char ***ppapszArgs, uint32_t fRtInit, const char *pszTest, PRTTEST phTest); 178 178 179 179 /** … … 540 540 * @param enmUnit The value unit. 541 541 * @param pszNameFmt The value name format string. 542 * @param va _listString arguments.542 * @param va String arguments. 543 543 */ 544 544 RTR3DECL(int) RTTestValueV(RTTEST hTest, uint64_t u64Value, RTTESTUNIT enmUnit, … … 991 991 * @param enmUnit The value unit. 992 992 * @param pszNameFmt The value name format string. 993 * @param va _listString arguments.993 * @param va String arguments. 994 994 */ 995 995 RTR3DECL(int) RTTestIValueV(uint64_t u64Value, RTTESTUNIT enmUnit, const char *pszNameFmt, va_list va) RT_IPRT_FORMAT_ATTR(3, 0); … … 1156 1156 * @param DetailsArgs Argument list for RTTestIFailureDetails, including 1157 1157 * parenthesis. 1158 * @param rcRet What to return on failure.1159 1158 */ 1160 1159 #define RTTESTI_CHECK_MSG_BREAK(expr, DetailsArgs) \ -
trunk/include/iprt/udp.h
r56291 r57944 132 132 * @param cbBuffer Read buffer size. 133 133 * @param pcbRead Number of bytes read. Must be non-NULL. 134 * @param pSrcAddr The network address to read from. 134 135 */ 135 136 RTR3DECL(int) RTUdpRead(RTSOCKET Sock, void *pvBuffer, size_t cbBuffer, size_t *pcbRead, PRTNETADDR pSrcAddr); -
trunk/include/iprt/uint128.h
r53615 r57944 495 495 * Assigns a boolean value to 128-bit unsigned integer. 496 496 * 497 * @returns p Result498 * @param p ResultThe result variable.497 * @returns pValueResult 498 * @param pValueResult The result variable. 499 499 * @param fValue The boolean value. 500 500 */ … … 517 517 * Assigns a 8-bit unsigned integer value to 128-bit unsigned integer. 518 518 * 519 * @returns p Result520 * @param p ResultThe result variable.519 * @returns pValueResult 520 * @param pValueResult The result variable. 521 521 * @param u8Value The 8-bit unsigned integer value. 522 522 */ … … 539 539 * Assigns a 16-bit unsigned integer value to 128-bit unsigned integer. 540 540 * 541 * @returns p Result542 * @param p ResultThe result variable.541 * @returns pValueResult 542 * @param pValueResult The result variable. 543 543 * @param u16Value The 16-bit unsigned integer value. 544 544 */ … … 561 561 * Assigns a 16-bit unsigned integer value to 128-bit unsigned integer. 562 562 * 563 * @returns p Result564 * @param p ResultThe result variable.563 * @returns pValueResult 564 * @param pValueResult The result variable. 565 565 * @param u32Value The 32-bit unsigned integer value. 566 566 */ … … 583 583 * Assigns a 64-bit unsigned integer value to 128-bit unsigned integer. 584 584 * 585 * @returns p Result586 * @param p ResultThe result variable.587 * @param u 32Value The 32-bit unsigned integer value.585 * @returns pValueResult 586 * @param pValueResult The result variable. 587 * @param u64Value The 64-bit unsigned integer value. 588 588 */ 589 589 DECLINLINE(PRTUINT128U) RTUInt128AssignU64(PRTUINT128U pValueResult, uint64_t u64Value) … … 834 834 * the result to it. 835 835 * 836 * @returns pValue 1Result.837 * @param pValue 1ResultThe first value and result.836 * @returns pValueResult. 837 * @param pValueResult The first value and result. 838 838 * @param cBits The number of bits to shift. 839 839 */ … … 885 885 * the result to it. 886 886 * 887 * @returns pValue 1Result.888 * @param pValue 1ResultThe first value and result.887 * @returns pValueResult. 888 * @param pValueResult The first value and result. 889 889 * @param cBits The number of bits to shift. 890 890 */ -
trunk/include/iprt/uri.h
r57825 r57944 297 297 * @param pszUri The URI to extract from. 298 298 * @param uFormat In which format should the path returned. 299 * @param c bMaxThe max string length to inspect.299 * @param cchMax The max string length to inspect. 300 300 */ 301 301 RTDECL(char *) RTUriFileNPath(const char *pszUri, uint32_t uFormat, size_t cchMax); -
trunk/include/iprt/vfs.h
r57643 r57944 227 227 * 228 228 * @returns Referenced handle on success, NIL if the input handle was invalid. 229 * @param hVfsF Ss The VFS filesystem stream handle.229 * @param hVfsFss The VFS filesystem stream handle. 230 230 */ 231 231 RTDECL(RTVFSOBJ) RTVfsObjFromFsStream(RTVFSFSSTREAM hVfsFss); … … 298 298 * @retval VERR_EOF when there are no more objects. 299 299 * 300 * @param pvThis The implementation specific directory data.300 * @param hVfsFss The file system stream handle. 301 301 * @param ppszName Where to return the object name. Must be freed by 302 302 * calling RTStrFree. 303 303 * @param penmType Where to return the object type. 304 * @param hVfsObj Where to return the object handle (referenced).305 * Thismust be cast to the desired type before use.304 * @param phVfsObj Where to return the object handle (referenced). This 305 * must be cast to the desired type before use. 306 306 */ 307 307 RTDECL(int) RTVfsFsStrmNext(RTVFSFSSTREAM hVfsFss, char **ppszName, RTVFSOBJTYPE *penmType, PRTVFSOBJ phVfsObj); … … 326 326 * 327 327 * @returns New reference count on success (0 if closed), UINT32_MAX on failure. 328 * @param hVfs IosThe VFS directory handle.328 * @param hVfsDir The VFS directory handle. 329 329 */ 330 330 RTDECL(uint32_t) RTVfsDirRelease(RTVFSDIR hVfsDir); … … 567 567 * @param fBlocking Whether the call is blocking (@c true) or not. If 568 568 * not, the @a pcbWritten parameter must not be NULL. 569 * @param pcb ReadWhere to always store the number of bytes actually569 * @param pcbWritten Where to always store the number of bytes actually 570 570 * written. This can be NULL if @a fBlocking is true. 571 571 * @sa RTVfsFileWrite, RTFileWrite, RTPipeWrite, RTPipeWriteBlocking, … … 771 771 * implementation. 772 772 * 773 * @param hVfs Obj The VFS objecthandle.773 * @param hVfsFile The VFS file handle. 774 774 * @param pObjInfo Where to return the info. 775 775 * @param enmAddAttr Which additional attributes should be retrieved. … … 801 801 * @param pvBuf Where to store the read bytes. 802 802 * @param cbToRead The number of bytes to read. 803 * @param fBlocking Whether the call is blocking (@c true) or not. If804 * not, the @a pcbRead parameter must not be NULL.805 803 * @param pcbRead Where to always store the number of bytes actually 806 * read. This can be NULL if @a fBlocking is true.804 * read. Optional. 807 805 * @sa RTVfsIoStrmRead, RTFileRead, RTPipeRead, RTPipeReadBlocking, 808 806 * RTSocketRead … … 820 818 * @param pvBuf The bytes to write. 821 819 * @param cbToWrite The number of bytes to write. 822 * @param fBlocking Whether the call is blocking (@c true) or not. If 823 * not, the @a pcbWritten parameter must not be NULL. 824 * @param pcbRead Where to always store the number of bytes actually 825 * written. This can be NULL if @a fBlocking is true. 820 * @param pcbWritten Where to always store the number of bytes actually 821 * written. This can be NULL. 826 822 * @sa RTVfsIoStrmRead, RTFileWrite, RTPipeWrite, RTPipeWriteBlocking, 827 823 * RTSocketWrite … … 910 906 * 911 907 * The data is read in chunks from @a hVfsIosSrc and written to @a hVfsIosDst 912 * until @ hVfsIosSrc indicates end of stream.908 * until @a hVfsIosSrc indicates end of stream. 913 909 * 914 910 * @returns IPRT status code -
trunk/include/iprt/vfslowlevel.h
r56291 r57944 237 237 * 238 238 * @returns IPRT status code 239 * @param pVfs OpsThe VFS operations.239 * @param pVfsOps The VFS operations. 240 240 * @param cbInstance The size of the instance data. 241 241 * @param hVfs The VFS handle to associate this VFS with. … … 303 303 * object. The reference is consumed. NIL and 304 304 * special lock handles are fine. 305 * @param phVfs FssWhere to return the new handle.305 * @param phVfsObj Where to return the new handle. 306 306 * @param ppvInstance Where to return the pointer to the instance data 307 307 * (size is @a cbInstance). … … 956 956 * 957 957 * @returns IPRT status code. 958 * @param pvThis The implementation specific file data.959 958 * @param fEvents The events to poll for (RTPOLL_EVT_XXX). 960 959 * @param cMillies How long to wait for event to eventuate. -
trunk/src/VBox/Runtime/Doxyfile
r57926 r57944 1220 1220 DECL_FORCE_INLINE(type)=DECLINLINE(type) \ 1221 1221 DECL_NO_INLINE(type)=type \ 1222 DECLCALLBACK(type)=type \ 1222 1223 \ 1223 1224 AssertCompile(expr) \ … … 1261 1262 DECLASM \ 1262 1263 DECLASMTYPE \ 1263 DECLCALLBACK \1264 1264 DECLCALLBACKMEMBER \ 1265 1265 DECLHCCALLBACKMEMBER \ -
trunk/src/VBox/Runtime/Makefile.kmk
r57916 r57944 2731 2731 $(APPEND) [email protected] "INCLUDE_FILE_PATTERNS = *.cpp.h" 2732 2732 $(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)" 2733 $(APPEND) [email protected] 'EXCLUDE = '\ 2734 '$(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-flags.cpp' \ 2735 '$(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-lower.cpp' \ 2736 '$(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-upper.cpp' 2733 2737 $(APPEND) [email protected] 2734 2738 $(APPEND) [email protected] "INPUT = $(IPRT_DOXYFILE_INPUT)" -
trunk/src/VBox/Runtime/common/dbg/dbgcfg.cpp
r57358 r57944 451 451 * directory. RTPATH_MAX in size. 452 452 * @param pszSubDir The sub directory to append. 453 * @param pszSuffix The suffix to append. 453 454 * @param fCaseInsensitive Whether case insensitive searching is required. 454 455 */ … … 568 569 569 570 static int rtDbgCfgTryOpenDir(PRTDBGCFGINT pThis, char *pszPath, PRTPATHSPLIT pSplitFn, uint32_t fFlags, 570 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)571 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 571 572 { 572 573 int rcRet = VWRN_NOT_FOUND; … … 736 737 const char *pszCacheSubDir, const char *pszUuidMappingSubDir, 737 738 PRTPATHSPLIT pSplitFn, const char *pszCacheSuffix, uint32_t fFlags, 738 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)739 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 739 740 { 740 741 #ifdef IPRT_WITH_HTTP … … 888 889 const char *pszCacheSubDir, const char *pszUuidMappingSubDir, 889 890 PCRTPATHSPLIT pSplitFn, const char *pszCacheSuffix, uint32_t fFlags, 890 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)891 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 891 892 { 892 893 Assert(pszPath[cchCachePath] == '\0'); … … 977 978 static int rtDbgCfgTryOpenList(PRTDBGCFGINT pThis, PRTLISTANCHOR pList, PRTPATHSPLIT pSplitFn, const char *pszCacheSubDir, 978 979 const char *pszUuidMappingSubDir, uint32_t fFlags, char *pszPath, 979 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)980 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 980 981 { 981 982 int rcRet = VWRN_NOT_FOUND; … … 1144 1145 static int rtDbgCfgOpenWithSubDir(RTDBGCFG hDbgCfg, const char *pszFilename, const char *pszCacheSubDir, 1145 1146 const char *pszUuidMappingSubDir, uint32_t fFlags, 1146 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1147 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1147 1148 { 1148 1149 int rcRet = VINF_SUCCESS; … … 1271 1272 1272 1273 RTDECL(int) RTDbgCfgOpenPeImage(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, 1273 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1274 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1274 1275 { 1275 1276 char szSubDir[32]; … … 1283 1284 1284 1285 RTDECL(int) RTDbgCfgOpenPdb70(RTDBGCFG hDbgCfg, const char *pszFilename, PCRTUUID pUuid, uint32_t uAge, 1285 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1286 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1286 1287 { 1287 1288 char szSubDir[64]; … … 1312 1313 1313 1314 RTDECL(int) RTDbgCfgOpenPdb20(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, uint32_t uAge, 1314 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1315 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1315 1316 { 1316 1317 /** @todo test this! */ … … 1325 1326 1326 1327 RTDECL(int) RTDbgCfgOpenDbg(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, 1327 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1328 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1328 1329 { 1329 1330 char szSubDir[32]; … … 1337 1338 1338 1339 RTDECL(int) RTDbgCfgOpenDwo(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t uCrc32, 1339 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1340 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1340 1341 { 1341 1342 char szSubDir[32]; … … 1361 1362 static int rtDbgCfgTryOpenDsymBundleInDir(PRTDBGCFGINT pThis, char *pszPath, PRTPATHSPLIT pSplitFn, 1362 1363 const char * const *papszSuffixes, uint32_t fFlags, 1363 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1364 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1364 1365 { 1365 1366 int rcRet = VWRN_NOT_FOUND; … … 1450 1451 const char *pszCacheSuffix, const char *pszUuidMappingSubDir, 1451 1452 uint32_t fFlags, char *pszPath, 1452 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1453 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1453 1454 { 1454 1455 int rcRet = VWRN_NOT_FOUND; … … 1643 1644 const char *pszBundleSubDir, PCRTUUID pUuid, const char *pszUuidMapDirName, 1644 1645 const char *pszCacheSuffix, bool fOpenImage, 1645 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1646 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1646 1647 { 1647 1648 /* … … 1785 1786 1786 1787 RTDECL(int) RTDbgCfgOpenDsymBundle(RTDBGCFG hDbgCfg, const char *pszImage, PCRTUUID pUuid, 1787 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1788 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1788 1789 { 1789 1790 return rtDbgCfgOpenBundleFile(hDbgCfg, pszImage, g_apszDSymBundleSuffixes, … … 1795 1796 1796 1797 RTDECL(int) RTDbgCfgOpenMachOImage(RTDBGCFG hDbgCfg, const char *pszImage, PCRTUUID pUuid, 1797 PFN DBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)1798 PFNRTDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2) 1798 1799 { 1799 1800 return rtDbgCfgOpenBundleFile(hDbgCfg, pszImage, g_apszBundleSuffixes, … … 1933 1934 * @param enmOp The change operation. 1934 1935 * @param pszValue The input value. 1935 * @param p szMnemonicsThe mnemonics map for this value.1936 * @param paMnemonics The mnemonics map for this value. 1936 1937 * @param puValue The value to change. 1937 1938 */ … … 2087 2088 * 2088 2089 * @returns VINF_SUCCESS, VERR_BUFFER_OVERFLOW. 2089 * @param pThis The config instance.2090 * @param hDbgCfg The config instance handle. 2090 2091 * @param pList The string list anchor. 2091 2092 * @param pszValue The output buffer. … … 2126 2127 * 2127 2128 * @returns VINF_SUCCESS, VERR_BUFFER_OVERFLOW. 2128 * @param pThis The config instance.2129 * @param hDbgCfg The config instance handle. 2129 2130 * @param uValue The value to query. 2130 * @param p szMnemonicsThe mnemonics map for this value.2131 * @param paMnemonics The mnemonics map for this value. 2131 2132 * @param pszValue The output buffer. 2132 2133 * @param cbValue The size of the output buffer. -
trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp
r57358 r57944 870 870 871 871 /** @callback_method_impl{FNDBGMODCVSUBSECTCALLBACK, 872 * Parses kCvSst_GlobalPub , kCvSst_GlobalSym and kCvSst_StaticSym subsections,872 * Parses kCvSst_GlobalPub\, kCvSst_GlobalSym and kCvSst_StaticSym subsections\, 873 873 * adding symbols it finds to the container.} */ 874 874 static DECLCALLBACK(int) … … 898 898 899 899 /** @callback_method_impl{FNDBGMODCVSUBSECTCALLBACK, 900 * Parses kCvSst_Module subsection , storing the debugging style in pThis.} */900 * Parses kCvSst_Module subsection\, storing the debugging style in pThis.} */ 901 901 static DECLCALLBACK(int) 902 902 rtDbgModCvSs_Module(PRTDBGMODCV pThis, void const *pvSubSect, size_t cbSubSect, PCRTCVDIRENT32 pDirEnt) … … 929 929 930 930 /** @callback_method_impl{FNDBGMODCVSUBSECTCALLBACK, 931 * Parses kCvSst_Symbols , kCvSst_PublicSym and kCvSst_AlignSym subsections,931 * Parses kCvSst_Symbols\, kCvSst_PublicSym and kCvSst_AlignSym subsections\, 932 932 * adding symbols it finds to the container.} */ 933 933 static DECLCALLBACK(int) … … 2182 2182 2183 2183 2184 /** @callback_method_impl{FNRTLDRENUMSEGS, 2185 * Used to add segments from the image.} */ 2184 /** 2185 * @callback_method_impl{FNRTLDRENUMSEGS, Used to add segments from the image} 2186 */ 2186 2187 static DECLCALLBACK(int) rtDbgModCvAddSegmentsCallback(RTLDRMOD hLdrMod, PCRTLDRSEG pSeg, void *pvUser) 2187 2188 { … … 2373 2374 * @param pDbgMod The debug module instance. On success pvDbgPriv 2374 2375 * will point to a valid RTDBGMODCV. 2376 * @param enmFileType The kind of file this is we're probing. 2375 2377 * @param hFile The file with debug info in it. 2376 2378 * @param off The offset where to expect CV debug info. 2377 2379 * @param cb The number of bytes of debug info. 2378 * @param enmArch The desired image architecture.2379 2380 * @param pszFilename The path to the file (for logging). 2380 2381 */ -
trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp
r57358 r57944 591 591 * @param pDesc The attribute descriptor. 592 592 * @param uForm The data form. 593 * @param p DataCursorThe cursor to read data from.593 * @param pCursor The cursor to read data from. 594 594 */ 595 595 typedef DECLCALLBACK(int) FNRTDWARFATTRDECODER(PRTDWARFDIE pDie, uint8_t *pbMember, PCRTDWARFATTRDESC pDesc, … … 1976 1976 * uErrValue is returned. 1977 1977 * @param pCursor The cursor. 1978 * @param uErrValue What to return on error.1978 * @param iErrValue What to return on error. 1979 1979 */ 1980 1980 static int8_t rtDwarfCursor_GetSByte(PRTDWARFCURSOR pCursor, int8_t iErrValue) -
trunk/src/VBox/Runtime/common/dbg/dbgmodexports.cpp
r57358 r57944 56 56 57 57 /** @callback_method_impl{FNRTLDRENUMSYMS, 58 * Copies the symbols over into the container.} */58 * Copies the symbols over into the container} */ 59 59 static DECLCALLBACK(int) rtDbgModExportsAddSymbolCallback(RTLDRMOD hLdrMod, const char *pszSymbol, unsigned uSymbol, 60 60 RTLDRADDR Value, void *pvUser) … … 76 76 77 77 /** @callback_method_impl{FNRTLDRENUMSEGS, 78 * Copies the segments over into the container.} */78 * Copies the segments over into the container} */ 79 79 static DECLCALLBACK(int) rtDbgModExportsAddSegmentsCallback(RTLDRMOD hLdrMod, PCRTLDRSEG pSeg, void *pvUser) 80 80 { -
trunk/src/VBox/Runtime/common/dbg/dbgmodldr.cpp
r57358 r57944 124 124 125 125 126 /** @interface_method_impl{RTDBGMODVTIMG,pfn GetLoadedSize} */127 static DECLCALLBACK(RTUINTPTR) rtDbgModLdr_ GetLoadedSize(PRTDBGMODINT pMod)126 /** @interface_method_impl{RTDBGMODVTIMG,pfnImageSize} */ 127 static DECLCALLBACK(RTUINTPTR) rtDbgModLdr_ImageSize(PRTDBGMODINT pMod) 128 128 { 129 129 PRTDBGMODLDR pThis = (PRTDBGMODLDR)pMod->pvImgPriv; … … 216 216 /*.pfnEnumSegments = */ rtDbgModLdr_EnumSegments, 217 217 /*.pfnEnumSymbols = */ rtDbgModLdr_EnumSymbols, 218 /*.pfn GetLoadedSize = */ rtDbgModLdr_GetLoadedSize,218 /*.pfnImageSize = */ rtDbgModLdr_ImageSize, 219 219 /*.pfnLinkAddressToSegOffset = */ rtDbgModLdr_LinkAddressToSegOffset, 220 220 /*.pfnRvaToSegOffset= */ rtDbgModLdr_RvaToSegOffset, -
trunk/src/VBox/Runtime/common/math/bignum.cpp
r57358 r57944 2076 2076 * @param pauDividendJ Pointer to the j-th (normalized) dividend element. 2077 2077 * Will access up to two elements prior to this. 2078 * @param uDivZThe last element in the (normalized) divisor.2079 * @param uDivYThe penultimate element in the (normalized) divisor.2078 * @param pauDivisor The last element in the (normalized) divisor. 2079 * @param cDivisor The penultimate element in the (normalized) divisor. 2080 2080 */ 2081 2081 DECLINLINE(void) rtBigNumKnuthD6_AddBack(PRTBIGNUMELEMENT pauDividendJ, PRTBIGNUMELEMENT pauDivisor, uint32_t cDivisor) -
trunk/src/VBox/Runtime/common/misc/aiomgr.cpp
r57358 r57944 244 244 * @returns TRUE if there are still requests pending on the current manager for this endpoint. 245 245 * FALSE otherwise. 246 * @param p EndpointRemoveThe endpoint to remove.246 * @param pFile The endpoint to remove. 247 247 */ 248 248 static bool rtAioMgrFileRemove(PRTAIOMGRFILEINT pFile) -
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r57358 r57944 1127 1127 * first retainer. NIL_RTLOCKVALCLASS if we run into trouble. 1128 1128 * 1129 * @param pszFile The source position of the call, file. 1130 * @param iLine The source position of the call, line. 1131 * @param pszFunction The source position of the call, function. 1129 * @param SRC_POS The source position where call is being made from. 1130 * Use RT_SRC_POS when possible. Optional. 1132 1131 * @param pszNameFmt Class name format string, optional (NULL). Max 1133 1132 * length is 32 bytes. -
trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp
r57865 r57944 238 238 239 239 240 /** 241 * Matching variable lookup table. 242 * Currently so small we don't bother sorting it and doing binary lookups. 243 */ 244 typedef struct RTPATHMATCHVAR 245 { 246 /** The variable name. */ 247 const char *pszName; 248 /** The variable name length. */ 249 uint16_t cchName; 250 /** Only available as the verify first component. */ 251 bool fFirstOnly; 252 253 /** 254 * Queries a given variable value. 255 * 256 * @returns IPRT status code. 257 * @retval VERR_BUFFER_OVERFLOW 258 * @retval VERR_TRY_AGAIN if the caller should skip this value item and try the 259 * next one instead (e.g. env var not present). 260 * @retval VINF_EOF when retrieving the last one, if possible. 261 * @retval VERR_EOF when @a iItem is past the item space. 262 * 263 * @param iItem The variable value item to retrieve. (A variable may 264 * have more than one value, e.g. 'BothProgramFile' on a 265 * 64-bit system or 'Path'.) 266 * @param pszBuf Where to return the value. 267 * @param cbBuf The buffer size. 268 * @param pcchValue Where to return the length of the return string. 269 * @param pCache Pointer to the path matching cache. May speed up 270 * enumerating PATH items and similar. 271 */ 272 DECLCALLBACKMEMBER(int, pfnQuery)(uint32_t iItem, char *pszBuf, size_t cbBuf, size_t *pcchValue, PRTPATHMATCHCACHE pCache); 273 274 /** 275 * Matching method, optional. 276 * 277 * @returns IPRT status code. 278 * @retval VINF_SUCCESS on match. 279 * @retval VERR_MISMATCH on mismatch. 280 * 281 * @param pszMatch String to match with (not terminated). 282 * @param cchMatch The length of what we match with. 283 * @param fIgnoreCase Whether to ignore case or not when comparing. 284 * @param pcchMatched Where to return the length of the match (value length). 285 */ 286 DECLCALLBACKMEMBER(int, pfnMatch)(const char *pchMatch, size_t cchMatch, bool fIgnoreCase, size_t *pcchMatched); 287 288 } RTPATHMATCHVAR; 289 290 240 291 /********************************************************************************************************************************* 241 292 * Internal Functions * … … 400 451 401 452 /** 402 * @interface_method_impl{RTPATHMATCHVAR ::pfnQuery, Enumerates the PATH}.453 * @interface_method_impl{RTPATHMATCHVAR,pfnQuery, Enumerates the PATH}. 403 454 */ 404 455 static DECLCALLBACK(int) rtPathVarQuery_Path(uint32_t iItem, char *pszBuf, size_t cbBuf, size_t *pcchValue, … … 488 539 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 489 540 /** 490 * @interface_method_impl{RTPATHMATCHVAR ::pfnQuery,541 * @interface_method_impl{RTPATHMATCHVAR,pfnQuery, 491 542 * The system drive letter + colon.}. 492 543 */ … … 540 591 #ifdef RT_OS_WINDOWS 541 592 /** 542 * @interface_method_impl{RTPATHMATCHVAR ::pfnQuery,593 * @interface_method_impl{RTPATHMATCHVAR,pfnQuery, 543 594 * The system root directory (C:\Windows).}. 544 595 */ … … 565 616 566 617 /** 567 * Matching variable lookup table. 568 * Currently so small we don't bother sorting it and doing binary lookups. 569 */ 570 static struct RTPATHMATCHVAR 571 { 572 /** The variable name. */ 573 const char *pszName; 574 /** The variable name length. */ 575 uint16_t cchName; 576 /** Only available as the verify first component. */ 577 bool fFirstOnly; 578 579 /** 580 * Queries a given variable value. 581 * 582 * @returns IPRT status code. 583 * @retval VERR_BUFFER_OVERFLOW 584 * @retval VERR_TRY_AGAIN if the caller should skip this value item and try the 585 * next one instead (e.g. env var not present). 586 * @retval VINF_EOF when retrieving the last one, if possible. 587 * @retval VERR_EOF when @a iItem is past the item space. 588 * 589 * @param iItem The variable value item to retrieve. (A variable may 590 * have more than one value, e.g. 'BothProgramFile' on a 591 * 64-bit system or 'Path'.) 592 * @param pszBuf Where to return the value. 593 * @param cbBuf The buffer size. 594 * @param pcchValue Where to return the length of the return string. 595 * @param pCache Pointer to the path matching cache. May speed up 596 * enumerating PATH items and similar. 597 */ 598 DECLCALLBACKMEMBER(int, pfnQuery)(uint32_t iItem, char *pszBuf, size_t cbBuf, size_t *pcchValue, PRTPATHMATCHCACHE pCache); 599 600 /** 601 * Matching method, optional. 602 * 603 * @returns IPRT status code. 604 * @retval VINF_SUCCESS on match. 605 * @retval VERR_MISMATCH on mismatch. 606 * 607 * @param pszMatch String to match with (not terminated). 608 * @param cchMatch The length of what we match with. 609 * @param fIgnoreCase Whether to ignore case or not when comparing. 610 * @param pcchMatched Where to return the length of the match (value length). 611 */ 612 DECLCALLBACKMEMBER(int, pfnMatch)(const char *pchMatch, size_t cchMatch, bool fIgnoreCase, size_t *pcchMatched); 613 614 } const g_aVariables[] = 618 * 619 * 620 * @author bird (9/29/2015) 621 */ 622 static RTPATHMATCHVAR const g_aVariables[] = 615 623 { 616 624 { RT_STR_TUPLE("Arch"), false, rtPathVarQuery_Arch, rtPathVarMatch_Arch }, -
trunk/src/VBox/Runtime/common/string/strformat.cpp
r57358 r57944 555 555 while (cchStr-- > 0) 556 556 { 557 /**@todo #ifndef IN_RC*/557 /**@todo \#ifndef IN_RC*/ 558 558 #ifdef IN_RING3 559 559 RTUNICP Cp; … … 589 589 while (cchStr-- > 0) 590 590 { 591 /**@todo #ifndef IN_RC*/591 /**@todo \#ifndef IN_RC*/ 592 592 #ifdef IN_RING3 593 593 char szUtf8[8]; /* Cp=0x7fffffff -> 6 bytes. */ -
trunk/src/VBox/Runtime/common/string/uniread.cpp
r57358 r57944 712 712 * Applies a property to a code point. 713 713 * 714 * @param StartCP The code point. 715 * @param pszProperty The property name. 714 * @param StartCP The code point. 715 * @param pszProperty The property name. 716 * @param pszNextField The next field. 716 717 */ 717 718 static void ApplyProperty(RTUNICP StartCP, const char *pszProperty, char *pszNextField) -
trunk/src/VBox/Runtime/common/string/utf-8.cpp
r57358 r57944 870 870 * 871 871 * @returns iprt status code. 872 * @param psz 872 * @param pszIn The Latin-1 string. 873 873 * @param cchIn The number of characters to process from psz. The recoding 874 874 * will stop when cch or '\\0' is reached. -
trunk/src/VBox/Runtime/common/time/timesup.cpp
r57358 r57944 112 112 113 113 /** 114 * @interface_method_impl{RTTIMENANOTSDATA, 114 * @interface_method_impl{RTTIMENANOTSDATA,pfnBad} 115 115 */ 116 116 static DECLCALLBACK(void) rtTimeNanoTSInternalBitch(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev, … … 127 127 128 128 /** 129 * @interface_method_impl{RTTIMENANOTSDATA, 129 * @interface_method_impl{RTTIMENANOTSDATA,pfnBadCpuIndex} 130 130 */ 131 131 static DECLCALLBACK(uint64_t) rtTimeNanoTSInternalBadCpuIndex(PRTTIMENANOTSDATA pData, uint16_t idApic, -
trunk/src/VBox/Runtime/generic/http-curl.cpp
r57905 r57944 177 177 * Defined Constants And Macros * 178 178 *********************************************************************************************************************************/ 179 /** @def RTHTTP_MAX_MEM_DOWNLOAD 179 /** @def RTHTTP_MAX_MEM_DOWNLOAD_SIZE 180 180 * The max size we are allowed to download to a memory buffer. 181 181 * … … 598 598 * Configures a proxy given a "URL" like specification. 599 599 * 600 * Format is [<scheme>"://"][<userid>[@<password>]:]<server>[":"<port>]. 600 * Format is: 601 * <pre> [<scheme>"://"][<userid>[@<password>]:]<server>[":"<port>] </pre> 601 602 * 602 603 * @returns IPRT status code. -
trunk/src/VBox/Runtime/include/internal/dbgmod.h
r56290 r57944 233 233 * @returns IPRT status code. 234 234 * @param pMod Pointer to the module structure. 235 * @param enm LdrPropThe property to query.235 * @param enmProp The property to query. 236 236 * @param pvBuf Pointer to the return buffer. 237 237 * @param cbBuf The size of the return buffer. … … 524 524 * @returns IPRT status code. On success the necessary method tables should be 525 525 * installed in @a pMod. 526 * @param p ModPointer to the debug module structure.526 * @param pDbgMod Pointer to the debug module structure. 527 527 * @param pDeferred The deferred load data. 528 528 */ 529 typedef DECLCALLBACK(int) FNRTDBGMODDEFERRED(PRTDBGMODINT p Mod, struct RTDBGMODDEFERRED *pDeferred);529 typedef DECLCALLBACK(int) FNRTDBGMODDEFERRED(PRTDBGMODINT pDbgMod, struct RTDBGMODDEFERRED *pDeferred); 530 530 /** Pointer to a deferred loading callback. */ 531 531 typedef FNRTDBGMODDEFERRED *PFNRTDBGMODDEFERRED; -
trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp
r57476 r57944 399 399 * 400 400 * @param pSolCore Pointer to the core object. 401 * @param pszFileFmt Only the name of the file to read from (/proc/<pid> will be prepended) 401 * @param pszProcFileName Only the name of the file to read from 402 * (/proc/\<pid\> will be prepended) 402 403 * @param ppv Where to store the allocated buffer. 403 404 * @param pcb Where to store size of the buffer. … … 513 514 * Read process credential information (format prcred_t + array of guid_t) 514 515 * 516 * @return IPRT status code. 515 517 * @param pSolCore Pointer to the core object. 516 518 * 517 519 * @remarks Should not be called before successful call to @see AllocMemoryArea() 518 * @return IPRT status code.519 520 */ 520 521 static int ProcReadCred(PRTSOLCORE pSolCore) … … 530 531 * Read process privilege information (format prpriv_t + array of priv_chunk_t) 531 532 * 533 * @return IPRT status code. 532 534 * @param pSolCore Pointer to the core object. 533 535 * 534 536 * @remarks Should not be called before successful call to @see AllocMemoryArea() 535 * @return IPRT status code.536 537 */ 537 538 static int ProcReadPriv(PRTSOLCORE pSolCore) … … 556 557 * Read process LDT information (format array of struct ssd) from /proc. 557 558 * 558 * @param pSolProc Pointer to the core object. 559 * @return IPRT status code. 560 * @param pSolCore Pointer to the core object. 559 561 * 560 562 * @remarks Should not be called before successful call to @see AllocMemoryArea() 561 * @return IPRT status code.562 563 */ 563 564 static int ProcReadLdt(PRTSOLCORE pSolCore) … … 573 574 * Read process auxiliary vectors (format auxv_t) for the process. 574 575 * 576 * @return IPRT status code. 575 577 * @param pSolCore Pointer to the core object. 576 578 * 577 579 * @remarks Should not be called before successful call to @see AllocMemoryArea() 578 * @return IPRT status code.579 580 */ 580 581 static int ProcReadAuxVecs(PRTSOLCORE pSolCore) … … 663 664 * Read the process mappings (format prmap_t array). 664 665 * 666 * @return IPRT status code. 665 667 * @param pSolCore Pointer to the core object. 666 668 * 667 669 * @remarks Should not be called before successful call to @see AllocMemoryArea() 668 * @return IPRT status code.669 670 */ 670 671 static int ProcReadMappings(PRTSOLCORE pSolCore) … … 801 802 * Reads the thread information for all threads in the process. 802 803 * 804 * @return IPRT status code. 803 805 * @param pSolCore Pointer to the core object. 804 806 * 805 807 * @remarks Should not be called before successful call to @see AllocMemoryArea() 806 * @return IPRT status code.807 808 */ 808 809 static int ProcReadThreads(PRTSOLCORE pSolCore) … … 1843 1844 * to be in suspended state (i.e. called after CreateCore). 1844 1845 * 1846 * @return IPRT status. 1845 1847 * @param pSolCore Pointer to the core object. 1846 1848 * @param pfnWriter Pointer to the writer function to override default writer (NULL uses default). … … 1848 1850 * @remarks Resumes all suspended threads, unless it's an invalid core. This 1849 1851 * function must be called only -after- rtCoreDumperCreateCore(). 1850 * @return IPRT status.1851 1852 */ 1852 1853 static int rtCoreDumperWriteCore(PRTSOLCORE pSolCore, PFNRTCOREWRITER pfnWriter) … … 1913 1914 * are ultimately resumed en-masse) already suspended while calling this function. 1914 1915 * 1916 * @return IPRT status code. 1915 1917 * @param pSolCore Pointer to a core object. 1916 1918 * @param pContext Pointer to the caller context thread. … … 1919 1921 * 1920 1922 * @remarks Halts all threads. 1921 * @return IPRT status code.1922 1923 */ 1923 1924 static int rtCoreDumperCreateCore(PRTSOLCORE pSolCore, ucontext_t *pContext, const char *pszCoreFilePath) -
trunk/src/VBox/Runtime/r3/stream.cpp
r57358 r57944 90 90 /** Whether the stream was opened in binary mode. */ 91 91 bool fBinary; 92 /** Whether to recheck the stream mode before writing. .*/92 /** Whether to recheck the stream mode before writing. */ 93 93 bool fRecheckMode; 94 94 #ifndef HAVE_FWRITE_UNLOCKED -
trunk/src/VBox/Runtime/r3/tcp.cpp
r57358 r57944 156 156 * @returns The old handle value. 157 157 * @param phSock The socket handle variable to update. 158 * @param h SockThe new socket handle value.158 * @param hNew The new socket handle value. 159 159 */ 160 160 DECLINLINE(RTSOCKET) rtTcpAtomicXchgSock(RTSOCKET volatile *phSock, const RTSOCKET hNew) -
trunk/src/VBox/Runtime/r3/test.cpp
r57358 r57944 427 427 428 428 429 RTR3DECL(RTEXITCODE) RTTestInitExAndCreate(int cArgs, char ***p apszArgs, uint32_t fRtInit, const char *pszTest, PRTTEST phTest)429 RTR3DECL(RTEXITCODE) RTTestInitExAndCreate(int cArgs, char ***ppapszArgs, uint32_t fRtInit, const char *pszTest, PRTTEST phTest) 430 430 { 431 431 int rc; 432 if (cArgs <= 0 && p apszArgs == NULL)432 if (cArgs <= 0 && ppapszArgs == NULL) 433 433 rc = RTR3InitExeNoArguments(fRtInit); 434 434 else 435 rc = RTR3InitExe(cArgs, p apszArgs, fRtInit);435 rc = RTR3InitExe(cArgs, ppapszArgs, fRtInit); 436 436 if (RT_FAILURE(rc)) 437 437 { -
trunk/src/VBox/Runtime/r3/udp.cpp
r57358 r57944 128 128 * @returns The old handle value. 129 129 * @param phSock The socket handle variable to update. 130 * @param h SockThe new socket handle value.130 * @param hNew The new socket handle value. 131 131 */ 132 132 DECLINLINE(RTSOCKET) rtUdpAtomicXchgSock(RTSOCKET volatile *phSock, const RTSOCKET hNew) -
trunk/src/VBox/Runtime/r3/xml.cpp
r57358 r57944 1440 1440 * that was either created or changed. 1441 1441 * 1442 * @param pcszName1443 * @param i1442 * @param pcszName The attribute name. 1443 * @param f The attribute value. 1444 1444 * @return 1445 1445 */ … … 1458 1458 * @param pListAnchor Pointer to the m_children member of the parent. NULL 1459 1459 * for the root node. 1460 * @param pLib Node Pointer to the libxml2 node structure.1460 * @param pLibAttr Pointer to the libxml2 attribute structure. 1461 1461 */ 1462 1462 AttributeNode::AttributeNode(const ElementNode *pElmRoot,
Note:
See TracChangeset
for help on using the changeset viewer.