Lines Matching refs:uf
236 static int do_list(uf) in do_list() argument
237 unzFile uf; in do_list()
243 err = unzGetGlobalInfo64(uf,&gi);
255 … err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0);
301 err = unzGoToNextFile(uf);
314 static int do_extract_currentfile(uf,popt_extract_without_path,popt_overwrite,password) in do_extract_currentfile() argument
315 unzFile uf; in do_extract_currentfile()
329 … err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0);
371 err = unzOpenCurrentFilePassword(uf,password);
436 err = unzReadCurrentFile(uf,buf,size_buf);
461 err = unzCloseCurrentFile (uf);
468 unzCloseCurrentFile(uf); /* don't lose the error */
476 static int do_extract(uf,opt_extract_without_path,opt_overwrite,password) in do_extract() argument
477 unzFile uf; in do_extract()
486 err = unzGetGlobalInfo64(uf,&gi);
492 if (do_extract_currentfile(uf,&opt_extract_without_path,
499 err = unzGoToNextFile(uf);
511 static int do_extract_onefile(uf,filename,opt_extract_without_path,opt_overwrite,password) in do_extract_onefile() argument
512 unzFile uf; in do_extract_onefile()
518 if (unzLocateFile(uf,filename,CASESENSITIVITY)!=UNZ_OK)
524 if (do_extract_currentfile(uf,&opt_extract_without_path,
549 unzFile uf=NULL; local
614 uf = unzOpen2_64(zipfilename,&ffunc);
616 uf = unzOpen64(zipfilename);
618 if (uf==NULL)
622 uf = unzOpen2_64(filename_try,&ffunc);
624 uf = unzOpen64(filename_try);
629 if (uf==NULL)
637 ret_value = do_list(uf);
651 ret_value = do_extract(uf, opt_do_extract_withoutpath, opt_overwrite, password);
653 …ret_value = do_extract_onefile(uf, filename_to_extract, opt_do_extract_withoutpath, opt_overwrite,…
656 unzClose(uf);