Lines Matching refs:err
58 int err = unzClose(handle);
59 if (err != UNZ_OK) {
60 LOG(ERROR, ZIPARCHIVE) << "unzClose with error: " << err;
72 int err = unzCloseFile(handle);
73 if (err != UNZ_OK) {
74 LOG(ERROR, ZIPARCHIVE) << "unzCloseFile with error: " << err;
82 int err = unzGetGlobalInfo(handle, &gstat->ginfo);
83 if (err != UNZ_OK) {
84 LOG(ERROR, ZIPARCHIVE) << "GetGlobalFileInfo with error: " << err;
92 int err = unzGoToNextFile(handle);
93 if (err != UNZ_OK) {
94 LOG(ERROR, ZIPARCHIVE) << "GoToNextFile with error: " << err;
102 int err = unzLocateFile2(handle, filename, 0);
103 if (err != UNZ_OK) {
112 int err = unzGetCurrentFileInfo(handle, &entry->file_stat, nullptr, 0, nullptr, 0, nullptr, 0);
113 if (err != UNZ_OK) {
122 int err = unzOpenCurrentFile(handle);
123 if (err != UNZ_OK) {
137 int err = unzCloseCurrentFile(handle);
138 if (err != UNZ_OK) {
166 int err = zipOpenNewFileInZip(zfile, filename, nullptr, nullptr, 0, nullptr, 0, nullptr,
168 if (err != UNZ_OK) {
172 err = zipWriteInFileInZip(zfile, pbuf, buf_size);
173 if (err != UNZ_OK) {
177 err = zipCloseFileInZip(zfile);
178 if (err != UNZ_OK) {
181 err = zipClose(zfile, nullptr);
182 if (err != UNZ_OK) {