Android-cuttlefish cvd tool
Classes | Namespaces | Typedefs | Functions
zip_cc.cc File Reference
#include "cuttlefish/host/libs/zip/zip_cc.h"
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <zip.h>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include "cuttlefish/common/libs/utils/result.h"
Include dependency graph for zip_cc.cc:

Classes

struct  cuttlefish::anonymous_namespace{zip_cc.cc}::ZipDeleter
 
struct  cuttlefish::anonymous_namespace{zip_cc.cc}::ReadableCallbackSource
 
struct  cuttlefish::anonymous_namespace{zip_cc.cc}::SeekableCallbackSource
 
struct  cuttlefish::ReadableZipSource::Impl
 
struct  cuttlefish::ReadableZip::Impl
 

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{zip_cc.cc}
 

Typedefs

using cuttlefish::anonymous_namespace{zip_cc.cc}::ManagedZip = std::unique_ptr< zip_t, ZipDeleter >
 
using cuttlefish::anonymous_namespace{zip_cc.cc}::ManagedZipError = std::unique_ptr< zip_error_t, ZipDeleter >
 
using cuttlefish::anonymous_namespace{zip_cc.cc}::ManagedZipSource = std::unique_ptr< zip_source_t, ZipDeleter >
 

Functions

ManagedZipError cuttlefish::anonymous_namespace{zip_cc.cc}::NewZipError ()
 
std::string cuttlefish::anonymous_namespace{zip_cc.cc}::ZipErrorString (zip_error_t *error)
 
std::string cuttlefish::anonymous_namespace{zip_cc.cc}::ZipErrorString (zip_source_t *source)
 
std::string cuttlefish::anonymous_namespace{zip_cc.cc}::ZipErrorString (zip_t *source)
 
int64_t cuttlefish::anonymous_namespace{zip_cc.cc}::HandleCallback (ReadableZipSourceCallback &callbacks, zip_error_t *error, void *data, uint64_t len, zip_source_cmd_t cmd)
 
int64_t cuttlefish::anonymous_namespace{zip_cc.cc}::HandleCallback (SeekableZipSourceCallback &callbacks, zip_error_t *error, void *data, uint64_t len, zip_source_cmd_t cmd)
 
int64_t cuttlefish::anonymous_namespace{zip_cc.cc}::ReadableZipSourceCallbackFn (void *userdata, void *data, uint64_t len, zip_source_cmd_t cmd)
 
int64_t cuttlefish::anonymous_namespace{zip_cc.cc}::SeekableZipSourceCallbackFn (void *userdata, void *data, uint64_t len, zip_source_cmd_t cmd)
 
std::optional< ZipCompression > cuttlefish::anonymous_namespace{zip_cc.cc}::CompressionFromRaw (uint16_t method)