Searched refs:collected (Results 1 – 2 of 2) sorted by relevance
40 size_t collected = 0; in getentropy_urandom() local41 while (collected < buffer_size) { in getentropy_urandom()42 ssize_t count = TEMP_FAILURE_RETRY(read(fd.get(), static_cast<char*>(buffer) + collected, in getentropy_urandom()43 buffer_size - collected)); in getentropy_urandom()45 collected += count; in getentropy_urandom()60 size_t collected = 0; in getentropy() local61 while (collected < buffer_size) { in getentropy()62 long count = TEMP_FAILURE_RETRY(getrandom(static_cast<char*>(buffer) + collected, in getentropy()63 buffer_size - collected, GRND_NONBLOCK)); in getentropy()73 collected += count; in getentropy()
241 Data collected by: