OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:urandom_fd
(Results
1 - 4
of
4
) 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/libweave/third_party/chromium/base/
rand_util_posix.cc
56
URandomFd
urandom_fd
;
local
58
ReadFromFD(
urandom_fd
.fd(), static_cast<char*>(output), output_length);
/external/boringssl/src/crypto/rand/
urandom.c
51
/*
urandom_fd
is a file descriptor to /dev/urandom. It's protected by |once|. */
52
static int
urandom_fd
= -2;
variable
65
* requested. This is the only function that modifies |
urandom_fd
| and
96
urandom_fd
= fd;
112
if (
urandom_fd
!= fd) {
133
if (urandom_buffering != 1 || (fd >= 0 &&
urandom_fd
!= fd)) {
191
if (!read_full(
urandom_fd
, buf->rand, BUF_SIZE)) {
218
if (!read_full(
urandom_fd
, out, requested)) {
/system/core/init/
init.cpp
196
int
urandom_fd
= -1;
local
214
urandom_fd
= TEMP_FAILURE_RETRY(
216
if (
urandom_fd
== -1) {
232
chunk_size = TEMP_FAILURE_RETRY(write(
urandom_fd
, buf, chunk_size));
248
if (
urandom_fd
!= -1) {
249
close(
urandom_fd
);
Completed in 610 milliseconds