/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/ |
D | duk_util_tinyrandom.c | 11 #define DUK__UPDATE_RND(rnd) do { \ argument 12 (rnd) += ((rnd) * (rnd)) | 0x05; \ 13 (rnd) = ((rnd) & 0xffffffffU); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \ 16 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument 21 duk_uint32_t rnd; in duk_util_tinyrandom_get_bits() local 23 rnd = thr->heap->rnd_state; in duk_util_tinyrandom_get_bits() 26 DUK__UPDATE_RND(rnd); in duk_util_tinyrandom_get_bits() 28 res += DUK__RND_BIT(rnd); in duk_util_tinyrandom_get_bits() 31 thr->heap->rnd_state = rnd; in duk_util_tinyrandom_get_bits() 39 duk_uint32_t rnd; in duk_util_tinyrandom_get_double() local [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/ |
D | duk_util_tinyrandom.c | 11 #define DUK__UPDATE_RND(rnd) do { \ argument 12 (rnd) += ((rnd) * (rnd)) | 0x05; \ 13 (rnd) = ((rnd) & 0xffffffffU); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \ 16 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument 21 duk_uint32_t rnd; in duk_util_tinyrandom_get_bits() local 23 rnd = thr->heap->rnd_state; in duk_util_tinyrandom_get_bits() 26 DUK__UPDATE_RND(rnd); in duk_util_tinyrandom_get_bits() 28 res += DUK__RND_BIT(rnd); in duk_util_tinyrandom_get_bits() 31 thr->heap->rnd_state = rnd; in duk_util_tinyrandom_get_bits() 39 duk_uint32_t rnd; in duk_util_tinyrandom_get_double() local [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/ |
D | ltablib.c | 262 unsigned int i, rnd = 0; in l_randomizePivot() local 266 rnd += buff[i]; in l_randomizePivot() 267 return rnd; in l_randomizePivot() 346 static IdxT choosePivot (IdxT lo, IdxT up, unsigned int rnd) { in choosePivot() argument 348 IdxT p = rnd % (r4 * 2) + (lo + r4); in choosePivot() 358 unsigned int rnd) { in auxsort() argument 371 if (up - lo < RANLIMIT || rnd == 0) /* small interval or no randomize? */ in auxsort() 374 p = choosePivot(lo, up, rnd); in auxsort() 396 auxsort(L, lo, p - 1, rnd); /* call recursively for lower interval */ in auxsort() 401 auxsort(L, p + 1, up, rnd); /* call recursively for upper interval */ in auxsort() [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/ |
D | duktape.c | 86518 #define DUK__UPDATE_RND(rnd) do { \ argument 86519 (rnd) += ((rnd) * (rnd)) | 0x05; \ 86520 (rnd) = ((rnd) & 0xffffffffU); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \ 86523 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument 86528 duk_uint32_t rnd; local 86530 rnd = thr->heap->rnd_state; 86533 DUK__UPDATE_RND(rnd); 86535 res += DUK__RND_BIT(rnd); 86538 thr->heap->rnd_state = rnd; 86546 duk_uint32_t rnd; local [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/ |
D | duktape.c | 86930 #define DUK__UPDATE_RND(rnd) do { \ argument 86931 (rnd) += ((rnd) * (rnd)) | 0x05; \ 86932 (rnd) = ((rnd) & 0xffffffffU); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \ 86935 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument 86940 duk_uint32_t rnd; local 86942 rnd = thr->heap->rnd_state; 86945 DUK__UPDATE_RND(rnd); 86947 res += DUK__RND_BIT(rnd); 86950 thr->heap->rnd_state = rnd; 86958 duk_uint32_t rnd; local [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/ |
D | duktape.c | 86643 #define DUK__UPDATE_RND(rnd) do { \ argument 86644 (rnd) += ((rnd) * (rnd)) | 0x05; \ 86645 (rnd) = ((rnd) & 0xffffffffU); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \ 86648 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument 86653 duk_uint32_t rnd; local 86655 rnd = thr->heap->rnd_state; 86658 DUK__UPDATE_RND(rnd); 86660 res += DUK__RND_BIT(rnd); 86663 thr->heap->rnd_state = rnd; 86671 duk_uint32_t rnd; local [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/ |
D | duktape.c | 86805 #define DUK__UPDATE_RND(rnd) do { \ argument 86806 (rnd) += ((rnd) * (rnd)) | 0x05; \ 86807 (rnd) = ((rnd) & 0xffffffffU); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \ 86810 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument 86815 duk_uint32_t rnd; local 86817 rnd = thr->heap->rnd_state; 86820 DUK__UPDATE_RND(rnd); 86822 res += DUK__RND_BIT(rnd); 86825 thr->heap->rnd_state = rnd; 86833 duk_uint32_t rnd; local [all …]
|
/civetweb-2.7.6/src/third_party/ |
D | sqlite3.c | 173833 int rnd; 173837 sqlite3_randomness(sizeof(int), (void*)&rnd); 173838 sqlite3_snprintf(sizeof(zRnd), zRnd, "rbu_vfs_%d", rnd);
|