Home
last modified time | relevance | path

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

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