Lines Matching refs:uf
221 int do_list(uf)
222 unzFile uf;
228 err = unzGetGlobalInfo64(uf,&gi);
240 err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0);
286 err = unzGoToNextFile(uf);
299 int do_extract_currentfile(uf,popt_extract_without_path,popt_overwrite,password)
300 unzFile uf;
315 err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0);
357 err = unzOpenCurrentFilePassword(uf,password);
423 err = unzReadCurrentFile(uf,buf,size_buf);
448 err = unzCloseCurrentFile (uf);
455 unzCloseCurrentFile(uf); /* don't lose the error */
463 int do_extract(uf,opt_extract_without_path,opt_overwrite,password)
464 unzFile uf;
474 err = unzGetGlobalInfo64(uf,&gi);
480 if (do_extract_currentfile(uf,&opt_extract_without_path,
487 err = unzGoToNextFile(uf);
499 int do_extract_onefile(uf,filename,opt_extract_without_path,opt_overwrite,password)
500 unzFile uf;
507 if (unzLocateFile(uf,filename,CASESENSITIVITY)!=UNZ_OK)
513 if (do_extract_currentfile(uf,&opt_extract_without_path,
538 unzFile uf=NULL;
603 uf = unzOpen2_64(zipfilename,&ffunc);
605 uf = unzOpen64(zipfilename);
607 if (uf==NULL)
611 uf = unzOpen2_64(filename_try,&ffunc);
613 uf = unzOpen64(filename_try);
618 if (uf==NULL)
626 ret_value = do_list(uf);
640 ret_value = do_extract(uf, opt_do_extract_withoutpath, opt_overwrite, password);
642 ret_value = do_extract_onefile(uf, filename_to_extract, opt_do_extract_withoutpath, opt_overwrite, password);
645 unzClose(uf);