diff options
| author | Christopher Ferris <cferris@google.com> | 2017-08-22 11:24:09 -0700 |
|---|---|---|
| committer | Christopher Ferris <cferris@google.com> | 2017-08-22 13:17:28 -0700 |
| commit | 92476407115f4431c5888c02cdb5f476b26e393a (patch) | |
| tree | d1724f23f16883ab14e7fca02054973635bc6141 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | 3ce8834e53304b66e5b0d0d56bc0efea1a172e95 (diff) | |
Refactor BufferOutputStream.
- Rewrite BufferOutputStream to handle 0 sized buffers and to get rid
of an unnecessary loop.
- Add tests to verify overflow corner cases.
- Implement async_safe_format_buffer to call async_safe_format_buffer_va_list
instead of duplicate the code.
Test: Ran new unit tests, booted on angler.
Change-Id: I7fb13e209f5b7443d212f55aab4b05ff2e0e8219
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
