In python3, division of two integers produces a float, which cannot be used to multiply a bytes sequence. Using // to produce an integer quotient. Bug: 245257511 Test: ./system/core/libsparse/simg_dump.py -sv path/to/image Change-Id: Ibe95056409ac3676a68f5e7693331ca4a66e9fb7 |
||
|---|---|---|
| .. | ||
| include/sparse | ||
| .clang-format | ||
| Android.bp | ||
| append2simg.cpp | ||
| backed_block.cpp | ||
| backed_block.h | ||
| defs.h | ||
| img2simg.cpp | ||
| output_file.cpp | ||
| output_file.h | ||
| OWNERS | ||
| simg2img.cpp | ||
| simg2simg.cpp | ||
| simg_dump.py | ||
| sparse.cpp | ||
| sparse_crc32.cpp | ||
| sparse_crc32.h | ||
| sparse_defs.h | ||
| sparse_err.cpp | ||
| sparse_file.h | ||
| sparse_format.h | ||
| sparse_fuzzer.cpp | ||
| sparse_read.cpp | ||