vbox的更動 62584 路徑 trunk/src/VBox/Runtime
- 時間撮記:
- 2016-7-27 上午11:46:03 (8 年 以前)
- 位置:
- trunk/src/VBox/Runtime
- 檔案:
-
- 修改 22 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/common/asn1/asn1-cursor.cpp
r62477 r62584 71 71 pPrimaryCursor->Cursor.pbCur = (uint8_t const *)pvFirst; 72 72 pPrimaryCursor->Cursor.cbLeft = cb; 73 pPrimaryCursor->Cursor.fFlags = fFlags;73 pPrimaryCursor->Cursor.fFlags = (uint8_t)fFlags; Assert(fFlags <= UINT8_MAX); 74 74 pPrimaryCursor->Cursor.cDepth = 0; 75 75 pPrimaryCursor->Cursor.abReserved[0] = 0; -
trunk/src/VBox/Runtime/common/dbg/dbgmoddbghelp.cpp
r62477 r62584 364 364 { 365 365 RTDBGMODBGHELPARGS *pArgs = (RTDBGMODBGHELPARGS *)pvUser; 366 RT_NOREF_PV(hLdrMod); 366 367 367 368 Log(("Segment %.*s: LinkAddress=%#llx RVA=%#llx cb=%#llx\n", -
trunk/src/VBox/Runtime/common/misc/thread.cpp
r62477 r62584 1566 1566 PRTTHREADINT pThread = (PRTTHREADINT)pNode; 1567 1567 rtThreadNativeInformDebugger(pThread); 1568 RT_NOREF_PV(pvUser); 1568 1569 return 0; 1569 1570 } -
trunk/src/VBox/Runtime/common/path/RTPathChangeToDosSlashes.cpp
r62477 r62584 45 45 RTDECL(char *) RTPathChangeToDosSlashes(char *pszPath, bool fForce) 46 46 { 47 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2) 47 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 48 RT_NOREF_PV(fForce); 49 #else 48 50 if (fForce) 49 51 #endif -
trunk/src/VBox/Runtime/common/path/RTPathChangeToUnixSlashes.cpp
r62477 r62584 45 45 RTDECL(char *) RTPathChangeToUnixSlashes(char *pszPath, bool fForce) 46 46 { 47 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2) 47 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 48 RT_NOREF_PV(fForce); 49 #else 48 50 if (fForce) 49 51 #endif -
trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp
r62564 r62584 550 550 PRTPATHMATCHCACHE pCache) 551 551 { 552 RT_NOREF_PV(pCache); 553 552 554 if (iItem == 0) 553 555 { … … 602 604 PRTPATHMATCHCACHE pCache) 603 605 { 606 RT_NOREF_PV(pCache); 607 604 608 if (iItem == 0) 605 609 { -
trunk/src/VBox/Runtime/common/zip/pkzipvfs.cpp
r62564 r62584 406 406 static int rtZipPkzipParseLocalFileHeader(PRTZIPPKZIPREADER pThis, PRTZIPPKZIPLOCALFILEHDR pLfh, size_t *pcbExtra) 407 407 { 408 RT_NOREF_PV(pThis); 409 408 410 if (pLfh->cbFilename >= sizeof(pThis->szName)) 409 411 return VERR_PKZIP_NAME_TOO_LONG; -
trunk/src/VBox/Runtime/common/zip/tarcmd.cpp
r62477 r62584 549 549 } 550 550 } 551 #else 552 RT_NOREF_PV(pOwner); RT_NOREF_PV(pGroup); 551 553 #endif 552 554 -
trunk/src/VBox/Runtime/r3/nt/fs-nt.cpp
r62477 r62584 228 228 RTR3DECL(bool) RTFsIsCaseSensitive(const char *pszFsPath) 229 229 { 230 RT_NOREF_PV(pszFsPath); 230 231 return false; 231 232 } -
trunk/src/VBox/Runtime/r3/nt/pathint-nt.cpp
r62477 r62584 394 394 RTUtf16Free(pNtName->Buffer); 395 395 pNtName->Buffer = NULL; 396 397 RT_NOREF_PV(phRootDir); /* never returned by rtNtPathToNative */ 396 398 } 397 399 -
trunk/src/VBox/Runtime/r3/poll.cpp
r62564 r62584 241 241 */ 242 242 # ifdef RT_OS_WINDOWS 243 RT_NOREF_PV(MsStart); 244 243 245 DWORD dwRc = WaitForMultipleObjectsEx(cHandles, pThis->pahNative, 244 246 FALSE /*fWaitAll */, 245 247 cMillies == RT_INDEFINITE_WAIT ? INFINITE : cMillies, 246 248 TRUE /*fAlertable*/); 247 if ( dwRc >= WAIT_OBJECT_0248 && dwRc <WAIT_OBJECT_0 + cHandles)249 AssertCompile(WAIT_OBJECT_0 == 0); 250 if (dwRc < WAIT_OBJECT_0 + cHandles) 249 251 rc = VERR_INTERRUPTED; 250 252 else if (dwRc == WAIT_TIMEOUT) -
trunk/src/VBox/Runtime/r3/socket.cpp
r62570 r62584 1959 1959 { 1960 1960 RTSOCKETINT *pThis = hSocket; 1961 RT_NOREF_PV(fEvents); 1961 1962 AssertPtrReturn(pThis, VERR_INVALID_HANDLE); 1962 1963 AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, VERR_INVALID_HANDLE); … … 1979 1980 1980 1981 #else /* !RT_OS_WINDOWS */ 1981 RT_NOREF_PV(fEvents);1982 1982 *phNative = (RTHCUINTPTR)pThis->hNative; 1983 1983 return VINF_SUCCESS; … … 2235 2235 Assert(pThis->cUsers > 0); 2236 2236 Assert(pThis->hPollSet != NIL_RTPOLLSET); 2237 RT_NOREF_PV(fFinalEntry); 2237 2238 2238 2239 /* Harvest events and clear the event mask for the next round of polling. */ -
trunk/src/VBox/Runtime/r3/win/alloc-win.cpp
r62477 r62584 46 46 RTDECL(void *) RTMemExecAllocTag(size_t cb, const char *pszTag) RT_NO_THROW_DEF 47 47 { 48 RT_NOREF_PV(pszTag); 49 48 50 /* 49 51 * Allocate first. … … 73 75 RTDECL(void) RTMemExecFree(void *pv, size_t cb) RT_NO_THROW_DEF 74 76 { 77 RT_NOREF_PV(cb); 78 75 79 if (pv) 76 80 free(pv); … … 80 84 RTDECL(void *) RTMemPageAllocTag(size_t cb, const char *pszTag) RT_NO_THROW_DEF 81 85 { 86 RT_NOREF_PV(pszTag); 87 82 88 #ifdef USE_VIRTUAL_ALLOC 83 89 void *pv = VirtualAlloc(NULL, RT_ALIGN_Z(cb, PAGE_SIZE), MEM_COMMIT, PAGE_READWRITE); … … 92 98 RTDECL(void *) RTMemPageAllocZTag(size_t cb, const char *pszTag) RT_NO_THROW_DEF 93 99 { 100 RT_NOREF_PV(pszTag); 101 94 102 #ifdef USE_VIRTUAL_ALLOC 95 103 void *pv = VirtualAlloc(NULL, RT_ALIGN_Z(cb, PAGE_SIZE), MEM_COMMIT, PAGE_READWRITE); … … 109 117 RTDECL(void) RTMemPageFree(void *pv, size_t cb) RT_NO_THROW_DEF 110 118 { 119 RT_NOREF_PV(cb); 120 111 121 if (pv) 112 122 { -
trunk/src/VBox/Runtime/r3/win/allocex-win.cpp
r62477 r62584 115 115 DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags) 116 116 { 117 RT_NOREF_PV(fFlags); 118 117 119 BOOL fRc = VirtualFree(pv, cb, MEM_RELEASE); 118 Assert(fRc); NOREF(fRc);120 Assert(fRc); RT_NOREF_PV(fRc); 119 121 } 120 122 -
trunk/src/VBox/Runtime/r3/win/dir-win.cpp
r62477 r62584 131 131 RTDECL(int) RTDirFlush(const char *pszPath) 132 132 { 133 RT_NOREF_PV(pszPath); 133 134 return VERR_NOT_SUPPORTED; 134 135 } -
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r62477 r62584 700 700 * else where, and check for known file system names. (For LAN shares we'll 701 701 * have to figure out the remote file system.) */ 702 RT_NOREF_PV(hFile); RT_NOREF_PV(pcbMax); 702 703 return VERR_NOT_IMPLEMENTED; 703 704 } … … 943 944 PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime) 944 945 { 946 RT_NOREF_PV(pChangeTime); /* Not exposed thru the windows API we're using. */ 947 945 948 if (!pAccessTime && !pModificationTime && !pBirthTime) 946 949 return VINF_SUCCESS; /* NOP */ … … 1006 1009 /** @todo implement this using NtQueryVolumeInformationFile(hFile,,,, 1007 1010 * FileFsSizeInformation). */ 1011 RT_NOREF_PV(hFile); RT_NOREF_PV(pcbTotal); RT_NOREF_PV(pcbFree); RT_NOREF_PV(pcbBlock); RT_NOREF_PV(pcbSector); 1008 1012 return VERR_NOT_SUPPORTED; 1009 1013 } -
trunk/src/VBox/Runtime/r3/win/init-win.cpp
r62477 r62584 344 344 { 345 345 /* Nothing to do here. */ 346 RT_NOREF_PV(fFlags); 346 347 return VINF_SUCCESS; 347 348 } -
trunk/src/VBox/Runtime/r3/win/localipc-win.cpp
r62477 r62584 1622 1622 RTDECL(int) RTLocalIpcSessionQueryProcess(RTLOCALIPCSESSION hSession, PRTPROCESS pProcess) 1623 1623 { 1624 RT_NOREF_PV(hSession); RT_NOREF_PV(pProcess); 1624 1625 return VERR_NOT_SUPPORTED; 1625 1626 } … … 1628 1629 RTDECL(int) RTLocalIpcSessionQueryUserId(RTLOCALIPCSESSION hSession, PRTUID pUid) 1629 1630 { 1631 RT_NOREF_PV(hSession); RT_NOREF_PV(pUid); 1630 1632 return VERR_NOT_SUPPORTED; 1631 1633 } 1632 1634 1633 1635 1634 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTUID pUid) 1635 { 1636 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTGID pGid) 1637 { 1638 RT_NOREF_PV(hSession); RT_NOREF_PV(pGid); 1636 1639 return VERR_NOT_SUPPORTED; 1637 1640 } -
trunk/src/VBox/Runtime/r3/win/path-win.cpp
r62477 r62584 608 608 RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink) 609 609 { 610 RT_NOREF_PV(pszPath); RT_NOREF_PV(fUnlink); 610 611 return VERR_NOT_IMPLEMENTED; 611 612 } -
trunk/src/VBox/Runtime/r3/win/pipe-win.cpp
r62477 r62584 1306 1306 AssertPtrReturn(pThis, UINT32_MAX); 1307 1307 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, UINT32_MAX); 1308 RT_NOREF_PV(fFinalEntry); 1308 1309 1309 1310 int rc = RTCritSectEnter(&pThis->CritSect); … … 1386 1387 AssertPtrReturn(pThis, 0); 1387 1388 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, 0); 1389 RT_NOREF_PV(fFinalEntry); 1390 RT_NOREF_PV(fHarvestEvents); 1388 1391 1389 1392 int rc = RTCritSectEnter(&pThis->CritSect); -
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r62452 r62584 309 309 int rc; 310 310 RTLDRMOD hMod; 311 RT_NOREF_PV(pvUser); 311 312 312 313 /* -
trunk/src/VBox/Runtime/r3/win/symlink-win.cpp
r62477 r62584 126 126 AssertPtrReturn(pszSymlink, VERR_INVALID_POINTER); 127 127 AssertPtrReturn(pszTarget, VERR_INVALID_POINTER); 128 RT_NOREF_PV(fCreate); 128 129 129 130 /* … … 230 231 RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete) 231 232 { 233 RT_NOREF_PV(fDelete); 234 232 235 /* 233 236 * Convert the path. … … 273 276 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead) 274 277 { 278 RT_NOREF_PV(fRead); 279 275 280 char *pszMyTarget; 276 281 int rc = RTSymlinkReadA(pszSymlink, &pszMyTarget);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器