Home
last modified time | relevance | path

Searched refs:archive_filename (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile.cpp116 std::string_view archive_filename = ARCHIVE_FILENAME; in OpenPandaFileOrZip() local
119 archive_filename = location.substr(archive_split_index + 2); // 2 - archive split size in OpenPandaFileOrZip()
123 return OpenPandaFile(location, archive_filename, open_mode); in OpenPandaFileOrZip()
176 … EntryFileStat &entry, std::string_view archive_filename, in HandleArchive() argument
182 file = OpenPandaFileFromZipFile(handle, location, entry, archive_filename); in HandleArchive()
191 …const panda_file::File> OpenPandaFile(std::string_view location, std::string_view archive_filename, in OpenPandaFile() argument
225 bool try_default = archive_filename.empty(); in OpenPandaFile()
227 if (LocateFile(zipfile, archive_filename.data()) != ZIPARCHIVE_OK) { in OpenPandaFile()
228 … LOG(INFO, PANDAFILE) << "Can't find entry with name '" << archive_filename << "', will try " in OpenPandaFile()
252 …(ERROR, PANDAFILE) << "Invalid panda file '" << (try_default ? ARCHIVE_FILENAME : archive_filename) in OpenPandaFile()
[all …]
Dfile.h490 …ue_ptr<const File> OpenPandaFile(std::string_view location, std::string_view archive_filename = "",
/arkcompiler/runtime_core/libziparchive/tests/
Dlibziparchive_tests.cpp45 …ipfile(const char *data, const char *archivename, int N, char *buf, char *archive_filename, int &i, in GenerateZipfile() argument
60 (void)sprintf_s(archive_filename, MAX_DIR_SIZE, "%d.txt", i); in GenerateZipfile()
63 …CreateOrAddFileIntoZip(archivename, archive_filename, buf, strlen(buf) + 1, APPEND_STATUS_ADDINZIP… in GenerateZipfile()
526 char archive_filename[MAX_DIR_SIZE]; variable
530 GenerateZipfile(data, archivename, N, buf, archive_filename, i, ret, pf_data);
603 char archive_filename[MAX_DIR_SIZE]; variable
608 GenerateZipfile(data, archivename, N, buf, archive_filename, i, ret, pf_data);
658 char archive_filename[MAX_DIR_SIZE]; variable
663 GenerateZipfile(data, archivename, N, buf, archive_filename, i, ret, pf_data, Z_NO_COMPRESSION);