Android-cuttlefish cvd tool
|
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include <vector>
#include <android-base/logging.h>
#include <gflags/gflags.h>
#include "cuttlefish/common/libs/fs/shared_buf.h"
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/common/libs/utils/files.h"
#include "cuttlefish/common/libs/utils/result.h"
Namespaces | |
namespace | cuttlefish |
Macros | |
#define | PAD_VALUE (0xff) |
#define | CRC_SIZE (sizeof(uint32_t)) |
#define | NULL_PAD_LENGTH (1) |
Functions | |
DEFINE_int32 (env_size, 4096, "file size of resulting env") | |
DEFINE_string (output_path, "", "output file path") | |
DEFINE_string (input_path, "", "input file path") | |
Result< int > | cuttlefish::MkenvimageSlimMain (int argc, char **argv) |
int | main (int argc, char **argv) |
Variables | |
static constexpr char | cuttlefish::kUsageMessage [] |
#define CRC_SIZE (sizeof(uint32_t)) |
#define NULL_PAD_LENGTH (1) |
#define PAD_VALUE (0xff) |
DEFINE_int32 | ( | env_size | , |
4096 | , | ||
"file size of resulting env" | |||
) |
DEFINE_string | ( | input_path | , |
"" | , | ||
"input file path" | |||
) |
DEFINE_string | ( | output_path | , |
"" | , | ||
"output file path" | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |