Searched refs:pG (Results 1 - 7 of 7) sorted by relevance

/haiku/src/bin/unzip/
H A Dglobals.h69 pass the globals pointer (pG) to each other. This is supported by 5 macros:
392 # define G (*(Uz_Globs *)pG)
393 # define __G pG
394 # define __G__ pG,
395 # define __GPRO Uz_Globs *pG
396 # define __GPRO__ Uz_Globs *pG,
397 # define __GDEF Uz_Globs *pG;
402 # define GETGLOBALS() Uz_Globs *pG = getGlobalPointer()
403 # define DESTROYGLOBALS() do {free_G_buffers(pG); \
404 deregisterGlobalPointer(pG);} whil
[all...]
H A Dglobals.c83 free(pG);
88 threadPtrTable[scan] = pG;
111 if (scan == THREADID_ENTRIES || threadPtrTable[scan] != pG) {
160 Uz_Globs *pG = (Uz_Globs *)malloc(sizeof(Uz_Globs)); local
162 if (!pG)
166 /* for REENTRANT version, G is defined as (*pG) */
H A Dglobalsf.c79 free(pG);
84 threadPtrTable[scan] = pG;
107 if (scan == THREADID_ENTRIES || threadPtrTable[scan] != pG) {
156 Uz_Globs *pG = (Uz_Globs *)malloc(sizeof(Uz_Globs)); local
158 if (!pG)
162 /* for REENTRANT version, G is defined as (*pG) */
H A Dfileio.c87 (win_fprintf(pG, strm, (extent)len, (char far *)buf) != (int)(len))
1180 int UZ_EXP UzpMessagePrnt(pG, buf, size, flag)
1181 zvoid *pG; /* globals struct: always passed */
1232 if (((Uz_Globs *)pG)->redirect_data &&
1233 !((Uz_Globs *)pG)->redirect_text)
1237 if (MSG_STDERR(flag) && !((Uz_Globs *)pG)->UzO.tflag)
1252 if ((!size && !((Uz_Globs *)pG)->sol) ||
1264 SCREENSIZE(&((Uz_Globs *)pG)->height, &((Uz_Globs *)pG)->width);
1266 SCREENSIZE(&((Uz_Globs *)pG)
[all...]
H A Dunzip.h346 typedef int (UZ_EXP MsgFn) (zvoid *pG, uch *buf, ulg size, int flag);
347 typedef int (UZ_EXP InputFn) (zvoid *pG, uch *buf, int *size, int flag);
348 typedef void (UZ_EXP PauseFn) (zvoid *pG, ZCONST char *prompt, int flag);
349 typedef int (UZ_EXP PasswdFn) (zvoid *pG, int *rcnt, char *pwbuf,
352 typedef int (UZ_EXP StatCBFn) (zvoid *pG, int fnflag, ZCONST char *zfn,
596 int UZ_EXP UzpMessagePrnt OF((zvoid *pG, uch *buf, ulg size, int flag));
597 int UZ_EXP UzpMessageNull OF((zvoid *pG, uch *buf, ulg size, int flag));
598 int UZ_EXP UzpInput OF((zvoid *pG, uch *buf, int *size, int flag));
599 void UZ_EXP UzpMorePause OF((zvoid *pG, ZCONST char *prompt, int flag));
600 int UZ_EXP UzpPassword OF((zvoid *pG, in
[all...]
H A Dapi.c192 static int UzpDLL_Init OF((zvoid *pG, UzpCB *UsrFuncts));
194 static int UzpDLL_Init(pG, UsrFuncts)
195 zvoid *pG;
202 ((Uz_Globs *)pG)->message = UsrFuncts->msgfn;
208 ((Uz_Globs *)pG)->input = UsrFuncts->inputfn;
212 ((Uz_Globs *)pG)->mpause = UsrFuncts->pausefn;
216 ((Uz_Globs *)pG)->decr_passwd = UsrFuncts->passwdfn;
220 ((Uz_Globs *)pG)->statreportcb = UsrFuncts->statrepfn;
H A Dgbloffs.c40 Uz_Globs *pG = NULL; local

Completed in 104 milliseconds