Searched refs:bytes_written (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/cmds/bugreport/
H A Dbugreport.cpp80 ssize_t bytes_written; local
82 bytes_written = TEMP_FAILURE_RETRY(write(STDOUT_FILENO,
85 if (bytes_written == -1) {
90 bytes_to_send -= bytes_written;
91 } while (bytes_written != 0 && bytes_to_send > 0);
/frameworks/base/tools/aapt2/compile/
H A DPngCrunch.cpp127 const size_t bytes_written = std::min(out_len, len); local
128 memcpy(out_buffer, buffer, bytes_written);
131 buffer += bytes_written;
132 len -= bytes_written;
135 out_len -= bytes_written;

Completed in 1027 milliseconds