Home
last modified time | relevance | path

Searched refs:uf (Results 1 – 4 of 4) sorted by relevance

/base/global/resource_management/frameworks/resmgr/src/utils/
Dhap_parser.cpp41 int32_t LocateFile(unzFile &uf, const char *fileName) in LocateFile() argument
43 if (unzLocateFile2(uf, fileName, 1)) { // try to locate file inside zip, 1 = case sensitive in LocateFile()
49 int32_t GetCurrentFileInfo(unzFile &uf, unz_file_info &fileInfo) in GetCurrentFileInfo() argument
53 …int err = unzGetCurrentFileInfo(uf, &fileInfo, filenameInzip, sizeof(filenameInzip), nullptr, 0, n… in GetCurrentFileInfo()
61 int32_t ReadCurrentFile(unzFile &uf, unz_file_info &fileInfo, std::unique_ptr<uint8_t[]> &buffer, in ReadCurrentFile() argument
71 int err = unzOpenCurrentFilePassword(uf, nullptr); in ReadCurrentFile()
77 err = unzReadCurrentFile(uf, buffer.get(), bufLen); in ReadCurrentFile()
86 int32_t HapParser::ReadFileFromZip(unzFile &uf, const char *fileName, std::unique_ptr<uint8_t[]> &b… in ReadFileFromZip() argument
90 if (LocateFile(uf, fileName) != OK) { in ReadFileFromZip()
93 if (GetCurrentFileInfo(uf, fileInfo) != OK) { in ReadFileFromZip()
[all …]
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
Dhap_parser.cpp38 void UnzCloseFileAndLog(unzFile uf, const char *zipFile) in UnzCloseFileAndLog() argument
40 int err = unzCloseCurrentFile(uf); // close the zipfile in UnzCloseFileAndLog()
53 unzFile uf = unzOpen64(zipFile); // open zipfile stream in ReadFileFromZip() local
54 if (uf == nullptr) { in ReadFileFromZip()
59 if (unzLocateFile(uf, fileName, 1)) { // try to locate file inside zip in ReadFileFromZip()
61 unzClose(uf); in ReadFileFromZip()
66 …if (unzGetCurrentFileInfo(uf, &fileInfo, filenameInzip, sizeof(filenameInzip), nullptr, 0, nullptr… in ReadFileFromZip()
67 unzClose(uf); in ReadFileFromZip()
75 unzClose(uf); in ReadFileFromZip()
80 err = unzOpenCurrentFilePassword(uf, nullptr); // Open the file inside the zip (password = NULL) in ReadFileFromZip()
[all …]
/base/global/resource_management/frameworks/resmgr/include/
Dhap_parser.h45 …static int32_t ReadFileFromZip(unzFile &uf, const char *fileName, std::unique_ptr<uint8_t[]> &buff…
62 static bool IsStageMode(unzFile &uf);
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js17uf=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumer…