|
Android-cuttlefish cvd tool
|
#include "adb_unique_fd.h"#include <optional>#include <string>#include <string_view>#include <utility>#include <vector>#include <stdint.h>#include <android-base/off64_t.h>

Go to the source code of this file.
Namespaces | |
| namespace | incremental |
Typedefs | |
| using | incremental::Size = int64_t |
Functions | |
| std::vector< int32_t > | incremental::PriorityBlocksForFile (const std::string &, borrowed_fd, Size) |
| Size | incremental::verity_tree_blocks_for_file (Size fileSize) |
| Size | incremental::verity_tree_size_for_file (Size fileSize) |
| std::optional< std::pair< std::vector< char >, int32_t > > | incremental::read_id_sig_headers (borrowed_fd fd, std::string *error) |
| std::optional< std::pair< off64_t, ssize_t > > | incremental::skip_id_sig_headers (borrowed_fd fd, std::string *error) |
Variables | |
| constexpr int | incremental::kBlockSize = 4096 |
| constexpr int | incremental::kSha256DigestSize = 32 |
| constexpr int | incremental::kDigestSize = kSha256DigestSize |
| constexpr int | incremental::kMaxSignatureSize = 8096 |
| constexpr std::string_view | incremental::IDSIG = ".idsig" |