Home
last modified time | relevance | path

Searched refs:total_bytes_written (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/shims/
Dcrypto_util.cc393 size_t total_bytes_written = 0; in ParseAndExecuteCommand() local
394 while (total_bytes_written < raw_output.length()) { in ParseAndExecuteCommand()
397 raw_output.data() + total_bytes_written, in ParseAndExecuteCommand()
398 raw_output.length() - total_bytes_written)); in ParseAndExecuteCommand()
403 total_bytes_written += bytes_written; in ParseAndExecuteCommand()
/system/core/init/
Dinit.cpp199 size_t total_bytes_written = 0; in mix_hwrng_into_linux_rng_action() local
221 while (total_bytes_written < sizeof(buf)) { in mix_hwrng_into_linux_rng_action()
223 read(hwrandom_fd, buf, sizeof(buf) - total_bytes_written)); in mix_hwrng_into_linux_rng_action()
237 total_bytes_written += chunk_size; in mix_hwrng_into_linux_rng_action()
241 total_bytes_written); in mix_hwrng_into_linux_rng_action()