OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:urandom_fd
(Results
1 - 3
of
3
) sorted by null
/external/libchrome/base/
rand_util_posix.cc
51
const int
urandom_fd
= g_urandom_fd.Pointer()->fd();
local
53
ReadFromFD(
urandom_fd
, static_cast<char*>(output), output_length);
/external/boringssl/src/crypto/rand/
urandom.c
94
/* The following constants are magic values of |
urandom_fd
|. */
102
/*
urandom_fd
is a file descriptor to /dev/urandom. It's protected by |once|. */
103
static int
urandom_fd
= -2 /* kUnset */;
variable
116
* requested. This is the only function that modifies |
urandom_fd
| and
131
urandom_fd
= kHaveGetrandom;
144
urandom_fd
= kHaveGetrandom;
172
urandom_fd
= fd;
186
if (
urandom_fd
== kHaveGetrandom) {
188
} else if (
urandom_fd
!= fd) {
214
if (
urandom_fd
== kHaveGetrandom)
[
all
...]
/system/core/init/
init.cpp
238
int
urandom_fd
= -1;
local
256
urandom_fd
= TEMP_FAILURE_RETRY(
258
if (
urandom_fd
== -1) {
274
chunk_size = TEMP_FAILURE_RETRY(write(
urandom_fd
, buf, chunk_size));
289
if (
urandom_fd
!= -1) {
290
close(
urandom_fd
);
[
all
...]
Completed in 602 milliseconds