Searched refs:random_fd (Results 1 - 5 of 5) sorted by relevance
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | random.c | 52 static int random_fd = -1; variable 295 if (random_fd >= 0) { 296 eloop_unregister_read_sock(random_fd); 297 close(random_fd); 298 random_fd = -1; 412 if (random_fd >= 0) 415 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK); 416 if (random_fd < 0) { 424 eloop_register_read_sock(random_fd, random_read_fd, NULL, NULL);
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | random.c | 52 static int random_fd = -1; variable 295 if (random_fd >= 0) { 296 eloop_unregister_read_sock(random_fd); 297 close(random_fd); 298 random_fd = -1; 412 if (random_fd >= 0) 415 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK); 416 if (random_fd < 0) { 424 eloop_register_read_sock(random_fd, random_read_fd, NULL, NULL);
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | random.c | 52 static int random_fd = -1; variable 295 if (random_fd >= 0) { 296 eloop_unregister_read_sock(random_fd); 297 close(random_fd); 298 random_fd = -1; 412 if (random_fd >= 0) 415 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK); 416 if (random_fd < 0) { 424 eloop_register_read_sock(random_fd, random_read_fd, NULL, NULL);
|
/external/autotest/client/site_tests/platform_CompressedSwap/src/ |
H A D | hog.c | 37 int random_fd = open("/dev/urandom", O_RDONLY); local 61 read(random_fd, fake_data, CHUNK_SIZE / compression_factor);
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
H A D | hog.c | 92 int random_fd = open("/dev/urandom", O_RDONLY); local 147 read(random_fd, fake_data, CHUNK_SIZE / compression_factor);
|
Completed in 86 milliseconds