/haiku/src/bin/unzip/ |
H A D | apihelp.c | 96 static int function_help(__G__ doc, fname) 117 void APIhelp(__G__ argc, argv) 125 if (function_help(__G__ APIDoc, argv[1])) 128 if (function_help(__G__ SYSTEM_API_DETAILS, argv[1]))
|
H A D | explode.c | 219 static int get_tree(__G__ l, n) 250 static int explode_lit(__G__ tb, tl, td, bb, bl, bd, bdl) 290 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 347 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 356 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 368 static int explode_nolit(__G__ tl, td, bl, bd, bdl) 407 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 465 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 474 if ((retval = flush(__G__ redirSlide, (ulg)w, 0)) != 0) 540 if ((r = get_tree(__G__ [all...] |
H A D | crypt.h | 78 # define __G__ macro 139 #define zdecode(c) update_keys(__G__ c ^= decrypt_byte(__G)) 166 (encrypted? update_keys(__G__ getc(G.in)^decrypt_byte(__G)) : getc(G.in))
|
H A D | crypt.c | 133 int update_keys(__G__ c) 152 void init_keys(__G__ passwd) 160 update_keys(__G__ (int)*passwd); 383 int decrypt(__G__ passwrd) 423 if (!testp(__G__ h)) 444 if (!testp(__G__ h)) 459 local int testp(__G__ h) 475 r = testkey(__G__ h, STR_TO_CP1(key_translated, GLOBAL(key))); 478 r = testkey(__G__ h, GLOBAL(key)); 489 r = testkey(__G__ [all...] |
H A D | cryptf.c | 136 int update_keys(__G__ c) 155 void init_keys(__G__ passwd) 163 update_keys(__G__ (int)*passwd); 386 int decrypt(__G__ passwrd) 426 if (!testp(__G__ h)) 447 if (!testp(__G__ h)) 462 local int testp(__G__ h) 478 r = testkey(__G__ h, STR_TO_CP1(key_translated, GLOBAL(key))); 481 r = testkey(__G__ h, GLOBAL(key)); 492 r = testkey(__G__ [all...] |
H A D | ttyio.h | 27 # define __G__ macro 189 # define echoff(f) Echoff(__G__ f) 203 # define FGETCH(f) zgetch(__G__ f)
|
H A D | process.c | 269 if ((error = do_seekable(__G__ 0)) == PK_NOZIP) { 278 error = do_seekable(__G__ 0); 312 while ((G.zipfn = do_wild(__G__ G.wildzipfn)) != (char *)NULL) { 325 if ((error = do_seekable(__G__ 0)) == PK_WARN) 374 if ((error = do_seekable(__G__ 0)) == PK_NOZIP || error == IZ_DIR) { 378 error = do_seekable(__G__ 1); 381 error = do_seekable(__G__ 1); 478 checkdir(__G__ (char *)NULL, END); 528 static int do_seekable(__G__ lastchance) /* return PK-type error code */ 622 if ((error = checkdir(__G__ u [all...] |
H A D | extract.c | 355 if (readbuf(__G__ G.sig, 4) == 0) { 390 if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) != 402 if ((error = do_string(__G__ G.crec.extra_field_length, 417 if ((error = do_string(__G__ G.crec.file_comment_length, 420 if ((error = do_string(__G__ G.crec.file_comment_length, SKIP)) 485 error = extract_or_test_entrylist(__G__ j, 565 if ((error = set_direc_attribs(__G__ d)) != PK_OK) { 819 static int extract_or_test_entrylist(__G__ numchunk, 863 /* seek_zipf(__G__ pInfo->offset); */ 930 if (readbuf(__G__ [all...] |
H A D | inflate.c | 104 call with __G__ instead of a macro 336 int UZinflate(__G__ is_defl64) 672 int inflate_codes(__G__ tl, td, bl, bd) 899 if ((i = huft_build(__G__ l, 288, 257, G.cplens, G.cplext, 902 if ((i = huft_build(__G__ l, 288, 257, cplens, cplext, 915 if ((i = huft_build(__G__ l, MAXDISTS, 0, cpdist, G.cpdext, 918 if ((i = huft_build(__G__ l, MAXDISTS, 0, cpdist, cpdext, 929 return inflate_codes(__G__ G.fixed_tl, G.fixed_td, 990 retval = huft_build(__G__ ll, 19, 19, NULL, NULL, &tl, &bl); 1060 retval = huft_build(__G__ l [all...] |
H A D | inflatef.c | 94 int UZinflate(__G__ is_defl64) 430 int inflate_codes(__G__ tl, td, bl, bd) 657 if ((i = huft_build(__G__ l, 288, 257, G.cplens, G.cplext, 660 if ((i = huft_build(__G__ l, 288, 257, cplens, cplext, 673 if ((i = huft_build(__G__ l, MAXDISTS, 0, cpdist, G.cpdext, 676 if ((i = huft_build(__G__ l, MAXDISTS, 0, cpdist, cpdext, 687 return inflate_codes(__G__ G.fixed_tl, G.fixed_td, 748 retval = huft_build(__G__ ll, 19, 19, NULL, NULL, &tl, &bl); 818 retval = huft_build(__G__ ll, nl, 257, G.cplens, G.cplext, &tl, &bl); 820 retval = huft_build(__G__ l [all...] |
H A D | fileio.c | 241 QFilename(__G__ G.filename); 515 unsigned readbuf(__G__ buf, size) /* return number of bytes read into buf */ 653 int seek_zipf(__G__ abs_offset) 720 int flush(__G__ rawbuf, size, unshrink) 734 ret = partflush(__G__ rawbuf, 0x8000L, unshrink); 740 return partflush(__G__ rawbuf, size, unshrink); 748 static int partflush(__G__ rawbuf, size, unshrink) 772 (*G.statreportcb)(__G__ UZ_ST_IN_PROGRESS, G.zipfn, G.filename, NULL)) 801 writeToMemory(__G__ rawbuf, (extent)size); 827 is_vms_varlen_txt(__G__ [all...] |
H A D | ttyio.c | 301 void Echoff(__G__ f) 434 int zgetch(__G__ f) 479 int zgetch(__G__ f) 545 char *getp(__G__ m, p, n) 597 char *getp(__G__ m, p, n) 650 char *getp(__G__ m, p, n)
|
H A D | globals.h | 70 __GPRO, __GPRO__, __G, __G__ and __GDEF. A function that needs no other 81 int memextract(__G__ tgt, tgtsize, src, srcsize) 95 Note that there is NO comma after __G__ or __GPRO__ and no semi-colon after 104 pretty easy to forget a __G__ or a __GDEF and this mistake will only show 394 # define __G__ pG, macro 414 # define __G__ macro
|
H A D | list.c | 156 if (readbuf(__G__ G.sig, 4) == 0) 189 if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) != 200 if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD)) 363 if ((error = do_string(__G__ G.crec.file_comment_length, 496 int get_time_stamp(__G__ last_modtime, nmember) /* return PK-type error code */ 522 if (readbuf(__G__ G.sig, 4) == 0) 543 if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) != PK_OK) 553 if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD))
|
H A D | beos.c | 81 char *do_wild(__G__ wildspec) 321 int mapname(__G__ renamed) 363 if (checkdir(__G__ (char *)NULL, INIT) == MPN_NOMEM) 388 if (((error = checkdir(__G__ pathcomp, APPEND_DIR)) & MPN_MASK) 450 checkdir(__G__ G.filename, GETPATH); 525 checkdir(__G__ pathcomp, APPEND_NAME); /* returns 1 if truncated: care? */ 526 checkdir(__G__ G.filename, GETPATH); 539 int checkdir(__G__ pathcomp, flag) 953 int set_direc_attribs(__G__ d) 1229 retval = memextract(__G__ attrbuf [all...] |
H A D | zipinfo.c | 432 int zi_opts(__G__ pargc, pargv) 668 if (do_string(__G__ G.ecrec.zipfile_comment_length, DISPLAY)) 678 if (do_string(__G__ G.ecrec.zipfile_comment_length, DISPLAY)) { 744 if (readbuf(__G__ G.sig, 4) == 0) 766 if ((error = do_string(__G__ G.crec.filename_length, DS_FN)) != 825 if ((error = zi_long(__G__ &endprev)) != PK_COOL) { 847 (*G.statreportcb)(__G__ UZ_ST_FINISH_MEMBER, G.zipfn, 931 static int zi_long(__G__ pEndprev) /* return PK-type error code */ 982 if ((error = do_string(__G__ G.crec.extra_field_length, EXTRA_FIELD)) != 0) 1071 zi_time(__G__ [all...] |
H A D | unzip.c | 622 r = unzip(__G__ argc, argv); 634 int unzip(__G__ argc, argv) 649 if ((retcode = setsignalhandler(__G__ &oldsighandlers, (sigtype), \ 782 error = uz_opts(__G__ &argc, &argv); /* UnZipSFX call only */ 833 error = zi_opts(__G__ &argc, &argv); 842 error = uz_opts(__G__ &argc, &argv); 1024 static int setsignalhandler(__G__ p_savedhandler_chain, signal_type, 1061 int uz_opts(__G__ pargc, pargv) 1105 APIhelp(__G__ argc, argv); 1597 int usage(__G__ erro [all...] |
H A D | unshrink.c | 231 if ((error = flush(__G__ realbuf, G.outcnt, TRUE)) != 0) { 267 if ((error = flush(__G__ realbuf, G.outcnt, TRUE)) != 0) {
|
H A D | unzpriv.h | 230 # define REDIRECTC(c) varputchar(__G__ c) 231 # define REDIRECTPRINT(buf,size) varmessage(__G__ buf, size) 589 # define RETURN(ret) return_VMS(__G__ (ret)) /* verbose version */ 590 # define EXIT(ret) return_VMS(__G__ (ret)) 596 # define USAGE(ret) VMSCLI_usage(__G__ (ret)) 725 # define USAGE(ret) usage(__G__ (ret)) /* used in unzip.c, zipinfo.c */ 890 # define LoadFarString(x) fLoadFarString(__G__ (x)) 891 # define LoadFarStringSmall(x) fLoadFarStringSmall(__G__ (x)) 892 # define LoadFarStringSmall2(x) fLoadFarStringSmall2(__G__ (x)) 2173 #define SKIP_(length) if(length&&((error=do_string(__G__ lengt [all...] |
H A D | api.c | 167 r = unzip(__G__ argc, argv); 266 r = (unzipToMemory(__G__ zip, file, retstr) <= PK_WARN);
|
H A D | funzip.c | 484 if ((r = UZinflate(__G__ (method == ENHDEFLATED))) != 0) {
|