Home
last modified time | relevance | path

Searched refs:rand_ (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/glib/glib/
Dgrand.h53 void g_rand_free (GRand *rand_);
54 GRand* g_rand_copy (GRand *rand_);
55 void g_rand_set_seed (GRand *rand_,
57 void g_rand_set_seed_array (GRand *rand_,
61 #define g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0) argument
63 guint32 g_rand_int (GRand *rand_);
64 gint32 g_rand_int_range (GRand *rand_,
67 gdouble g_rand_double (GRand *rand_);
68 gdouble g_rand_double_range (GRand *rand_,
/external/chromium/net/websockets/
Dwebsocket_handshake.cc228 uint32 (*WebSocketHandshake::Parameter::rand_)(uint32 min, uint32 max) =
273 rand_ = rand; in SetRandomNumberGenerator()
278 uint32 space = rand_(1, 12); in GenerateSecWebSocketKey()
280 *number = rand_(0, max); in GenerateSecWebSocketKey()
284 int n = rand_(1, 12); in GenerateSecWebSocketKey()
286 int pos = rand_(0, s.length()); in GenerateSecWebSocketKey()
287 int chpos = rand_(0, sizeof(randomCharacterInSecWebSocketKey) - 1); in GenerateSecWebSocketKey()
292 int pos = rand_(1, s.length() - 1); in GenerateSecWebSocketKey()
301 key_3_.append(1, rand_(0, 255)); in GenerateKey3()
Dwebsocket_handshake.h105 static uint32 (*rand_)(uint32 min, uint32 max); variable
/external/wpa_supplicant/
Deapol_test.c723 unsigned char rand_[num_triplets][16]; in scard_test() local
767 os_memset(rand_[i], i, sizeof(rand_[i])); in scard_test()
768 if (scard_gsm_auth(scard, rand_[i], sres_[i], kc_[i])) in scard_test()
778 printf("%02X", rand_[i][j]); in scard_test()
/external/wpa_supplicant_6/wpa_supplicant/
Deapol_test.c799 unsigned char rand_[num_triplets][16]; in scard_test() local
843 os_memset(rand_[i], i, sizeof(rand_[i])); in scard_test()
844 if (scard_gsm_auth(scard, rand_[i], sres_[i], kc_[i])) in scard_test()
854 printf("%02X", rand_[i][j]); in scard_test()
/external/wpa_supplicant_8/wpa_supplicant/
Deapol_test.c824 unsigned char rand_[num_triplets][16]; in scard_test() local
868 os_memset(rand_[i], i, sizeof(rand_[i])); in scard_test()
869 if (scard_gsm_auth(scard, rand_[i], sres_[i], kc_[i])) in scard_test()
879 printf("%02X", rand_[i][j]); in scard_test()