Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/edify/include/edify/
Dexpr.h31 State(const std::string& script, void* cookie);
38 void* cookie; member
/bootable/recovery/install/
Dverifier.cpp313 void* cookie; in IterateZipEntriesAndSearchForKeys() local
315 int32_t iter_status = StartIteration(handle, &cookie, nullptr, &suffix); in IterateZipEntriesAndSearchForKeys()
326 while ((iter_status = Next(cookie, &entry, &name)) == 0) { in IterateZipEntriesAndSearchForKeys()
Dinstall.cpp538 void* cookie; in verify_package_compatibility() local
539 ret = StartIteration(zip_handle, &cookie, nullptr, nullptr); in verify_package_compatibility()
545 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in verify_package_compatibility()
550 while (Next(cookie, &info_entry, &info_name) == 0) { in verify_package_compatibility()
/bootable/recovery/updater/
Dinstall.cpp69 UpdaterInfo* ui = static_cast<UpdaterInfo*>(state->cookie); in uiPrint()
132 ZipArchiveHandle za = static_cast<UpdaterInfo*>(state->cookie)->package_zip; in PackageExtractFileFn()
176 ZipArchiveHandle za = static_cast<UpdaterInfo*>(state->cookie)->package_zip; in PackageExtractFileFn()
534 UpdaterInfo* ui = static_cast<UpdaterInfo*>(state->cookie); in ShowProgressFn()
558 UpdaterInfo* ui = static_cast<UpdaterInfo*>(state->cookie); in SetProgressFn()
658 fprintf(static_cast<UpdaterInfo*>(state->cookie)->cmd_pipe, "wipe_cache\n"); in WipeCacheFn()
886 UpdaterInfo* ui = static_cast<UpdaterInfo*>(state->cookie); in EnableRebootFn()
Dblockimg.cpp357 static bool receive_new_data(const uint8_t* data, size_t size, void* cookie) { in receive_new_data() argument
358 NewThreadInfo* nti = static_cast<NewThreadInfo*>(cookie); in receive_new_data()
397 static bool receive_brotli_new_data(const uint8_t* data, size_t size, void* cookie) { in receive_brotli_new_data() argument
398 NewThreadInfo* nti = static_cast<NewThreadInfo*>(cookie); in receive_brotli_new_data()
461 static void* unzip_new_data(void* cookie) { in unzip_new_data() argument
462 NewThreadInfo* nti = static_cast<NewThreadInfo*>(cookie); in unzip_new_data()
1671 UpdaterInfo* ui = static_cast<UpdaterInfo*>(state->cookie); in PerformBlockImageUpdate()
/bootable/recovery/edify/
Dexpr.cpp424 State::State(const std::string& script, void* cookie) in State() argument
425 : script(script), cookie(cookie), error_code(kNoError), cause_code(kNoCause) {} in State()
/bootable/recovery/applypatch/
Dimgdiff.cpp677 void* cookie; in InitializeChunks() local
678 int ret = StartIteration(handle, &cookie, nullptr, nullptr); in InitializeChunks()
688 while ((ret = Next(cookie, &entry, &name)) == 0) { in InitializeChunks()
702 EndIteration(cookie); in InitializeChunks()