|
Android-cuttlefish cvd tool
|
#include <fec.h>#include <assert.h>#include <android-base/file.h>#include <errno.h>#include <fcntl.h>#include <getopt.h>#include <openssl/sha.h>#include <pthread.h>#include <stdlib.h>#include <string.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <sparse/sparse.h>#include "image.h"
Macros | |
| #define | _LARGEFILE64_SOURCE |
Functions | |
| void | image_init (image *ctx) |
| void | image_free (image *ctx) |
| static void | calculate_rounds (uint64_t size, image *ctx) |
| static int | process_chunk (void *priv, const void *data, size_t len) |
| static void | file_image_load (const std::vector< int > &fds, image *ctx) |
| bool | image_load (const std::vector< std::string > &filenames, image *ctx) |
| bool | image_save (const std::string &filename, image *ctx) |
| bool | image_ecc_new (const std::string &filename, image *ctx) |
| bool | image_ecc_load (const std::string &filename, image *ctx) |
| bool | image_ecc_save (image *ctx) |
| static void * | process (void *cookie) |
| bool | image_process (image_proc_func func, image *ctx) |
| #define _LARGEFILE64_SOURCE |
|
static |
|
static |
| bool image_ecc_load | ( | const std::string & | filename, |
| image * | ctx | ||
| ) |
| bool image_ecc_new | ( | const std::string & | filename, |
| image * | ctx | ||
| ) |
| bool image_ecc_save | ( | image * | ctx | ) |
| void image_free | ( | image * | ctx | ) |
| void image_init | ( | image * | ctx | ) |
| bool image_load | ( | const std::vector< std::string > & | filenames, |
| image * | ctx | ||
| ) |
| bool image_process | ( | image_proc_func | func, |
| image * | ctx | ||
| ) |
| bool image_save | ( | const std::string & | filename, |
| image * | ctx | ||
| ) |
|
static |
|
static |