Lines Matching defs:err
135 int err = 0;
153 err = unzGetGlobalInfo(uf, &gi);
154 if (err != UNZ_OK) {
169 err = unzGetCurrentFileInfo(uf, &file_info, filename_inzip, sizeof(filename_inzip), NULL, 0, NULL, 0);
170 if (err != UNZ_OK) {
171 std::cout << "error " << err << " with zipfile in unzGetCurrentFileInfo." << std::endl;
187 err = unzOpenCurrentFile(uf);
188 if (err != UNZ_OK) {
189 std::cout << "error " << err << " with zipfile in unzOpenCurrentFile." << std::endl;
197 err = unzReadCurrentFile(uf, buf, size_buf);
198 if (err < 0) {
199 std::cout << "error " << err << " with zipfile in unzReadCurrentFile." << std::endl;
202 if (err > 0) {
204 if (fwrite(buf, (unsigned)err, 1, fout) != 1) {
206 err = UNZ_ERRNO;
216 err = unzGoToNextFile(uf);
217 if (err != UNZ_OK) {
218 std::cout << "error " << err << " with zipfile in unzGoToNextFile." << std::endl;