HomeSort by: relevance | last modified time | path
    Searched defs:RND (Results 1 - 4 of 4) sorted by relevancy

  /src/games/hack/
rnd.c 1 /* $NetBSD: rnd.c,v 1.6 2009/06/07 18:30:39 dholland Exp $ */
66 __RCSID("$NetBSD: rnd.c,v 1.6 2009/06/07 18:30:39 dholland Exp $");
73 #define RND(x) ((random()>>3) % x)
78 return (RND(x) + y);
84 return (RND(x));
88 rnd(int x) function in typeref:typename:int
90 return (RND(x) + 1);
99 tmp += RND(x);
  /src/sys/arch/hppa/hppa/
kobj_machdep.c 71 RND(unsigned int x)
91 return L(x + RND(constant));
97 return R(x + RND(constant)) + (constant - RND(constant));
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_hash/sha256/cp/
hash_sha256_cp.c 83 #define RND(a, b, c, d, e, f, g, h, k) \
89 RND(S[(64 - i) % 8], S[(65 - i) % 8], S[(66 - i) % 8], S[(67 - i) % 8], \
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_hash/sha512/cp/
hash_sha512_cp.c 99 #define RND(a, b, c, d, e, f, g, h, k) \
105 RND(S[(80 - i) % 8], S[(81 - i) % 8], S[(82 - i) % 8], S[(83 - i) % 8], \

Completed in 14 milliseconds