OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:random_fd
(Results
1 - 4
of
4
) sorted by null
/external/autotest/client/site_tests/platform_CompressedSwap/src/
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/
hog.c
92
int
random_fd
= open("/dev/urandom", O_RDONLY);
local
147
read(
random_fd
, fake_data, CHUNK_SIZE / compression_factor);
/external/wpa_supplicant_8/src/crypto/
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);
/system/extras/verity/
build_verity_tree.cpp
224
int
random_fd
= open("/dev/urandom", O_RDONLY);
local
225
if (
random_fd
< 0) {
229
ssize_t ret = read(
random_fd
, salt, salt_size);
233
close(
random_fd
);
Completed in 893 milliseconds