Searched refs:seed (Results 1 - 25 of 304) sorted by relevance

1234567891011>>

/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dsrand48.c17 srand48(long seed) argument
19 _rand48_seed = TOUINT48(RAND48_SEED_0, (unsigned short) seed, (unsigned short) (seed >> 16));
/macosx-10.10/BerkeleyDB-21/db/clib/
H A Drand.c22 void srand(unsigned int seed) argument
24 DB_GLOBAL(rand_next) = seed;
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/virtchannel_base/
H A Drandom.tcl35 proc ::tcl::chan::random {seed} {
36 return [::chan create {read} [random::implementation new $seed]]
43 my variable seed next
44 set seed $theseed
45 set next [expr "([join $seed +]) & 0xff"]
66 variable seed
70 my variable seed next
72 set next [expr {(2*$next - [lindex $seed 0]) & 0xff}]
73 set seed [linsert [lrange $seed
[all...]
/macosx-10.10/dcerpc-61/dcerpc/ncklib/
H A Drpcrand.c103 unsigned seed
106 srandom ((unsigned) seed);
H A Drpcrand.h95 ** void RPC_RANDOM_INIT(seed)
107 * Used for random number 'seed' routines or any other one time
111 #define RPC_RANDOM_INIT(seed) \
112 rpc__random_init(seed)
127 PRIVATE void rpc__random_init ( unsigned /*seed*/ );
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/
H A DWeakRandom.h61 WeakRandom(unsigned seed) argument
63 initializeSeed(seed);
66 // Returns the seed provided that you've never called get() or getUint32().
88 void initializeSeed(unsigned seed) argument
90 m_low = seed ^ 0x49616E42;
91 m_high = seed;
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Drnd_keys.c83 DES_set_random_generator_seed(DES_cblock *seed) argument
85 RAND_seed(seed, sizeof(*seed));
114 * @param seed a seed to seed that random number generate with.
120 DES_init_random_number_generator(DES_cblock *seed) argument
122 RAND_seed(seed, sizeof(*seed));
/macosx-10.10/Heimdal-398.1.2/lib/otp/
H A Dotp_md.h36 int otp_md4_init (OtpKey key, const char *pwd, const char *seed);
40 int otp_md5_init (OtpKey key, const char *pwd, const char *seed);
44 int otp_sha_init (OtpKey key, const char *pwd, const char *seed);
/macosx-10.10/postfix-255/postfix/src/util/
H A Dmyrand.c9 /* void mysrand(seed)
10 /* int seed;
50 void mysrand(int seed) argument
52 srand(seed);
/macosx-10.10/OpenSSL098-52/src/crypto/des/
H A Dqud_cksm.c77 long length, int out_count, DES_cblock *seed)
96 z0=Q_B0((*seed)[0])|Q_B1((*seed)[1])|Q_B2((*seed)[2])|Q_B3((*seed)[3]);
97 z1=Q_B0((*seed)[4])|Q_B1((*seed)[5])|Q_B2((*seed)[6])|Q_B3((*seed)[7]);
76 DES_quad_cksum(const unsigned char *input, DES_cblock output[], long length, int out_count, DES_cblock *seed) argument
/macosx-10.10/bash-94.1.2/bash-3.2/lib/readline/
H A Dmbutil.c76 _rl_find_next_mbchar_internal (string, seed, count, find_non_zero)
78 int seed, count, find_non_zero;
88 if (seed < 0)
89 seed = 0;
91 return seed;
93 point = seed + _rl_adjust_point (string, seed, &ps);
94 /* if this is true, means that seed was not pointed character
96 if (seed < point)
145 _rl_find_prev_mbchar_internal (string, seed, find_non_zer
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/seed/
H A Dseed_ecb.c1 /* crypto/seed/seed_ecb.c -*- mode:C; c-file-style: "eay" -*- */
52 #include <openssl/seed.h>
H A DMakefile2 # crypto/seed/Makefile
5 DIR= seed
21 LIBSRC=seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
22 LIBOBJ=seed.o seed_ecb.o seed_cbc.o seed_cfb.o seed_ofb.o
26 EXHEADER= seed.h
78 seed.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
79 seed.o: ../../include/openssl/seed.h seed.c seed_locl.h
81 seed_cbc.o: ../../include/openssl/seed
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_cryptkit/
H A DNSRandomNumberGenerator.h28 - initWithSeed:(unsigned)seed; // designated initializer
29 - init; // we'll come up with the best seed
H A DNSRandomNumberGenerator.m43 - initWithSeed:(unsigned)seed
47 * Free & re-init to use new seed
51 _priv = feeRandAllocWithSeed(seed);
H A DfeeRandom.h32 feeRand feeRandAllocWithSeed(unsigned seed);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/lib/
H A DNSRandomNumberGenerator.h28 - initWithSeed:(unsigned)seed; // designated initializer
29 - init; // we'll come up with the best seed
H A DNSRandomNumberGenerator.m43 - initWithSeed:(unsigned)seed
47 * Free & re-init to use new seed
51 _priv = feeRandAllocWithSeed(seed);
H A DfeeRandom.h32 feeRand feeRandAllocWithSeed(unsigned seed);
/macosx-10.10/ruby-106/ruby/ext/digest/bubblebabble/
H A Dbubblebabble.c26 size_t i, j, seed = 1; local
53 p[j++] = vowels[seed % 6];
55 p[j++] = vowels[seed / 6];
60 p[j++] = vowels[(((byte1 >> 6) & 3) + seed) % 6];
62 p[j++] = vowels[((byte1 & 3) + (seed / 6)) % 6];
73 seed = (seed * 5 + byte1 * 7 + byte2) % 36;
/macosx-10.10/BerkeleyDB-21/db/crypto/mersenne/
H A Dmt19937db.c13 /* call. sgenrand(seed) sets initial values to the working area */
14 /* of 624 words. Before genrand(), sgenrand(seed) must be */
15 /* called once. (seed is any 32-bit integer.) */
93 /* Initializing the array with a seed */
95 __db_sgenrand(seed, mt, mtip)
96 unsigned long seed;
102 DB_ASSERT(NULL, seed != 0);
104 mt[i] = seed & 0xffff0000;
105 seed = 69069 * seed
145 u_int32_t seed; local
[all...]
/macosx-10.10/ppp-786.1.1/Helpers/pppd/
H A Dmagic.c81 #define MAGIC_SRANDOM(seedval) /* no need to seed arc4random */
97 * Attempts to compute a random number seed which will not repeat.
104 long seed; local
108 seed = get_host_seed() ^ t.tv_sec ^ t.tv_usec ^ getpid();
109 srand48(seed);
/macosx-10.10/OpenSSL098-52/src/crypto/evp/
H A De_seed.c62 #include <openssl/seed.h>
72 IMPLEMENT_BLOCK_CIPHER(seed, ks, SEED, EVP_SEED_KEY, NID_seed,
/macosx-10.10/apr-32/apr/apr/misc/netware/
H A Drand.c26 static int NXSeedRandomInternal( size_t width, void *seed )
29 int *s = (int *) seed;
/macosx-10.10/bind9-45.101/bind9/lib/isc/include/isc/
H A Drandom.h39 isc_random_seed(isc_uint32_t seed);
41 * Set the initial seed of the random state.

Completed in 238 milliseconds

1234567891011>>