Searched refs:__G (Results 1 - 22 of 22) sorted by relevance

/haiku/src/bin/unzip/
H A Dcrypt.h76 #ifndef __G /* UnZip only, for now (DLL stuff) */
77 # define __G macro
136 #define zencode(c,t) (t=decrypt_byte(__G), update_keys(c), t^(c))
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 Dglobals.c71 static void registerGlobalPointer(__G)
94 void deregisterGlobalPointer(__G)
203 SYSTEM_SPECIFIC_CTOR(__G);
208 registerGlobalPointer(__G);
H A Dglobalsf.c67 static void registerGlobalPointer(__G)
90 void deregisterGlobalPointer(__G)
199 SYSTEM_SPECIFIC_CTOR(__G);
204 registerGlobalPointer(__G);
H A Dttyio.h25 #ifndef __G /* UnZip only, for now (DLL stuff) */
26 # define __G macro
190 # define echon() Echon(__G)
H A Dprocess.c166 int process_zipfiles(__G) /* return PK-type error code */
341 free_G_buffers(__G);
409 free_G_buffers(__G);
460 free_G_buffers(__G);
474 void free_G_buffers(__G) /* releases all memory allocated in global vars */
477 inflate_free(__G);
595 if (check_format(__G)) /* check for variable-length format */
599 if (open_input_file(__G)) /* this should never happen, given */
650 (error_in_archive = zi_end_central(__G)) > PK_WARN))
654 (error_in_archive = uz_end_central(__G)) > PK_WAR
[all...]
H A Dapi.c317 r = process_zipfiles(__G)==0;
332 void setFileNotFound(__G)
355 r = process_zipfiles(__G);
365 int redirect_outfile(__G)
407 int close_redirect(__G)
583 retcode = process_zipfiles(__G);
H A Dextract.c271 int extract_or_test_files(__G) /* return PK-type error code */
385 if ((error = process_cdir_file_hdr(__G)) != PK_COOL) {
435 if (store_info(__G))
464 if (store_info(__G))
580 process_defer_NT(__G); /* process any deferred items for this .zip file */
596 setFileNotFound(__G);
690 static int store_info(__G) /* return 0 if skipping, 1 if OK */
803 mapattr(__G); /* GRR: worry about return value later */
971 if ((error = process_local_file_hdr(__G)) != PK_COOL) {
1316 if ((error = extract_or_test_member(__G)) !
[all...]
H A Dglobals.h70 __GPRO, __GPRO__, __G, __G__ and __GDEF. A function that needs no other
73 int extract_or_test_files(__G)
393 # define __G pG macro
413 # define __G macro
H A Dunshrink.c100 int unshrink(__G)
183 partial_clear(__G); /* clear leafs (nodes with no children) */
286 static void partial_clear(__G)
H A Dlist.c91 int list_files(__G) /* return PK-type error code */
175 if ((error = process_cdir_file_hdr(__G)) != PK_COOL)
360 fnprint(__G);
476 static int fn_is_dir(__G) /* returns TRUE if G.filename is directory */
541 if ((error = process_cdir_file_hdr(__G)) != PK_COOL)
584 if ((G.process_all_files || do_this_file) && !fn_is_dir(__G)) {
663 void fnprint(__G) /* print filename (after filtering) and newline */
H A Dfileio.c178 int open_input_file(__G) /* return 1 if open failed */
193 G.zipfd = vmmvs_open_infile(__G);
233 int open_outfile(__G) /* return 1 if fail */
238 return (redirect_outfile(__G) == FALSE);
465 void undefer_input(__G)
492 void defer_leftover_input(__G)
558 int readbyte(__G) /* refill inbuf and return a byte if available, else EOF */
587 defer_leftover_input(__G); /* decrements G.csize */
619 int fillinbuf(__G) /* like readbyte() except returns number of bytes in inbuf */
627 defer_leftover_input(__G); /* decrement
[all...]
H A Dinflate.c417 if (fillinbuf(__G) == 0) {
810 static int inflate_stored(__G)
875 static int inflate_fixed(__G)
935 static int inflate_dynamic(__G)
1145 return inflate_dynamic(__G);
1147 return inflate_stored(__G);
1149 return inflate_fixed(__G);
1249 int inflate_free(__G)
H A Dinflatef.c175 if (fillinbuf(__G) == 0) {
568 static int inflate_stored(__G)
633 static int inflate_fixed(__G)
693 static int inflate_dynamic(__G)
903 return inflate_dynamic(__G);
905 return inflate_stored(__G);
907 return inflate_fixed(__G);
1007 int inflate_free(__G)
H A Dcrypt.c119 int decrypt_byte(__G)
396 defer_leftover_input(__G); variable
402 undefer_input(__G); variable
H A Dcryptf.c122 int decrypt_byte(__G)
399 defer_leftover_input(__G); variable
405 undefer_input(__G); variable
H A Dfunzip.c193 int fillinbuf(__G)
490 inflate_free(__G);
H A Dunzip.c766 G.zipfn = GetLoadPath(__G);/* non-MSC NT puts path into G.filename[] */
992 retcode = process_zipfiles(__G);
1526 show_version_info(__G);
1711 static void show_version_info(__G)
1726 version(__G);
H A Dzipinfo.c604 int zi_end_central(__G) /* return PK-type error code */
697 int zipinfo(__G) /* return PK-type error code */
763 if ((error = process_cdir_file_hdr(__G)) != PK_COOL)
807 fnprint(__G);
815 if ((error = zi_short(__G)) != PK_COOL) {
1006 (*G.message)((zvoid *)&G, (uch *)" ", 2L, 0); fnprint(__G); variable
1743 static int zi_short(__G) /* return PK-type error code */
2058 fnprint(__G);
H A Dbeos.c193 int mapattr(__G)
799 void close_outfile(__G) /* GRR: change to return PK-style warning level */
1019 void version(__G)
H A Dexplode.c486 int explode(__G)
H A Dttyio.c316 void Echon(__G)
H A Dunzpriv.h232 # define FINISH_REDIRECT() finish_REXX_redirect(__G)
236 # define FINISH_REDIRECT() close_redirect(__G)
570 # define CLOSE_INFILE() close_infile(__G)
2199 # define NEXTBYTE (--G.incnt >= 0 ? (int)(*G.inptr++) : readbyte(__G))

Completed in 288 milliseconds