Searched refs:u32Last (Results 1 - 7 of 7) sorted by relevance

/vbox/src/VBox/Runtime/include/internal/
H A Drand.h65 * @param u32Last The last number in the range (i.e. inclusive).
67 DECLCALLBACKMEMBER(uint32_t, pfnGetU32)(PRTRANDINT pThis, uint32_t u32First, uint32_t u32Last);
163 DECLHIDDEN(DECLCALLBACK(uint32_t)) rtRandAdvSynthesizeU32FromBytes(PRTRANDINT pThis, uint32_t u32First, uint32_t u32Last);
164 DECLHIDDEN(DECLCALLBACK(uint32_t)) rtRandAdvSynthesizeU32FromU64(PRTRANDINT pThis, uint32_t u32First, uint32_t u32Last);
/vbox/include/iprt/
H A Drand.h64 * Generate a 32-bit unsigned random number in the set [u32First..u32Last].
68 * @param u32Last Last number in the set.
70 RTDECL(uint32_t) RTRandU32Ex(uint32_t u32First, uint32_t u32Last) RT_NO_THROW;
258 * Generate a 32-bit unsigned random number in the set [u32First..u32Last].
263 * @param u32Last Last number in the set.
265 RTDECL(uint32_t) RTRandAdvU32Ex(RTRAND hRand, uint32_t u32First, uint32_t u32Last) RT_NO_THROW;
/vbox/src/VBox/Runtime/common/rand/
H A Drand.cpp114 RTDECL(uint32_t) RTRandU32Ex(uint32_t u32First, uint32_t u32Last) RT_NO_THROW
117 return RTRandAdvU32Ex(g_hRand, u32First, u32Last);
H A Drandadv.cpp138 RTDECL(uint32_t) RTRandAdvU32Ex(RTRAND hRand, uint32_t u32First, uint32_t u32Last) RT_NO_THROW
146 return pThis->pfnGetU32(pThis, u32First, u32Last);
292 DECLHIDDEN(DECLCALLBACK(uint32_t)) rtRandAdvSynthesizeU32FromBytes(PRTRANDINT pThis, uint32_t u32First, uint32_t u32Last) argument
300 const uint32_t offLast = u32Last - u32First;
326 DECLHIDDEN(DECLCALLBACK(uint32_t)) rtRandAdvSynthesizeU32FromU64(PRTRANDINT pThis, uint32_t u32First, uint32_t u32Last) argument
328 return (uint32_t)pThis->pfnGetU64(pThis, u32First, u32Last);
H A Drandparkmiller.cpp66 static DECLCALLBACK(uint32_t) rtRandParkMillerGetU32(PRTRANDINT pThis, uint32_t u32First, uint32_t u32Last) argument
69 uint32_t offLast = u32Last - u32First;
/vbox/src/VBox/Runtime/testcase/
H A DtstRand.cpp109 uint32_t u32Last; member in struct:__anon16753
126 uint32_t const uLast = s_aU32Tests[iTest].u32Last;
373 uint32_t u32Last; member in struct:__anon16757
390 uint32_t const uLast = s_aU32Tests[iTest].u32Last;
/vbox/src/VBox/Storage/testcase/
H A DtstVD.cpp319 * [u32First..u32Last].
323 * @param u32Last Last number in the set.
325 RTDECL(uint32_t) RTPRandU32Ex(PRNDCTX pCtx, uint32_t u32First, uint32_t u32Last) argument
327 if (u32First == 0 && u32Last == UINT32_MAX)
331 uint32_t u32Range = u32Last - u32First + 1;

Completed in 39 milliseconds