Home
last modified time | relevance | path

Searched refs:handle_ (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DZipFile.cpp43 ::CloseArchive(handle_); in ~ZipFile()
48 int32_t status = ::FindEntry(handle_, ::ZipString(entryPath.c_str()), &entry); in Uncompress()
53 status = ::ExtractToMemory(handle_, &entry, chunk->buf, chunk->size); in Uncompress()
62 int32_t status = ::FindEntry(handle_, ::ZipString(entryPath.c_str()), &entry); in Crc()
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp93 ZipFileCollection::ZipFileCollection() : handle_(nullptr) {} in ZipFileCollection()
103 int32_t result = OpenArchive(path.data(), &collection->handle_); in Create()
117 result = StartIteration(collection->handle_, &cookie, nullptr, nullptr); in Create()
138 std::unique_ptr<IFile> file = util::make_unique<ZipFile>(collection->handle_, zip_data, in Create()
172 if (handle_) { in ~ZipFileCollection()
173 CloseArchive(handle_); in ~ZipFileCollection()
DZipArchive.h77 ZipArchiveHandle handle_; variable
/frameworks/base/cmds/idmap2/include/idmap2/
DZipFile.h50 explicit ZipFile(const ::ZipArchiveHandle handle) : handle_(handle) { in ZipFile()
53 const ::ZipArchiveHandle handle_; variable
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp209 handle_ = dlopen("libdvr.google.so", RTLD_NOW | RTLD_LOCAL); in DvrApi()
210 CHECK(handle_); in DvrApi()
213 reinterpret_cast<decltype(&dvrGetApi)>(dlsym(handle_, "dvrGetApi")); in DvrApi()
219 ~DvrApi() { dlclose(handle_); } in ~DvrApi()
224 void* handle_ = nullptr; member in DvrApi