/vbox/src/VBox/Runtime/common/string/ |
H A D | strhash1.cpp | 55 uint32_t uHash = RTStrHash1ExNV(cPairs, va); local 57 return uHash; 63 uint32_t uHash = 0; local 68 uHash += sdbmIncN(psz, cch, uHash); 70 return uHash;
|
H A D | strcache.cpp | 134 uint16_t uHash; member in struct:RTSTRCACHEENTRY 163 uint32_t uHash; member in struct:RTSTRCACHEBIGENTRY 498 uint32_t iHash = rtStrCacheFindEmptyHashTabEntry(pThis, RT_MAKE_U32(pEntry->uHash, cchString)); 540 * @param uHash The full hash of the string. 545 static PRTSTRCACHEENTRY rtStrCacheAllocMergedEntry(PRTSTRCACHEINT pThis, uint32_t uHash, argument 639 pEntry->uHash = (uint16_t)uHash; 656 * @param uHash The full hash of the string. 660 static PRTSTRCACHEENTRY rtStrCacheAllocHeapEntry(PRTSTRCACHEINT pThis, uint32_t uHash, argument 678 pBigEntry->uHash 699 rtStrCacheAllocFixedEntry(PRTSTRCACHEINT pThis, uint32_t uHash, const char *pchString, uint32_t cchString, uint32_t iFreeList) argument 838 uint32_t const uHash = sdbmN(pchString, cchString, &cchString); local [all...] |
/vbox/src/VBox/Runtime/include/internal/ |
H A D | strhash.h | 96 DECLINLINE(uint32_t) sdbmIncN(const char *psz, size_t cchMax, uint32_t uHash) argument 102 uHash = c + (uHash << 6) + (uHash << 16) - uHash; 104 return uHash;
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPR3HardenedMain-win.cpp | 137 uint32_t uHash; member in struct:VERIFIERCACHEENTRY 516 uint32_t uHash = 0; local 525 uHash = wc + (uHash << 6) + (uHash << 16) - uHash; 527 return uHash; 543 uint32_t uHash = 0; local 549 uHash = wc + (uHash << 676 uint32_t uHash = supR3HardenedWinVerifyCacheHashPath(pUniStr); local 713 uint32_t uHash = supR3HardenedWinVerifyCacheHashDirAndFile(pawcDir, cwcDir, pszName); local [all...] |
/vbox/src/VBox/Runtime/common/alloc/ |
H A D | memtracker.cpp | 378 uint32_t uHash; local 380 uHash = sdbmN(pszTag, 260, &cchTag); 385 uHash = 0; 392 PRTMEMTRACKERTAG pTag = (PRTMEMTRACKERTAG)RTAvlU32Get(&pTracker->TagDbRoot, uHash); 407 pTag->Core.Key = uHash; 415 PRTMEMTRACKERTAG pHeadTag = (PRTMEMTRACKERTAG)RTAvlU32Get(&pTracker->TagDbRoot, uHash);
|
/vbox/src/VBox/VMM/VMMR0/ |
H A D | GMMR0.cpp | 4318 * @param uHash The hash as calculated by gmmR0ShModCalcHash. 4324 static PGMMSHAREDMODULE gmmR0ShModFindGlobal(PGMM pGMM, uint32_t uHash, uint32_t cbModule, VBOXOSFAMILY enmGuestOS, 4328 for (PGMMSHAREDMODULE pGblMod = (PGMMSHAREDMODULE)RTAvllU32Get(&pGMM->pGlobalSharedModuleTree, uHash); 4368 * @param uHash The hash as calculated by gmmR0ShModCalcHash. 4377 static int gmmR0ShModNewGlobal(PGMM pGMM, uint32_t uHash, uint32_t cbModule, VBOXOSFAMILY enmGuestOS, 4395 pGblMod->Core.Key = uHash; 4563 uint32_t const uHash = gmmR0ShModCalcHash(pszModuleName, pszVersion); 4564 Log(("GMMR0RegisterSharedModule %s %s base %RGv size %x hash %x\n", pszModuleName, pszVersion, GCPtrModBase, cbModule, uHash)); 4587 PGMMSHAREDMODULE pGblMod = gmmR0ShModFindGlobal(pGMM, uHash, cbModule, enmGuestOS, cRegions, 4592 rc = gmmR0ShModNewGlobal(pGMM, uHash, cbModul [all...] |
/vbox/src/VBox/Runtime/common/misc/ |
H A D | lockvalidator.cpp | 862 uint32_t uHash; local 867 uHash = 0; 869 uHash = sdbmInc(pSrcPos->pszFile, uHash); 871 uHash = sdbmInc(pSrcPos->pszFunction, uHash); 872 uHash += pSrcPos->uLine; 877 uHash = (uint32_t)pSrcPos->uId; 880 return uHash;
|