Searched refs:u32First (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Runtime/include/internal/
H A Drand.h64 * @param u32First The first number in the range.
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].
67 * @param u32First First 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].
262 * @param u32First First 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;
309 u.off += u32First;
320 u.off += 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;
111 return off + u32First;
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPVbva.cpp362 DECLINLINE(bool) vboxVBVAExIsEntryInRange(uint32_t u32First, uint32_t u32Entry, uint32_t u32Free) argument
364 return ( u32First != u32Free
366 (u32First < u32Free && u32Entry >= u32First && u32Entry < u32Free)
367 || (u32First > u32Free && (u32Entry >= u32First || u32Entry < u32Free))
372 DECLINLINE(bool) vboxVBVAExIsEntryInRangeOrEmpty(uint32_t u32First, uint32_t u32Entry, uint32_t u32Free) argument
374 return vboxVBVAExIsEntryInRange(u32First, u32Entry, u32Free)
375 || ( u32First == u32Entry
/vbox/src/VBox/Runtime/testcase/
H A DtstRand.cpp108 uint32_t u32First; member in struct:__anon16753
125 uint32_t const uFirst = s_aU32Tests[iTest].u32First;
372 uint32_t u32First; member in struct:__anon16757
389 uint32_t const uFirst = s_aU32Tests[iTest].u32First;
/vbox/src/VBox/Storage/testcase/
H A DtstVD.cpp319 * [u32First..u32Last].
322 * @param u32First First 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;
338 return u32First + u32Tmp;

Completed in 54 milliseconds